<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Modern Web Development</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Events/aspConf/aspConf/Modern-Web-Development/rss"></atom:link>
	<image>
		<url>http://media.ch9.ms/ch9/c186/cdbc6951-5158-49e2-a4cd-ef4fefa9c186/aspConfModernWebDevelopment_220.jpg</url>
		<title>Channel 9 - Modern Web Development</title>
		<link></link>
	</image>
	<description>In this talk, Shawn will walk the attendees through the new way that web applications are being built today using the latest in client-side development the best practices of how to carry that out with ASP.NET MVC. </description>
	<link></link>
	<language>en</language>
	<pubDate>Thu, 23 May 2013 18:06:27 GMT</pubDate>
	<lastBuildDate>Thu, 23 May 2013 18:06:27 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Modern Web Development</title>
		<description>
			<![CDATA[Thanks for the great video. Your clarity and elegance matches Scott Hanselman&#39;s.  &#58;&#41;<br><br>You have mapped your javascript initialization code to your view and controller. However, using this pattern, how would we implement views and javascipt code that are shared by two controllers&#63; We would require two javascript files with virtually the same code. For example, if you have two controllers, Home and Account, and they both have an Index view that require the same javascript code, then two files need to be created that have the same code &#40;ie&#58; Home-Index.js and Account-Index.js&#41; with the exception that they will be created with different object names.<br><br>Most of the javascript code I have written&#47;read, from my experience, are designed to work very closely with the view file and the model that&#39;s passed from the controller to the view. In my opinion, the javascript code shouldn&#39;t care what controller is used. <p>posted by Andrew Liang</p>]]>
		</description>
		<link>http://channel9.msdn.com/Events/aspConf/aspConf/Modern-Web-Development#c634791335943848195</link>
		<pubDate>Sun, 29 Jul 2012 04:39:54 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Events/aspConf/aspConf/Modern-Web-Development#c634791335943848195</guid>
		<dc:creator>Andrew Liang</dc:creator>
	</item>
	<item>
		<title>Re: Modern Web Development</title>
		<description>
			<![CDATA[<p>Thanks Andrew. As far as the controller/view pattern I am using here. The goal of the home-index.js pattern is to quickly implement the initialization for a page. It is common for me to have the same underlying implementation called by both pages. So in your example, I'd simply put the code that two pages share in a JavaScript 'class' or 'module' and call from each initializer.</p><p>posted by swildermuth</p>]]>
		</description>
		<link>http://channel9.msdn.com/Events/aspConf/aspConf/Modern-Web-Development#c634801879872222067</link>
		<pubDate>Fri, 10 Aug 2012 09:33:07 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Events/aspConf/aspConf/Modern-Web-Development#c634801879872222067</guid>
		<dc:creator>swildermuth</dc:creator>
	</item>
</channel>
</rss>