<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Dan Wahlin's WebLog - All Comments</title><link>http://weblogs.asp.net/dwahlin/default.aspx</link><description>jQuery, HTML5, JavaScript, ASP.NET, and XAML</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Dynamically Loading Controllers and Views with ...</title><link>http://weblogs.asp.net/dwahlin/archive/2013/05/22/dynamically-loading-controllers-and-views-with-angularjs-and-requirejs.aspx#10338621</link><pubDate>Fri, 24 May 2013 13:36:07 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:10338621</guid><dc:creator>Dynamically Loading Controllers and Views with ...</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Dynamically Loading Controllers and Views with ...&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=10338621" width="1" height="1"&gt;</description></item><item><title>Open-source JavaScript framework AngularJS | Geekness in Words</title><link>http://weblogs.asp.net/dwahlin/archive/2013/04/12/video-tutorial-angularjs-fundamentals-in-60-ish-minutes.aspx#10337847</link><pubDate>Fri, 24 May 2013 10:56:51 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:10337847</guid><dc:creator>Open-source JavaScript framework AngularJS | Geekness in Words</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Open-source JavaScript framework AngularJS | Geekness in Words&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=10337847" width="1" height="1"&gt;</description></item><item><title>Video Tutorial: AngularJS Fundamentals in 60-is...</title><link>http://weblogs.asp.net/dwahlin/archive/2013/04/12/video-tutorial-angularjs-fundamentals-in-60-ish-minutes.aspx#10332224</link><pubDate>Thu, 23 May 2013 11:27:41 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:10332224</guid><dc:creator>Video Tutorial: AngularJS Fundamentals in 60-is...</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Video Tutorial: AngularJS Fundamentals in 60-is...&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=10332224" width="1" height="1"&gt;</description></item><item><title>Video Tutorial: AngularJS Fundamentals in 60-is...</title><link>http://weblogs.asp.net/dwahlin/archive/2013/04/12/video-tutorial-angularjs-fundamentals-in-60-ish-minutes.aspx#10332183</link><pubDate>Thu, 23 May 2013 11:19:56 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:10332183</guid><dc:creator>Video Tutorial: AngularJS Fundamentals in 60-is...</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Video Tutorial: AngularJS Fundamentals in 60-is...&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=10332183" width="1" height="1"&gt;</description></item><item><title>re: Dynamically Loading Controllers and Views with AngularJS and RequireJS</title><link>http://weblogs.asp.net/dwahlin/archive/2013/05/22/dynamically-loading-controllers-and-views-with-angularjs-and-requirejs.aspx#10328771</link><pubDate>Wed, 22 May 2013 21:37:29 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:10328771</guid><dc:creator>dwahlin</dc:creator><description>&lt;p&gt;Gaurav:&lt;/p&gt;
&lt;p&gt;I had someone ask about that earlier and think it&amp;#39;s an interesting idea. Makes a lot of sense especially on mobile devices where memory may be more of an issue. Having said that, I&amp;#39;m not exactly sure how well it would work even if a script is removed. Something to look into though.&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=10328771" width="1" height="1"&gt;</description></item><item><title>re: Dynamically Loading Controllers and Views with AngularJS and RequireJS</title><link>http://weblogs.asp.net/dwahlin/archive/2013/05/22/dynamically-loading-controllers-and-views-with-angularjs-and-requirejs.aspx#10328739</link><pubDate>Wed, 22 May 2013 21:29:39 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:10328739</guid><dc:creator>Gaurav</dc:creator><description>&lt;p&gt;What about unloading js dynamically?&lt;/p&gt;
&lt;p&gt;I think loading more and more js in SPA cause more memory usage for browser, it would be better to unload those views and controller if not required in current view.&lt;/p&gt;
&lt;p&gt;What do you think?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=10328739" width="1" height="1"&gt;</description></item><item><title>re: Dynamically Loading Controllers and Views with AngularJS and RequireJS</title><link>http://weblogs.asp.net/dwahlin/archive/2013/05/22/dynamically-loading-controllers-and-views-with-angularjs-and-requirejs.aspx#10327814</link><pubDate>Wed, 22 May 2013 17:35:07 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:10327814</guid><dc:creator>dwahlin</dc:creator><description>&lt;p&gt;rn75:&lt;/p&gt;
&lt;p&gt;Yep - AngularJS should definitely reduce the workload of the server because aside from the initial page it'll simply serve up JSON data and HTML templates. It of course depends on your application, how many Ajax calls are made, etc. though. But in general I'm comfortable saying that the web server's workload should be minimized in many situations since a lot of the burden is pushed to the client.&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=10327814" width="1" height="1"&gt;</description></item><item><title>re: Dynamically Loading Controllers and Views with AngularJS and RequireJS</title><link>http://weblogs.asp.net/dwahlin/archive/2013/05/22/dynamically-loading-controllers-and-views-with-angularjs-and-requirejs.aspx#10327807</link><pubDate>Wed, 22 May 2013 17:33:06 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:10327807</guid><dc:creator>dwahlin</dc:creator><description>&lt;p&gt;Kevin,&lt;/p&gt;
&lt;p&gt;Thanks! As far as your question, you definitely don't need this unless you have a lot of controllers. Even in the sample application it's overkill because there are only a handful of controllers. Plus, you could argue that controllers could be bundled, minified, etc. and all downloaded upfront. &lt;/p&gt;
&lt;p&gt;But, there are some situations where they may need to be dynamically loaded especially when there are a lot of them in a given application. I'd recommend loading them upfront if you don't think there's any performance issues with doing that (keeping mobile in mind too). Plus, I like the simplified route syntax....better for maintenance. :-)&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=10327807" width="1" height="1"&gt;</description></item><item><title>re: Dynamically Loading Controllers and Views with AngularJS and RequireJS</title><link>http://weblogs.asp.net/dwahlin/archive/2013/05/22/dynamically-loading-controllers-and-views-with-angularjs-and-requirejs.aspx#10327243</link><pubDate>Wed, 22 May 2013 15:05:30 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:10327243</guid><dc:creator>rn75</dc:creator><description>&lt;p&gt;I have watched your video tutorial on AngularJS fundamentals.&lt;/p&gt;
&lt;p&gt;My question is: Because AngularJS is a client-side framework, will it reduce the workload on the server, in comparison with ASP.NET MVC or Yii-framework?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=10327243" width="1" height="1"&gt;</description></item><item><title>Dew Drop &amp;ndash; May 22, 2013 (#1,552) | Alvin Ashcraft&amp;#039;s Morning Dew</title><link>http://weblogs.asp.net/dwahlin/archive/2013/05/22/dynamically-loading-controllers-and-views-with-angularjs-and-requirejs.aspx#10326739</link><pubDate>Wed, 22 May 2013 12:51:52 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:10326739</guid><dc:creator>Dew Drop – May 22, 2013 (#1,552) | Alvin Ashcraft's Morning Dew</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Dew Drop &amp;amp;ndash; May 22, 2013 (#1,552) | Alvin Ashcraft&amp;amp;#039;s Morning Dew&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=10326739" width="1" height="1"&gt;</description></item></channel></rss>