<?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>Architecting your app with Sencha Touch 2 MVC, Part 4</title>
		<link>http://www.sencha.com/blog/architecting-your-app-with-sencha-touch-2-mvc</link>
		<description>In the previous series of articles Part 1, Part 2, and Part 3, we explored architecting a Pandora&#45;style application using the new features of Ext JS 4. We started by applying the Model&#45;View&#45;Controller architecture to a complex UI that has multiple views, stores and models. We looked at the basic techniques of architecting your application, like controlling your views from Controllers and firing application&#45;wide events that controllers can listen to. We also discussed how to get references to views, controllers, models and the application itself. Lastly, we implemented several controllers to get a feel for how to implement basic application logic.

	In Sencha Touch 2, we introduced the newest iteration of our MVC architecture. Based on the same concepts found in the Ext JS 4 and Sencha Touch 1 MVC package, we have simplified existing features like control and reference syntaxes, and introduced new functionality like routes and history support.

	In this article, we will take the existing code we have created and upgrade it to use Sencha Touch 2 and the updated application architecture. We will discuss some of the differences in syntax and talk about some of the new concepts to consider. At the end of this article, you should be better prepared to go into your existing Sencha Touch 1 app and upgrade it to Sencha Touch 2, provided it is architected based on the principles discussed in the previous articles.</description>
		<dc:language>en-us</dc:language>
		<dc:creator>tommy@extjs.com</dc:creator>
		<dc:rights>Copyright 2012</dc:rights>
		<dc:date>2012-05-21T16:22:31+00:00</dc:date>
		<admin:generatorAgent rdf:resource="http://expressionengine.com/" />
		<atom:link href="http://www.sencha.com/blog/comments-rss/11502" rel="self" type="application/rss+xml" />
  
		
  
		<item>
      <title>Comment by ???</title>
      <description>??~</description>
      <content:encoded><![CDATA[<p>??~</p>]]></content:encoded>
      <pubDate>Fri, 08 Jun 2012 07:47 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31644#date:07:47</guid>
    </item>
  
		<item>
      <title>Comment by iplaytheme</title>
      <description>Hello
I&#8217;m a french developper and I have a problem in your theme.
I should want to know if your theme is compatible with menu and sub&#45;menu for pages and category.
I created 3 pages menu and 3 of them have sub&#45;menu. But when I put my mouse on them, I never see the sub&#45;menu.
You can see that here : http://iplaytheme.com/
Under Association, there are 3 other pages. But it is not possible to see them.
Have you a solution for me?
Excuse me for my bad english, I hope that you understand me.
Gretaings.</description>
      <content:encoded><![CDATA[<p>Hello<br />
I&#8217;m a french developper and I have a problem in your theme.<br />
I should want to know if your theme is compatible with menu and sub-menu for pages and category.<br />
I created 3 pages menu and 3 of them have sub-menu. But when I put my mouse on them, I never see the sub-menu.<br />
You can see that here : <a href="http://iplaytheme.com/">http://iplaytheme.com/</a><br />
Under Association, there are 3 other pages. But it is not possible to see them.<br />
Have you a solution for me?<br />
Excuse me for my bad english, I hope that you understand me.<br />
Gretaings.</p>]]></content:encoded>
      <pubDate>Mon, 04 Jun 2012 09:26 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31626#date:09:26</guid>
    </item>
  
		<item>
      <title>Comment by Don</title>
      <description>A zip of the result would be super helpful for those of us trying to follow along at home</description>
      <content:encoded><![CDATA[<p>A zip of the result would be super helpful for those of us trying to follow along at home</p>]]></content:encoded>
      <pubDate>Sat, 02 Jun 2012 19:30 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31620#date:19:30</guid>
    </item>
  
		<item>
      <title>Comment by Computerz101</title>
      <description>Thanks for the code references that really helps. Is there a part 5 or this this the last of the 4 parts?</description>
      <content:encoded><![CDATA[<p>Thanks for the code references that really helps. Is there a part 5 or this this the last of the 4 parts?</p>]]></content:encoded>
      <pubDate>Thu, 24 May 2012 20:35 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31584#date:20:35</guid>
    </item>
  
		<item>
      <title>Comment by Ankit</title>
      <description>Nice article,
