<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/" 
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 
	xmlns:admin="http://webns.net/mvcb/" 
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/" 
	xmlns:atom="http://www.w3.org/2005/Atom">
	
	<channel>
	
		<title>Sencha Basics: An Introduction to Data Stores</title>
		<link>http://www.sencha.com/blog/sencha-basics-an-introduction-to-data-stores</link>
		<description>The process of building a complex web application has evolved a lot over the past few years, with many server&#45;side and native application development paradigms  moving into JavaScript. This article takes a brief, high&#45;level look at Sencha&amp;rsquo;s data stores, and how they can be used to reduce your development time and future&#45;proof your apps.</description>
		<dc:language>en-us</dc:language>
		<dc:creator>dave@sencha.com</dc:creator>
		<dc:rights>Copyright 2011</dc:rights>
		<dc:date>2011-06-23T14:30:36+00:00</dc:date>
		<admin:generatorAgent rdf:resource="http://expressionengine.com/" />
		<atom:link href="http://www.sencha.com/blog/comments-rss/996" rel="self" type="application/rss+xml" />
  
		
  
		<item>
      <title>Comment by Edgar</title>
      <description>Wow! Thanks for the super quick response!</description>
      <content:encoded><![CDATA[<p>Wow! Thanks for the super quick response!</p>]]></content:encoded>
      <pubDate>Tue, 28 Jun 2011 02:55 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//sencha-basics-an-introduction-to-data-stores#id:23535#date:02:55</guid>
    </item>
  
		<item>
      <title>Comment by David Kaneda</title>
      <description>@camelCase: Sorry to hear. I admit, it was difficult to decide where to abridge the pseudo&#45;code to make it as digestible as possible, but, I disagree that there is no effect to the post and it is purely meant to &#8220;reaffirm expertise.&#8221; Quite the opposite — this came after speaking at a few &#8220;web design&#8221;&#45;centric conferences, and realizing that there are many web developers out there who are alien to the idea of single page web apps. This is meant for that audience, hence the &#8220;Sencha Basics&#8221; in the title. Perhaps we&#8217;ll put the next one directly in the our new Learn section and skip the blog, though, as I suspect you&#8217;re right in that it&#8217;s preaching to the choir a bit.

