1. #1
    Sencha User
    Join Date
    Feb 2012
    Location
    Mercer Island, WA
    Posts
    66
    Vote Rating
    0
    DonRul is on a distinguished road

      0  

    Default Why is an Association applied to a Model and not a Store?

    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.

  2. #2
    Sencha - Architect Dev Team jjohnston's Avatar
    Join Date
    Sep 2010
    Posts
    516
    Vote Rating
    17
    jjohnston will become famous soon enough jjohnston will become famous soon enough

      0  

    Default


    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.

    http://docs.sencha.com/ext-js/4-0/#!...g-associations
    http://docs.sencha.com/touch/2-0/#!/...g-associations

    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
    @lojjic
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Location
    Mercer Island, WA
    Posts
    66
    Vote Rating
    0
    DonRul is on a distinguished road

      0  

    Default


    Good point that this is a framework and not an Architect issue.

    Thanks,
    Don

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi