title: Using a proxy in a store in Sencha Touch 2
body: <p>My goal with this project is to load Json that's outputted by a script on a web server so that I can display data in a List in Sencha Touch 2.</p>
  
  <p>I've looked at countless examples including answers from other people's questions on this website and I still can't seem to figure out what the problem is with my code. I'm sure it's something very small or perhaps some rule that I'm unaware of, but I hope someone can point me in the right direction.</p>
  
  <p>Here's my Model:</p>
  
  <pre><code>Ext.define('Sencha.model.Location', {
      extend: 'Ext.data.Model',
      config: {
          fields: ['name','location','open','details']
      }
  });
  </code></pre>
  
  <p>Here's my Store:</p>
  
  <pre><code>Ext.define('Sencha.store.Locations',{
      extend: 'Ext.data.Store',
      requires:[
          'Sencha.model.Location',
      ],
      config: {
          model: 'Sencha.model.Location',
          storeId: 'Locations',
          proxy: {
        type: 'ajax',
        url : 'http://url/to/locations.php?filetype=.json',
        reader: {
          type: 'json',
        },
        autoLoad: 'true'
      }
      }
  });
  </code></pre>
  
  <p>Here's the view where I want it to show up:</p>
  
  <pre><code>Ext.define('Sencha.view.LocationList',{
      extend: 'Ext.List',
      alias: 'widget.LocationList',
      xtype: 'locationlist',
      config: {
          title: 'What\'s Open @CU',
          disableSelection: true,
          itemTpl: '&lt;img src="http://localhost/{open}.png" style="width:16px;height:16px;margin-right:8px;" /&gt;{name}&lt;span style="font-size:9pt;margin-left:8px;color:#888;"&gt;{location}&lt;/span&gt;',
          store: 'Locations',
          onItemDisclosure: true
      }
  });
  </code></pre>
  
  <p>Here's the JSON that's outputted(maybe it's a formatting problem that causes it to fail silently?)</p>
  
  <pre><code>{
  "businesses":
      {
      "name" : "Baker's"
      "location" : "4th Floor Uni Centre"
      "open" : "open"
      "details" : "This is some information."
      }
  }
  </code></pre>