30 Apr 2012 10:44 AM #1
Why is an Association applied to a Model and not a Store?
It isn't clear to me why an association would be applied to a Model and not a Store. What I want an association to do is lookup an instance in a store using the foreign key but the foreign key relates to another Model not a Store.
3 May 2012 2:33 PM #2
This sounds like a framework question. Architect mirrors the API of the Ext JS and Sencha Touch frameworks, both of which define associations as properties of Models.
If you feel this API does not meet your needs as a developer, I'd suggest posting in the Ext JS or Sencha Touch Discussion forums; you're likely to get good informed discussion about the the API decisions there.Jason Johnston
Sencha Architect Development Team
3 May 2012 2:46 PM #3
Good point that this is a framework and not an Architect issue.