README 3.3 KB

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