@AwesomeBob and @Edgar OH NO! I just realized our CMS actually stripped those out (they were in the same format as our templates). The actual code was just as you both described. Will try to resolve ASAP (maybe I&#8217;ll just change the format, since it&#8217;s pseudo&#45;code anyway).</description>
      <content:encoded><![CDATA[<p>@camelCase: Sorry to hear. I admit, it was difficult to decide where to abridge the pseudo-code to make it as digestible as possible, but, I disagree that there is no effect to the post and it is purely meant to &#8220;reaffirm expertise.&#8221; Quite the opposite — this came after speaking at a few &#8220;web design&#8221;-centric conferences, and realizing that there are many web developers out there who are alien to the idea of single page web apps. This is meant for that audience, hence the &#8220;Sencha Basics&#8221; in the title. Perhaps we&#8217;ll put the next one directly in the our new Learn section and skip the blog, though, as I suspect you&#8217;re right in that it&#8217;s preaching to the choir a bit.</p>

<p>@AwesomeBob and @Edgar OH NO! I just realized our CMS actually stripped those out (they were in the same format as our templates). The actual code was just as you both described. Will try to resolve ASAP (maybe I&#8217;ll just change the format, since it&#8217;s pseudo-code anyway).</p>]]></content:encoded>
      <pubDate>Mon, 27 Jun 2011 22:59 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//sencha-basics-an-introduction-to-data-stores#id:23527#date:22:59</guid>
    </item>
  
		<item>
      <title>Comment by Edgar</title>
      <description>This bit confused me:
followingCountCmp.update(&#123;
&amp;nbsp;  &amp;nbsp;  &amp;nbsp;  &amp;nbsp;  &amp;nbsp;   followCount: followingStore.getCount()
&amp;nbsp;  &amp;nbsp;  &amp;nbsp; &#125;);
Will followingCountCmp now have a property &#8216;followCount&#8217;? Also, this template doesn&#8217;t have any variables:
tpl: &#8216;Following &#8216;
Shouldn&#8217;t it be something like the following?
tpl: &#8216;Following: $&#123;followCount&#125;&#8217;

Similarly, should this:
&#8216;&amp;lt;tpl for=&#8221;.&#8221;&amp;gt;&#8221;&#8221; /&amp;lt;/tpl&amp;gt;&#8217; 
be this instead?:
&#8216;&amp;lt;tpl for=&#8221;.&#8221;&amp;gt;$&#123;item.url&#125;&amp;lt;/tpl&amp;gt;&#8217;</description>
      <content:encoded><![CDATA[<p>This bit confused me:<br />
followingCountCmp.update(&#123;<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;   followCount: followingStore.getCount()<br />
&nbsp;  &nbsp;  &nbsp; &#125;);<br />
Will followingCountCmp now have a property &#8216;followCount&#8217;? Also, this template doesn&#8217;t have any variables:<br />
tpl: &#8216;Following &#8216;<br />
Shouldn&#8217;t it be something like the following?<br />
tpl: &#8216;Following: $&#123;followCount&#125;&#8217;</p>

<p>Similarly, should this:<br />
&#8216;&lt;tpl for=&#8221;.&#8221;&gt;&#8221;&#8221; /&lt;/tpl&gt;&#8217; <br />
be this instead?:<br />
&#8216;&lt;tpl for=&#8221;.&#8221;&gt;$&#123;item.url&#125;&lt;/tpl&gt;&#8217;</p>]]></content:encoded>
      <pubDate>Mon, 27 Jun 2011 15:37 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//sencha-basics-an-introduction-to-data-stores#id:23480#date:15:37</guid>
    </item>
  
		<item>
      <title>Comment by camelCase</title>
      <description>I find this blog entry a little disappointing. There are too many gaps in the pseudo code for the true beginner to bridge over, so in effect the post does little more than allow existing experts to reaffirm their expertise. I also question the structure of the blog entry, in an already excessively brief article, why waste 40% of column inches on a rehash of the general argument for single page applications and the role for a RIA framework?</description>
      <content:encoded><![CDATA[<p>I find this blog entry a little disappointing. There are too many gaps in the pseudo code for the true beginner to bridge over, so in effect the post does little more than allow existing experts to reaffirm their expertise. I also question the structure of the blog entry, in an already excessively brief article, why waste 40% of column inches on a rehash of the general argument for single page applications and the role for a RIA framework?</p>]]></content:encoded>
      <pubDate>Mon, 27 Jun 2011 08:11 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//sencha-basics-an-introduction-to-data-stores#id:23464#date:08:11</guid>
    </item>
  
		<item>
      <title>Comment by AwesomeBob</title>
      <description>They cruised over things like proxies here but what you&#8217;re looking for can be found in the examples and the API. Also just a heads up, the data view&#8217;s template isn&#8217;t using a field for the image&#8217;s src attribute, maybe something like this:
&#8216;&amp;lt;tpl for=&#8221;.&#8221;&amp;gt;&#123;thumbnail&#125;&amp;lt;/tpl&amp;gt;&#8217;</description>
      <content:encoded><![CDATA[<p>They cruised over things like proxies here but what you&#8217;re looking for can be found in the examples and the API. Also just a heads up, the data view&#8217;s template isn&#8217;t using a field for the image&#8217;s src attribute, maybe something like this:<br />
&#8216;&lt;tpl for=&#8221;.&#8221;&gt;&#123;thumbnail&#125;&lt;/tpl&gt;&#8217;</p>]]></content:encoded>
      <pubDate>Fri, 24 Jun 2011 19:37 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//sencha-basics-an-introduction-to-data-stores#id:23345#date:19:37</guid>
    </item>
  
		<item>
      <title>Comment by David Kaneda</title>
      <description>@Vladimir Thanks! I am considering turningnthis into a series to help change the mindset of traditional web devs.

@Yves There are actually some great real&#45;world data store guides at http://www.sencha.com/learn/</description>
      <content:encoded><![CDATA[<p>@Vladimir Thanks! I am considering turningnthis into a series to help change the mindset of traditional web devs.</p>

<p>@Yves There are actually some great real-world data store guides at <a href="http://www.sencha.com/learn/">http://www.sencha.com/learn/</a></p>]]></content:encoded>
      <pubDate>Thu, 23 Jun 2011 18:06 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//sencha-basics-an-introduction-to-data-stores#id:23309#date:18:06</guid>
    </item>
  
		<item>
      <title>Comment by saiprasad mishra</title>
      <description>Very nice post about data store thanks for sharing the expert tip keep blogging guys with all these cool features so that it helps us to use more ext js to full power, its a great framework but now it becomes even greater with more sharing of tips and tricks about all those best features underneath</description>
      <content:encoded><![CDATA[<p>Very nice post about data store thanks for sharing the expert tip keep blogging guys with all these cool features so that it helps us to use more ext js to full power, its a great framework but now it becomes even greater with more sharing of tips and tricks about all those best features underneath</p>]]></content:encoded>
      <pubDate>Thu, 23 Jun 2011 16:55 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//sencha-basics-an-introduction-to-data-stores#id:23308#date:16:55</guid>
    </item>
  
		<item>
      <title>Comment by Yves Deboutton</title>
      <description>I would like to see these blog&#45;tutorials with non&#45;pseudo code. Actual Ext&#45;JS code would be more useful.</description>
      <content:encoded><![CDATA[<p>I would like to see these blog-tutorials with non-pseudo code. Actual Ext-JS code would be more useful.</p>]]></content:encoded>
      <pubDate>Thu, 23 Jun 2011 15:32 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//sencha-basics-an-introduction-to-data-stores#id:23307#date:15:32</guid>
    </item>
  
		<item>
      <title>Comment by Vladimir</title>
      <description>Excellent post! Wish there were a whole series of &#8220;Sencha Basics&#8221; blogs like this one. I think that would help developers who just begin to explore ExtJS quite a bit.</description>
      <content:encoded><![CDATA[<p>Excellent post! Wish there were a whole series of &#8220;Sencha Basics&#8221; blogs like this one. I think that would help developers who just begin to explore ExtJS quite a bit.</p>]]></content:encoded>
      <pubDate>Wed, 22 Jun 2011 21:19 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//sencha-basics-an-introduction-to-data-stores#id:23272#date:21:19</guid>
    </item>
  
		<item>
      <title>Comment by David Kaneda</title>
      <description>@sagar It would appear ok to me, but I&#8217;m not the best to debug detailed data questions. I&#8217;m sure we&#8217;ll have a support guy on that thread soon.

@Ronny We have lots of options available in these classes, just check out the API docs to learn more. I know there are methods/attributes in there for paginating responses etc., though getting a &#8220;total count&#8221; might require it&#8217;s own API end point. This article was meant more of a general introduction to the concept, so it&#8217;s really just pseudo code that I&#8217;m showing.</description>
      <content:encoded><![CDATA[<p>@sagar It would appear ok to me, but I&#8217;m not the best to debug detailed data questions. I&#8217;m sure we&#8217;ll have a support guy on that thread soon.</p>

<p>@Ronny We have lots of options available in these classes, just check out the API docs to learn more. I know there are methods/attributes in there for paginating responses etc., though getting a &#8220;total count&#8221; might require it&#8217;s own API end point. This article was meant more of a general introduction to the concept, so it&#8217;s really just pseudo code that I&#8217;m showing.</p>]]></content:encoded>
      <pubDate>Mon, 20 Jun 2011 19:21 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//sencha-basics-an-introduction-to-data-stores#id:23172#date:19:21</guid>
    </item>
  
		<item>
      <title>Comment by Ronny López</title>
      <description>Event&#45;driven programming, that is excellent. 

One question, though: when data store data is loaded, does it load all the records from the server ? All the &#8216;following users&#8217; records ?

How do you get only  the last 5 following users and the count from the server without loading the entire list of &#8216;following users&#8217; ?</description>
      <content:encoded><![CDATA[<p>Event-driven programming, that is excellent. </p>

<p>One question, though: when data store data is loaded, does it load all the records from the server ? All the &#8216;following users&#8217; records ?</p>

<p>How do you get only  the last 5 following users and the count from the server without loading the entire list of &#8216;following users&#8217; ?</p>

]]></content:encoded>
      <pubDate>Thu, 16 Jun 2011 16:33 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//sencha-basics-an-introduction-to-data-stores#id:22975#date:16:33</guid>
    </item>
  
		<item>
      <title>Comment by sagar</title>
      <description>Hi David,
Really liked your post. I am also trying to play around with use of data store to read  nested complex XML from REST type of webservice. I have posted this on thread http://www.sencha.com/forum/showthread.php?136324&#45;Reading&#45;complex&#45;XML&#45;using&#45;XMLReader Do yo.u have any suggestions or thoughts on this ?

Thanks..!</description>
      <content:encoded><![CDATA[<p>Hi David,<br />
Really liked your post. I am also trying to play around with use of data store to read  nested complex XML from REST type of webservice. I have posted this on thread <a href="http://www.sencha.com/forum/showthread.php?136324-Reading-complex-XML-using-XMLReader">http://www.sencha.com/forum/showthread.php?136324-Reading-complex-XML-using-XMLReader</a> Do yo.u have any suggestions or thoughts on this ?</p>

<p>Thanks..!</p>]]></content:encoded>
      <pubDate>Thu, 16 Jun 2011 15:51 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//sencha-basics-an-introduction-to-data-stores#id:22971#date:15:51</guid>
    </item>
  
		<item>
      <title>Comment by Cameron</title>
      <description>@Krishna, If your unfamiliar with Ext/Sencha Touch, there will likely be a bit of a steep learning curve as you figure out the APIs. It is a very powerful framework and its worth spending time on some of the other blog posts and tutorials (even full code samples) to see how things are done.</description>
      <content:encoded><![CDATA[<p>@Krishna, If your unfamiliar with Ext/Sencha Touch, there will likely be a bit of a steep learning curve as you figure out the APIs. It is a very powerful framework and its worth spending time on some of the other blog posts and tutorials (even full code samples) to see how things are done.</p>]]></content:encoded>
      <pubDate>Thu, 16 Jun 2011 14:22 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//sencha-basics-an-introduction-to-data-stores#id:22959#date:14:22</guid>
    </item>
  
		<item>
      <title>Comment by Krishna HK</title>
      <description>Excellent,
What is the basic knowledge to be able to understand how to write and understand the code ?
Is it hard to learn ? I am a self learner and familiar with Classic ASP.
Thanks to let me posted my reply.</description>
      <content:encoded><![CDATA[<p>Excellent,<br />
What is the basic knowledge to be able to understand how to write and understand the code ?<br />
Is it hard to learn ? I am a self learner and familiar with Classic ASP.<br />
Thanks to let me posted my reply.</p>]]></content:encoded>
      <pubDate>Thu, 16 Jun 2011 12:52 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//sencha-basics-an-introduction-to-data-stores#id:22943#date:12:52</guid>
    </item>
  
		<item>
      <title>Comment by Martin Kelly</title>
      <description>Excellent Post David,

Where could I learn more about the topics in this post?

Thanks</description>
      <content:encoded><![CDATA[<p>Excellent Post David,</p>

<p>Where could I learn more about the topics in this post?</p>

<p>Thanks</p>]]></content:encoded>
      <pubDate>Thu, 16 Jun 2011 12:19 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//sencha-basics-an-introduction-to-data-stores#id:22939#date:12:19</guid>
    </item>
  
		
	</channel>
</rss>