restful.html 1.3 KB

123456789101112131415161718192021222324252627
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Rest Proxy Example</title>
  6. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  7. <link rel="stylesheet" type="text/css" href="../shared/example.css" />
  8. <link rel="stylesheet" type="text/css" href="restful.css" />
  9. <!-- GC -->
  10. <script type="text/javascript" src="../../ext-all.js"></script>
  11. <script type="text/javascript" src="../shared/examples.js"></script>
  12. <script type="text/javascript" src="restful.js"></script>
  13. </head>
  14. <body>
  15. <h1>Rest Proxy Example</h1>
  16. <p>This example shows how to implement a Store using a REST proxy.
  17. <p>Note that the js is not minified so it is readable. See <a href="restful.js">restful.js</a></p>
  18. <p>Take note of the requests being generated in Firebug as you interact with the Grid.</p>
  19. <p>The Proxy in this example points to a single url <strong>app.php/users</strong>. You may have to edit your web-server's configuration to allow the
  20. php back-end to be executable. app.php implements a simple RESTful backend controller and simulates a database by storing records in the $_SESSION.</p>
  21. </body>
  22. </html>