1. #1
    Sencha User
    Join Date
    Oct 2011
    Location
    Germany
    Posts
    146
    Vote Rating
    10
    Möhre will become famous soon enough

      0  

    Default how to make a private store for each user(group)

    how to make a private store for each user(group)


    If we use syncstorage with the following model each app-user (our costomers) will have the same products.

    If we want to have a private productlist for each app-user we could simply generate a new proxy-id for each user.

    Is there a better way to do this?

    How does Ext.io.user.getStore and findStores work? How to associate a store with a user?
    http://docs.sencha.com/io/1-0/#!/api/Ext.io.User

    PHP Code:
            Ext.define("products", {
                
    extend"Ext.data.Model",
                
    fields: [
                    {
    name'id'type'int'},                     
                ..
                ],
                
    proxy: {
                    
    type'syncstorage',
                    
    key:  'yoursenchaidname'
                    
    id'productsstore' 
              


  2. #2
    Sencha User
    Join Date
    Apr 2010
    Posts
    107
    Vote Rating
    -1
    merrells is an unknown quantity at this point

      0  

    Default


    Hello,

    Yes, the best way to have a per user database is to include a user identifier in the name of the store.

    John

Thread Participants: 1

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