demos.txt 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. The demo directories demonstrate the use of the TFPWebDataProvider
  2. components, using ExtJS. It demonstrates the use of JSON and XML
  3. communication between an ExtJS Datastore and the webdataprovider.
  4. ExtJS must be installed, it can be downloaded for free from
  5. http://www.extjs.com/
  6. The examples assume that it is reachable through /ext/
  7. Demo1 shows how to use the component with a plain webdatamodule,
  8. using actions, and creating all components on the fly.
  9. Demo2 shows how to use the components by dropping them on a plain
  10. webdatamodule, and handling all in the OnRequest handler of the
  11. webdatamodule.
  12. Demo3 shows how to use the components in combination with a
  13. WebProviderDatamodule.
  14. Demo4 shows how webdataprovider components can be dropped
  15. on plain datamodules, and how these modules can be made
  16. available to the webdatamodule.
  17. Demo5 shows how to register your own TWebdataProvider instances, which
  18. are created on the fly to perform their action.
  19. Demo6 demonstrates the use of the TSQLDBWebDataProvider component.
  20. All demos except Demo6 use CGI and a TDBF component to feed data to
  21. the webpage, which means they are not very suitable for real life
  22. situations due to file locking etc.
  23. To try a demo, compile one of the appropriate CGI apps, and open
  24. the extgrid-json.html or extgrid-xml.html page in your browser
  25. through the webserver, something like:
  26. http://localhost/~myuser/extjs/demo2/extgrid-json.html