Threaded View

  1. #1
    Sencha User
    Join Date
    Nov 2010
    Vote Rating
    jay252 is on a distinguished road


    Default Unanswered: Synchronising multiple data stores with a single request

    Unanswered: Synchronising multiple data stores with a single request

    I would like to send records from 2 related stores to the server with a single request. The reason being is that I want the records to be created as part of the same transaction on the server, as well as reduce the number of requests needed as I could see that a single action on the client my affect many stores in the future. I understand that models on the client can have associations, does this in any way facilitate my requirements? I also understand that a model or store has its own proxy and it doesin't seem like there is a way to create a third proxy that is consious of more than model/store at the same time.

    For example I might have a customer model and a order model. When a new customer places an order I want only one request going to the server containing the customer and order details. Tomorrow this request may contain a customer, order, order items, item configuration, payment details, shipping details and any number of other objects.

    Anyone have any experience with something like this or any thoughts on how to facilitate using the data store/model pattern in Sencha Touch?
    Last edited by jay252; 6 Nov 2012 at 7:03 AM. Reason: formatting

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