The MVC pattern described in the related tutorial is just one example of how MVC can be implemented using Dojo.
The Dojo community is working on two new subprojects to formalize Dojo's official MVC approach. Keep in mind the following: in 1.7, these subprojects are currently experimental, and the API will change to 1.8 timeframes based on early feedback and use in a number of projects.
The first processed package is dojox / mvc. This package addresses data binding issues between the view and its model.
The second development package is dojox / app. This package addresses application-level controller issues, such as viewing to view navigation, viewing the life cycle, sharing model data between views.
Both packages are designed to work together, but use is either optional.
To see a good example of using dojo / mvc, see the last James Thomas blog post: http://jamesthom.as/blog/2012/02/26/dojomvc-models/
The Todo MVC application, which James introduced in the Dojo example, is a good way to understand the differences between client-side mvc approaches between modern libraries.
There are many events related to both of these projects, with application examples in 1.8 timeframes.
source share