O'Reilly logo

Learning Ext JS - Fourth Edition by Armando Gonzalez, Crysfel Villa, Carlos A. Méndez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Architecture

In order to create a better code and organization structure, improve teamwork, and also reduce the amount of code to be written, the MVC pattern was first introduced in Ext JS 4. To go further, Ext JS 5 introduced the MVVM pattern, which is another pattern to be used for our applications.

These patterns are quite similar, but the difference is that MVVM introduces a feature called view model (VM) that manages the changes between models' data. Also, the view's representation (by data bindings) gives developers the ability to reduce the code even further, which is occasionally hard to manage for some and a tedious task for others.

In the third code example in Chapter 9, The Tree Panel, we used the MVC pattern to give you an ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required