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

Chapter 5. Modeling Data Structures for Your UI

Representing your system's data accurately is extremely important for every application. Being able to access and manipulate datasets in a logical and organized way is essential to creating a maintainable code base.

Ext JS has a comprehensive data package which makes this task very easy. It has a huge number of features, including:

  • Numerous data field types
  • Automatic value conversion
  • Validation rules
  • Associations, including one-to-many, one-to-one, and many-to-many
  • Abstracted reading and writing mechanisms, including AJAX, LocalStorage, and REST

In this chapter, we will demonstrate how to create the data structures required for our business dashboard application, how to join these data models with associations, ...

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