RESTful Store Example

This example shows how to implement a RESTful Store. A Store is made RESTful by simply setting the new configuration-property restful: true and plugging a suitable into your Store. This example uses

Note that the js is not minified so it is readable. See restful.js

Take note of the requests being generated in Firebug as you interact with the Grid.

The HttpProxy in this example points to a single url app.php/users. You may have to edit your web-server's configuration to allow the php back-end to be executable. app.php implements a simple RESTful backend controller and simulates a database by storing records in the $_SESSION.

var proxy = new{
    url: 'app.php/users'