Debian Codegraph @

dojox/mvc/README

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