public
Description: REST in Javascript
Home | Edit | New

Home

jester

Jester is a JavaScript implementation of REST, with syntax modeled after ActiveResource. You can use it to write code to read, create, and update the data on your server. Check out the Usage for some detailed examples, and bug the Mailing List if you have any questions.

Overview

Great Syntax

If you’ve gotten used to dirt-easy syntax like ActiveRecord’s User.find(1) for getting records, you can look forward to the same simplicity in Jester. Wherever possible, Jester takes advantage of JavaScript’s flexibility to keep things simple.

Associations

Jester supports and reflects your Rails associations, detecting them automatically if your server includes them in its output.

Plays With Others

Jester supports “JSONP”, a format for JSON that allows your API to be shared with JavaScript remotely. Sites like Twitter that support this work perfectly with Jester, with minimal configuration on your part.

Dependencies

Prototype, a server that uses RESTful URL and format conventions as popularized by Rails and ActiveResource. In Rails, a controller whose routes are defined using map.resources will work with Jester with no extra configuration.

Last edited by jamierumbelow, Thu Sep 03 03:42:46 -0700 2009
Home | Edit | New
Versions: