This document discusses the Model-View-Controller (MVC) pattern and how to implement it for web applications. Some key points discussed include:
1. Using small JavaScript modules and message passing between components to implement MVC.
2. Using an observer pattern to notify views when models change and controllers when user events occur.
3. Implementing a URL router to handle application URLs and navigation.
4. Having views delegate user interface handling to separate UI components.
52. MVC It's no big deal
Thanks
• http://www.douban.com/people/Dexter_Yy/
• blog http://www.limboy.com
• http://site.douban.com/118836/
• MVC module https://github.com/dexteryy/OzJS/tree/master/
mod