My favorites | Sign in
Project Logo
                
Code license: MIT License
Labels: javascript, prototype, ajax, dom
Show all Featured wiki pages:
MicroFormat QuickStart
People details
Project owners:
  pelleb

Write Ajax code towards your REST web applications with a very simple Rails like API.

resource.js uses prototype.js and specially marked up html code. If you follow rails conventions for dom id's and and use Rail's restful controllers you should be all set to use resource.

A quick example:

Given a DIV with the id 'person_12'.

Call '$REC('person_12').destroy()' will send a http delete action to '/people/12' on your server.









Hosted by Google Code