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

Data associations

Our application's data models will always have associations between them, which must be represented in our client-side applications, so that they can be manipulated easily and consistently. Ext JS offers the ability to model one-to-one, one-to-many, and many-to-many relationships between Model types.

One-to-many

One-to-many relationships exist when a single entity owns multiple entities of a different type. For example, an author has many books or a recipe has many ingredients. In our example project, we will model the association between users and sales—a user can have many sales and each sale only has one user.

One-to-many

Configuring a proxy ...

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