but where is source code ??

Is there any article to learn Sencha touch from scratch ?</description>
      <content:encoded><![CDATA[<p>Nice article,<br />
but where is source code ??</p>

<p>Is there any article to learn Sencha touch from scratch ?</p>]]></content:encoded>
      <pubDate>Tue, 22 May 2012 12:47 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31565#date:12:47</guid>
    </item>
  
		<item>
      <title>Comment by ???? ????? ?????</title>
      <description>+1 Links to other blog articles. Cannot find them on site search.</description>
      <content:encoded><![CDATA[<p>+1 Links to other blog articles. Cannot find them on site search.</p>

]]></content:encoded>
      <pubDate>Tue, 22 May 2012 12:30 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31564#date:12:30</guid>
    </item>
  
		<item>
      <title>Comment by Steven</title>
      <description>+1 For being consistent with these changes in ExtJs in the future!</description>
      <content:encoded><![CDATA[<p>+1 For being consistent with these changes in ExtJs in the future!</p>]]></content:encoded>
      <pubDate>Tue, 22 May 2012 09:19 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31562#date:09:19</guid>
    </item>
  
		<item>
      <title>Comment by Mishka Samoylov</title>
      <description>Great! But where is the source?</description>
      <content:encoded><![CDATA[<p>Great! But where is the source?</p>]]></content:encoded>
      <pubDate>Tue, 22 May 2012 06:54 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31561#date:06:54</guid>
    </item>
  
		<item>
      <title>Comment by Worth Lutz</title>
      <description>Will the noted differences in Touch 2 and Extjs 4 be made consistent in the future?</description>
      <content:encoded><![CDATA[<p>Will the noted differences in Touch 2 and Extjs 4 be made consistent in the future?</p>]]></content:encoded>
      <pubDate>Mon, 21 May 2012 20:03 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31560#date:20:03</guid>
    </item>
  
		<item>
      <title>Comment by JW</title>
      <description>&amp;gt; To get a reference to a store, you should use the Ext.getStore() method.

Is this really a good practice to encourage? It means all your data stores are essentially global variables, and could be modified in any function. This can make it hard to test and debug.</description>
      <content:encoded><![CDATA[<p>&gt; To get a reference to a store, you should use the Ext.getStore() method.</p>

<p>Is this really a good practice to encourage? It means all your data stores are essentially global variables, and could be modified in any function. This can make it hard to test and debug.</p>]]></content:encoded>
      <pubDate>Mon, 21 May 2012 18:46 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31559#date:18:46</guid>
    </item>
  
		<item>
      <title>Comment by CE</title>
      <description>What about an updated sourcecode for download?</description>
      <content:encoded><![CDATA[<p>What about an updated sourcecode for download?</p>]]></content:encoded>
      <pubDate>Thu, 26 Apr 2012 08:46 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31375#date:08:46</guid>
    </item>
  
		<item>
      <title>Comment by Doug Millasich</title>
      <description>ummm. I was right the first time. The first three installments to the series was for Ext JS 4. Just like it says, in the first sentence of the first paragraph.</description>
      <content:encoded><![CDATA[<p>ummm. I was right the first time. The first three installments to the series was for Ext JS 4. Just like it says, in the first sentence of the first paragraph.</p>]]></content:encoded>
      <pubDate>Wed, 25 Apr 2012 19:45 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31357#date:19:45</guid>
    </item>
  
		<item>
      <title>Comment by JD</title>
      <description>Where are the links to the first 3 parts of this series?</description>
      <content:encoded><![CDATA[<p>Where are the links to the first 3 parts of this series?</p>]]></content:encoded>
      <pubDate>Wed, 25 Apr 2012 16:26 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31351#date:16:26</guid>
    </item>
  
		<item>
      <title>Comment by Doug Millasich</title>
      <description>Whoops.

