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

Creating a sample application the old-fashioned way

Before we get our hands on the MVC architecture, we will create a sample application. As this application is a simple sample (and as it is small), we will declare everything in a single JavaScript file. Then, we will learn how to migrate this app to the Ext MVC pattern.

Our sample application looks like the following:

Creating a sample application the old-fashioned way

It is a data grid with some book information, and when we click on a grid row, we will see more information about the book in the details panel below the grid.

Let's try to list everything we need to build this sample app:

  • First, we need a model where we will declare all the book fields ...

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