Expert Ext JS: Managing Model Associations Across Independent API Calls

   Front End Development

A few weeks back, Rob Boerman reached out to us with questions about creating linkages between models. As our de facto Associations expert, I talked it through with him. His use case is one that, while not supported by the Sencha frameworks, is something I think would be very interesting to the community. To sum it up, he wanted the actual parent-child relationships of his data reflected with associated models where the data was not provided in a single response (i.e. there are independent API calls for the parent and child data). I cannot take much credit for his solution. All I really did was help to validate his approach. However, I did suggest he write up a blog post once he got it working and he has done so on his organization’s blog. If you have a case where this sort of behavior would be useful, I highly advise you to check out his post: Using Model Associations in Sencha Touch 2 and Ext JS 4


This website uses cookies

These cookies are used to collect information about how you interact with our website and allow us to remember you. We use this information in order to improve and customize your browsing experience, and for analytics and metrics about our visitors both on this website and other media. To find out more about the cookies we use, see our Privacy Policy.

Please consent to the use of cookies before continuing to browse our site.

Like What You See?

Got any questions?


>