Chapter 4. Developing Web Applications in the Ext JS Framework
In Chapter 3, you became familiar with the JavaScript library jQuery. Now we’ll introduce you to a more complex product: the JavaScript framework Ext JS from Sencha. This is one of the most feature-complete frameworks available on the market, and you should give it serious consideration while deciding on the tooling for your next enterprise HTML5 application.
Exploring JavaScript Frameworks
The word framework implies that there is some precreated “software frame,” and application developers need to fit their business-specific code inside such a frame. Why would you want to do this, as opposed to having full freedom in developing your application code the way you want? The reason is that most enterprise projects are developed by teams of software engineers, and having an agreed-upon structure of the application, with clear separation of software layers, can make the entire process of development more productive.
Some JavaScript frameworks are mainly forcing developers to organize application code in layers by implementing the Model-View-Controller (MVC) design pattern. More than a dozen MVC JavaScript frameworks are being used by professional developers: Backbone.js, ExtJS, AngularJS, Ember.js, and Knockout, just to name a few.
Note
Ext JS also supports MVC, and you can read about it later in this chapter in Best Practice: MVC.
Tip
An excellent website called TodoMVC shows examples of implementing one application (a Todo list) ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access