Chapter 2. MVC and MVVM
The problem with software development is that we're always looking for the right way to do things. Each software shop will have their own set of guidelines that indicate how their developers should operate. This is the way that software works: we build a set of ideas that reflect our best thoughts on how things should be developed and the software community learns from these ideas and builds on them. They are formalized into patterns of working and these patterns are shared throughout the development community. In this chapter, we'll talk more about this concept, specifically:
- The MVC pattern
- The MVVM pattern
- The way Ext JS uses both
- The evolution of Ext JS from MVC to MVVM
- The benefits of design patterns in the current version of Ext JS
Discussions about design patterns are often very dry. In this chapter, we'll use some practical examples to illustrate why they're so important and how they can help you kick-start your architecture efforts...