Results 1 to 2 of 2

Thread: Loading data in model vs store

  1. #1
    Sencha Premium User
    Join Date
    Mar 2017

    Default Loading data in model vs store


    What is the difference/advantage of loading data in a model vs loading data via a store?

    I can define a rest proxy in my model to load the data and do all operations. I can also do the same by defining a store and specifying the model. Why would I want to use a store? What situations demand using such a store?

  2. #2
    Sencha Premium User
    Join Date
    Apr 2007
    Sydney, Australia


    A store is for a group of records, a model is for a single record (typically).

Similar Threads

  1. Replies: 6
    Last Post: 15 Dec 2013, 7:06 PM
  2. Loading data via a Model.. model has no method load()
    By rhomb in forum Sencha Touch 2.x: Q&A
    Replies: 10
    Last Post: 12 Sep 2013, 11:40 AM
  3. Replies: 1
    Last Post: 19 Jun 2013, 12:19 PM
  4. Replies: 1
    Last Post: 13 Nov 2012, 5:25 PM
  5. Loading data store in column model renderer function
    By ferr in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 21 Jul 2008, 8:07 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts