README 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. -------------------------------------------------------------------------------
  2. Project Name: dojox.mvc
  3. -------------------------------------------------------------------------------
  4. Version 0.1
  5. Release date: May 16th, 2011
  6. -------------------------------------------------------------------------------
  7. Project state: experimental (code and API subject to change in future releases)
  8. -------------------------------------------------------------------------------
  9. Credits:
  10. Rahul Akolkar (original author)
  11. Ed Chatelain
  12. Akira Sudoh
  13. Charlie Wiecha
  14. -------------------------------------------------------------------------------
  15. Project description:
  16. Enterprise Rich Internet Applications (RIAs) often focus more on rich data
  17. vs. the rich media aspects of RIAs more typical of consumer applications.
  18. For example, such RIAs depend on implementing the well-known CRUD operations
  19. on data stored in back-end systems. The dojox.mvc project focuses on
  20. separation of MVC concerns on the client, thereby on easing development
  21. of data-rich applications and accelerating the authoring of applications to
  22. Create, Read, Update, and Delete data using a set of Dojo-based patterns.
  23. This project is useful across form factors. For example, it may be used with
  24. dijit as well as dojox.mobile.
  25. We begin by introducing a first-class client-side data model based on
  26. dojo/Stateful and extending Dojo Form widgets with support for the
  27. Model-View-Control (MVC) pattern key to separating data from presentation in
  28. user interface design. This basic MVC pattern allows for the flexible reuse of
  29. each of the Model, View, and Control artifacts by application authors in
  30. varying configurations.
  31. We also add support for a set of commonly needed MVC widgets and containers
  32. such as:
  33. - Output: a data-bound output widget
  34. - Group: an aggregation of widgets with the same parent data binding context
  35. - Repeat: a model-bound repeater widget that binds to a data collection
  36. - Generate: an example of UI generation from a supplied data model
  37. For more, see descriptive class documentation at the top of the following
  38. files:
  39. dojox/mvc/at.js
  40. dojox/mvc/sync.js
  41. For an introductory page on the included samples, see:
  42. dojox/mvc/tests/mvc_index.html
  43. For mobile demos, see:
  44. dojox/mvc/tests/mobile/demo/demo.html
  45. -------------------------------------------------------------------------------
  46. Dependencies:
  47. Dojo Core (base, dojo/Stateful)
  48. Dijit (dijit/_WidgetBase, dijit/form.*)
  49. -------------------------------------------------------------------------------
  50. Documentation:
  51. Documentation resides at:
  52. http://dojotoolkit.org/reference-guide/dojox/mvc.html
  53. -------------------------------------------------------------------------------
  54. Installation instructions:
  55. Grab the following from the Dojo SVN Repository:
  56. http://svn.dojotoolkit.org/src/dojox/trunk/mvc.js
  57. http://svn.dojotoolkit.org/src/dojox/trunk/mvc/*
  58. Install into the following directory structure:
  59. /dojox/mvc.js
  60. /dojox/mvc/*
  61. ...which should be at the same level as your Dojo checkout.
  62. then add the requires for the "dojox/mvc/at" or one of the other "dojox/mvc/xxx" classes in your application to load support for
  63. data bindings. Other components (such as MVC containers i.e. Group, Repeat)
  64. should be required as per application need.
  65. -------------------------------------------------------------------------------