Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Threaded View

  1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    68
    Vote Rating
    -1
    jairok is an unknown quantity at this point

      0  

    Default Answered: Store - Ext.define or Ext.create ?

    Answered: Store - Ext.define or Ext.create ?


    Hi all,

    A question about the new way of using the store object.

    Past in Sencha 1.x, we used Ext.reg() for define and create the store.
    Now in Sencha 2.x, we must use Ext.define, but this method only "define" the store, doesn't create it.

    My question is can we use Ext.create("Ext.data.store",{config}) in replacement of Ext.reg() ?
    Is it right to do this ? or a when must we "create" the store ? in controller init function ?

    Thanks

  2. In the MVC structure you want to use Ext.define. The Application will load the store and then automatically instantiate it.