<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Global Nerdy &#187; NerdDinner</title>
	<atom:link href="http://www.globalnerdy.com/tag/nerddinner/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.globalnerdy.com</link>
	<description>Tech Evangelist Joey deVilla on software development, tech news and other nerdy stuff</description>
	<lastBuildDate>Fri, 19 Mar 2010 00:24:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Best &#8220;Chapter One&#8221; I&#8217;ve Ever Read</title>
		<link>http://www.globalnerdy.com/2009/06/15/the-best-chapter-one-ive-ever-read/</link>
		<comments>http://www.globalnerdy.com/2009/06/15/the-best-chapter-one-ive-ever-read/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 04:00:00 +0000</pubDate>
		<dc:creator>Joey deVilla</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[What Joey Did]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Gang of Foreheads]]></category>
		<category><![CDATA[NerdDinner]]></category>
		<category><![CDATA[reviews]]></category>

		<guid isPermaLink="false">http://www.globalnerdy.com/2009/06/15/the-best-chapter-one-ive-ever-read/</guid>
		<description><![CDATA[This article also appears in Canadian Developer Connection.
 
As a rule, Chapter One of most programming books seems to leave me with a vague, unsatisfied feeling. I usually finish them with either:

A “Hello World”-style application that provides an initial “It compiled!” rush, but little else, or 
A “Trees dies for this?” sort of indignation, if [...]]]></description>
			<content:encoded><![CDATA[<p></p><p class="alert">This article also appears in <a href="http://blogs.msdn.com/cdndevs/archive/2009/06/15/the-best-chapter-one-i-ve-ever-read.aspx"><em>Canadian Developer Connection</em></a>.</p>
<p><a href="http://www.wrox.com/WileyCDA/WroxTitle/Professional-ASP-NET-MVC-1-0.productCd-0470384611.html"><img style="border-right-width: 0px; margin: 0px 0px 10px 10px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Cover of &quot;Professional ASP.NET MVC 1.0&quot;" border="0" alt="Cover of &quot;Professional ASP.NET MVC 1.0&quot;" align="right" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/06/gang_of_foreheads.jpg" width="250" height="315" /></a> </p>
<p><strong>As a rule, Chapter One of most programming books seems to leave me with a vague, unsatisfied feeling.</strong> I usually finish them with either:</p>
<ul>
<li>A “Hello World”-style application that provides an initial “It compiled!” rush, but little else, or </li>
<li>A “Trees dies for <em>this?”</em> sort of indignation, if the chapter is one of those perfunctory one with a name like “Getting Started” that provides the same information you gathered while deciding whether to buy the book. </li>
</ul>
<p>Based on these experiences, I think I can be excused for being a bit skeptical when I read the announcement that Chapter One of <em><strong><a href="http://www.wrox.com/WileyCDA/WroxTitle/Professional-ASP-NET-MVC-1-0.productCd-0470384611.html">Professional ASP.NET MVC 1.0</a></strong></em>, published by Wrox, was being made available for free download. <em>Of course they’re giving it away for free,</em> I thought, <em>it’s the chapter that’s worth nothing!</em></p>
<p><strong>A quick aside:</strong> If you haven’t heard of <a href="http://asp.net/mvc/">ASP.NET MVC</a>, it’s Microsoft’s answer to the MVC-based frameworks that are all the rage these days, such as <a href="http://rubyonrails.org/">Ruby on Rails</a> and <a href="http://djangoproject.com/">Django</a>. It’s not a replacement for <a href="http://asp.net/">ASP.NET</a>, but an alternative; if you want to build applications following the REST paradigm, with fine-grained control over the flow of your application and HTML and want to do things “the web way” as opposed to a more “desktop app” way, you should seriously consider trying it out. (For more detailed pros-and-cons considerations of ASP.NET versus ASP.NET MVC, <a href="http://www.coderjournal.com/2008/12/introducing-aspnet-mvc-part-2-aspnet-mvc-vs-webforms/">see this article in <em>Nick Berardi’s Code Journal</em></a>.)</p>
<p>Luckily, curiosity got the better of me and I downloaded the chapter. I got my first sign that wasn’t your garden-variety Chapter One when I looked at the file size and page count. 14 megabytes? 196 pages? Something strange was going on here. Perhaps a glitch during the download?</p>
<p>Once I scrolled past the cover page, the standard Wrox cover featuring the authors and their impressively receding hairlines (hence the nickname for the book, “The Gang of Foreheads”), I hit the introductory paragraph:</p>
<blockquote><p>The best way to learn a new framework is to build something with it. This first chapter walks through how to build a small, but complete, application using ASP.NET MVC, and introduces some of the core concepts behind it.</p>
</blockquote>
<p>That’s right: rather than provide some long-winded perfunctory history of the Model-View-Controller framework, the backstory of how the ASP.NET MVC framework came to be or some simple “Hello World”-style example app of little consequence and requiring less effort, <strong>the authors decided to get right down to business and show you how to build an ASP.NET MVC web app</strong>. This was a surprise – but a very welcome one!</p>
<p><a href="http://nerddinner.com/"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="NerdDinner screenshot" border="0" alt="NerdDinner screenshot" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/06/nerddinner.jpg" width="486" height="321" /></a></p>
<p>The application that you build is called “NerdDinner”, a site that lets techies declare Meetup.com-style gatherings and RSVP for them (you can see the finished product in action at <a href="http://nerddinner.com/">NerdDinner.com</a>). You start at ground zero,&#160; <strong>“File –&gt; New…”</strong>, and from there, you build the app with just enough asides to explain a few vital concepts and very few of those false detours that some tutorials lead you down. NerdDinner may be a simple app, but it covers a lot of ground:</p>
<ul>
<li>From the basics of CRUD application design in an MVC web framework </li>
<li>to matters of input validation, </li>
<li>to registering, authenticating&#160; and authorizing users </li>
<li>to integrating Ajax-enabled forms and an Ajax map </li>
<li>to the built-in unit testing features of ASP.NET MVC. </li>
</ul>
<p><strong>By the end of the chapter, you’ve got a nice little application that lies in the “sweet spot”.</strong> It’s small enough for you to be able to learn from quickly, yet big enough to show you the ropes behind building the important parts of a CRUD web application that’s ready for public consumption.</p>
<p><strong><strong><a href="http://aspnetmvcbook.s3.amazonaws.com/aspnetmvc-nerdinner_v1.pdf"><img style="border-right-width: 0px; margin: 0px 0px 10px 10px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="download_chapter_1" border="0" alt="download_chapter_1" align="right" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/06/download_chapter_1.jpg" width="239" height="195" /></a></strong>I’ve tried out a number of ASP.NET MVC tutorials, and this one’s my hands-down favourite.</strong> It’s written by the people behind ASP.NET MVC, it covers a lot of ground, the finished app is an excellent basis for your future projects, there’s a working version online that you can use as a guide and&#160; the code works! Even better, this single chapter that packs all this value is free-as-in-beer. I’m sure I’ve paid&#160; for whole books that have imparted less knowledge than this single free chapter.</p>
<p><strong>If you’re interested in learning about ASP.NET MVC, <a href="http://aspnetmvcbook.s3.amazonaws.com/aspnetmvc-nerdinner_v1.pdf">download Chapter 1 of Professional ASP.NET MVC 1.0</a> [13.8 MB PDF] and give it a try.</strong> It’s the fastest way to get both a working ASP.NET application and up to speed on Microsoft’s new web application framework. And be sure to tell me how it worked out &#8212; if you have any questions or comments, or run into any difficulty with the chapter, let me know – <a href="mailto:joey.devilla@microsoft.com">drop me a line via email</a>, <a href="http://twitter.com/AccordionGuy">send me a tweet</a> or give me a shout-out in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.globalnerdy.com/2009/06/15/the-best-chapter-one-ive-ever-read/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
