O'Reilly logo

Ext JS 4 First Look by Loiane Groner

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

Migrating/creating an app using the MVC architecture

Now that we are done implementing a sample app in the old way, we will implement the same application, using the MVC architecture.

One of the benefits of using the MVC architecture is the re-use of code; you will have to learn how to create an app using MVC only once, because all the other projects will follow the same steps.

Project directory structure

First, let's see how the project's directory structure looks, when we finish implementing it:

Project directory structure

Every project you create, using the MVC architecture, will have this same structure. So, this is how MVC projects are organized:

  • index.html: This is the HTML ...

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