O'Reilly logo

Sencha Architect App Development by Loiane Groner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the store

The next step is to create a store. Our data is going to come from the server (Java, Ruby, PHP, .NET, and so on), and we will use Ajax to load it. So, we need to create a store that will use an Ajax Proxy to read information that is coming from the server in a JavaScript Object Notation (JSON) format. So, we need to go back to the project inspector, click on the + icon again, and select Store and Json Store, as shown in the following screenshot:

Creating the store

Note

For more information about Ajax Proxy and Json Store, go to http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.data.proxy.Ajax.

Right after we create the store, we will see a red exclamation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required