Just saw that the links for the article are specific to EXT JS. One espresso short of a semi&#45;functional brain. Sorry &#45;

I too would like to have access to the fabled parts one, two and three of this article.</description>
      <content:encoded><![CDATA[<p>Whoops.</p>

<p>Just saw that the links for the article are specific to EXT JS. One espresso short of a semi-functional brain. Sorry -</p>

<p>I too would like to have access to the fabled parts one, two and three of this article.</p>

]]></content:encoded>
      <pubDate>Wed, 25 Apr 2012 16:25 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31350#date:16:25</guid>
    </item>
  
		<item>
      <title>Comment by John Storey</title>
      <description>+1 Links to other blog articles. Cannot find them on site search.</description>
      <content:encoded><![CDATA[<p>+1 Links to other blog articles. Cannot find them on site search.</p>]]></content:encoded>
      <pubDate>Wed, 25 Apr 2012 16:23 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31349#date:16:23</guid>
    </item>
  
		<item>
      <title>Comment by Doug Millasich</title>
      <description>Previous Article Links:

http://www.sencha.com/learn/architecting&#45;your&#45;app&#45;in&#45;ext&#45;js&#45;4&#45;part&#45;1

http://www.sencha.com/learn/architecting&#45;your&#45;app&#45;in&#45;ext&#45;js&#45;4&#45;part&#45;2

http://www.sencha.com/learn/architecting&#45;your&#45;app&#45;in&#45;ext&#45;js&#45;4&#45;part&#45;3</description>
      <content:encoded><![CDATA[<p>Previous Article Links:</p>

<p><a href="http://www.sencha.com/learn/architecting-your-app-in-ext-js-4-part-1">http://www.sencha.com/learn/architecting-your-app-in-ext-js-4-part-1</a></p>

<p><a href="http://www.sencha.com/learn/architecting-your-app-in-ext-js-4-part-2">http://www.sencha.com/learn/architecting-your-app-in-ext-js-4-part-2</a></p>

<p><a href="http://www.sencha.com/learn/architecting-your-app-in-ext-js-4-part-3">http://www.sencha.com/learn/architecting-your-app-in-ext-js-4-part-3</a></p>

]]></content:encoded>
      <pubDate>Wed, 25 Apr 2012 16:15 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31347#date:16:15</guid>
    </item>
  
		<item>
      <title>Comment by JD Elliott</title>
      <description>Another vote for links to past articles. Searching the blog doesn&#8217;t bring up these articles. Thanks!</description>
      <content:encoded><![CDATA[<p>Another vote for links to past articles. Searching the blog doesn&#8217;t bring up these articles. Thanks!</p>]]></content:encoded>
      <pubDate>Wed, 25 Apr 2012 16:12 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31346#date:16:12</guid>
    </item>
  
		<item>
      <title>Comment by Steffen Hiller</title>
      <description>Is that new in ST 2.0.1 final that you can use autoCreate without specifying an xtype?
Didn&#8217;t work till 2.0.1rc.

(btw, there&#8217;s a console.log and debugger in the station controller launch method.)</description>
      <content:encoded><![CDATA[<p>Is that new in ST 2.0.1 final that you can use autoCreate without specifying an xtype?<br />
Didn&#8217;t work till 2.0.1rc.</p>

<p>(btw, there&#8217;s a console.log and debugger in the station controller launch method.)</p>]]></content:encoded>
      <pubDate>Wed, 25 Apr 2012 15:05 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31344#date:15:05</guid>
    </item>
  
		<item>
      <title>Comment by Laurence Rochfort</title>
      <description>Hi,

Could you please provide links to each part of this article?

Many thanks,
Laurence.</description>
      <content:encoded><![CDATA[<p>Hi,</p>

<p>Could you please provide links to each part of this article?</p>

<p>Many thanks,<br />
Laurence.</p>]]></content:encoded>
      <pubDate>Wed, 25 Apr 2012 14:15 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//architecting-your-app-with-sencha-touch-2-mvc#id:31341#date:14:15</guid>
    </item>
  
		
	</channel>
</rss>