O'Reilly logo

Ext JS Essentials by Stuart Ashworth, Andrew Duncan

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

MVC and MVVM

The next part of the chapter is going to focus on the architectural patterns that work best with Ext JS applications. Sencha was the pioneer of MVC in web applications when it introduced the latter in the early versions of Sencha Touch. Since then, MVC (and MVVM) has gained traction and popularity in the web development community as web apps become larger, more complicated, and harder to maintain. One of the main purposes of these application architectures is to provide structure and consistency to your code base. Nowadays, most major frameworks support them, and the same is true of Ext JS.

We will explain what MVC and MVVM are, their pros and cons, and how they work in a typical Ext JS application.

What is MVC?

Model-View-Controller ...

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