Javascriptian REST
Posted by rick April 02, 2007 @ 05:34 PM
Eric Mill went ahead and created Jester, a library that lets you manipulate your Rails-style resources with javascript models. I think it’s great that we’re seeing implementations in other languages. This python port of Routes implements map.resources, can a python port of ActiveResource be far behind?

Not to be confused with Jester.
so beind a rather dumb devil’s advocate – what would you actually use this for ?
dan
If you have a heavily AJAXed application, with many small controller actions to respond to different kinds of simple requests (for example, to switch a flag on an object), you could move much of that code directly into the JavaScript.
We’ll be using Jester for a desktop app built in XULRunner, where we’ll need a lot of simple and complex JavaScript interaction with model data.
This is awesome. Would it work with flex2?
wilson: I’ve already made one for flex 2: http://code.google.com/p/as3-active-resource/
Another use that occurred to me yesterday would be dashboard widgets. It would greatly simplify creating widgets that interact with Stikkit, Highrise and any other RESTfully implemented Rails app. The catch is those apps would have to host the .js files. But for your own app, there’s certainly some value there in using this to make creating Widgets dead simple.
veryy veryy nice informations…thank you very much. mr suma…
johnpg, is JS running in a dashboard widget subject to the same cross-site restrictions that JS running in a browser is? I don’t think it is.
In that case, those apps wouldn’t even have to host the .js files themselves.
.ılılı.wipps.ws.ılılı.™ www.wipps.ws
Blog theme broken on Opera.
“A fourth technical track has just been added to the RailsConf schedule. That means a limited amount of space has opened up for those folks who didn’t get a chance to register before RailsConf first sold out in February.”
If you haven’t yet registered and would like to attend RailsConf 2007, please register now at: http://conferences.oreillynet.com/cs/railswaitlist/create/reg/
thank you veryy veryy nıce very nice….
This could be very useful for cross-language web applications – for example, if you have a legacy PHP site running along side a RoR site (or v.v. ;-), you could use Jester on the PHP side to connect to the RoR stuff. So it’s nice glue code for non-RoR applications. After all, that’s what REST and Web Services are all about…
Creative