ExtJS 4: Models with Associations and Stores
Introduction I'm facing an application design problem with the Ext.data.Model class in ExtJS. I will try to develop my ideas to a very common online store scenario here, so you can follow me. I would really appreciate any comments on my thoughts and conclusions! Models Let's suppose you want to map the fact that " Every customer can order multiple products " to ExtJS. From the bare words one can identify these three models involved: Customer , Order , and Product . The Order in this case is what connects Customer s and Product s. Associations I found that ExtJS actually allows you to specify