1. #61
    Sencha User
    Join Date
    May 2011
    Location
    Northern California
    Posts
    255
    Vote Rating
    17
    BillHubbard has a spectacular aura about BillHubbard has a spectacular aura about BillHubbard has a spectacular aura about

      0  

    Default


    Quote Originally Posted by Justin Noel View Post
    Instead of Ext automagically creating a getter with it's own name, we could configure the name. For example in the model config we could do this :

    Code:
    ....
    getter: getMyViewModel,
    
    ....
    I don't see any compelling need, or benefit, to having a customized getter at all. I don't like knowing that for every view or controller I create, I either have to create a getter for it, or have one generated for it - that means I have a new function definition hanging out in memory along with each of my objects. This is wasteful.

    There should be one single set of functions within a controller that I can use to obtain a reference to by simply passing in the same name that I used to create it.
    Code:
    ...
    views: [ 'MyView' ],
    ...
    var myView = this.getView('MyView');
    Since views, controllers and stores only ever have one instance, this should work fine. Similarly, views and controllers should provide a getApp() method that returns a reference to the application object to which they belong, and views should have a getController(name) method that returns a reference the named controller instance.

    I just don't understand the need to jump through these extra hoops to generate individual getters for each object. It is wasteful of client-side resources, creates complication and confusion, encourages a bad practice, and feels like it is unnecessarily trying to mimic something from the Java world that just doesn't belong here.

  2. #62
    Sencha User
    Join Date
    May 2011
    Location
    Jakarta, Indonesia
    Posts
    6
    Vote Rating
    0
    ridzeal is on a distinguished road

      0  

    Default


    Grid with Checkbox Model Selection is not working in this release

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