<?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>zacharyc &#187; Web</title>
	<atom:link href="http://zacharyc.com/category/programming/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://zacharyc.com</link>
	<description></description>
	<lastBuildDate>Tue, 22 May 2012 15:27:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Properties in C#</title>
		<link>http://zacharyc.com/2011/03/02/properties-in-c/</link>
		<comments>http://zacharyc.com/2011/03/02/properties-in-c/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 20:00:29 +0000</pubDate>
		<dc:creator>zacharyc</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://zacharyc.com/?p=918</guid>
		<description><![CDATA[I&#8217;m a new C# programmer. I&#8217;m using it for a project at work. Doing an ASP.NET MVC project. So far I&#8217;ve been very happy with the language. It has some nice stuff built in. ASP.NET MVC is pretty nice too. It&#8217;s almost as easy to use as rails. So, all in all, I&#8217;m pretty happy, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a new C# programmer. I&#8217;m using it for a project at work. Doing an ASP.NET MVC project. So far I&#8217;ve been very happy with the language. It has some nice stuff built in. ASP.NET MVC is pretty nice too. It&#8217;s almost as easy to use as rails. So, all in all, I&#8217;m pretty happy, but today I ran into something stupid.</p>
<p>I have a method that is trying to do a <code>TryUpdateModel(model, new[] {"prop1", "prop2"});</code> call and my model wasn&#8217;t getting updated. I checked out the associated FormCollection and sure enough my values were in it. The problem was in how I was defining my model.</p>
<pre class="code">
public class MyModel
{
   public int prop1;
   public DateTime prop2;
}
</pre>
<p>Can you see the problem?</p>
<p>It took some digging, but it turns out that prop1 and prop2 as defined above are not properties. They are public members of the class MyModel. In order to be properties you need to assign them getters and setters like so:</p>
<pre class="code">
public class MyModel
{
   public int prop1 { get; set; }
   public DateTime prop2 { get; set; }
}
</pre>
<p>My frustration is that prop1 and prop2 from my perspective as a consumer don&#8217;t really change with the new definition. It seems weird I should have to do that. I&#8217;m a new C# programmer and I totally believe that in 3 months more of working with this language I might become a purist and understand the reason to have these things behave differently, but for someone new to the language this isn&#8217;t the most intuitive approach.</p>
]]></content:encoded>
			<wfw:commentRss>http://zacharyc.com/2011/03/02/properties-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Handspringman.com</title>
		<link>http://zacharyc.com/2010/01/20/handspringman-com/</link>
		<comments>http://zacharyc.com/2010/01/20/handspringman-com/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 23:05:58 +0000</pubDate>
		<dc:creator>zacharyc</dc:creator>
				<category><![CDATA[Cheerleading]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://zacharyc.com/?p=736</guid>
		<description><![CDATA[For those of you who have known me for more than, say, five years, you know that one of my original web properties was handspringman.com. Unfortunately, due to issues with the way domain registration works, it slipped out of my control. At the time it was prohibitively expensive to reposes (somewhere in the several hundred [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who have known me for more than, say, five years, you know that one of my original web properties was <a href="http://www.handspringman.com">handspringman.com</a>. Unfortunately, due to issues with the way domain registration works, it slipped out of my control. At the time it was prohibitively expensive to reposes (somewhere in the several hundred dollar range). </p>
<p>Well, good news, it&#8217;s coming home. I recently checked it&#8217;s availability on GoDaddy and was able to procure it relatively inexpensively. I will do my best to put something up there soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://zacharyc.com/2010/01/20/handspringman-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modified JustSimple WordPress Theme</title>
		<link>http://zacharyc.com/2009/03/20/modified-justsimple-wordpress-theme/</link>
		<comments>http://zacharyc.com/2009/03/20/modified-justsimple-wordpress-theme/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 19:18:08 +0000</pubDate>
		<dc:creator>zacharyc</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://zacharyc.com/?p=556</guid>
		<description><![CDATA[I&#8217;m not much of a PHP guy, but I chose WordPress for this blog because I feel it is the most stable, well refined, yet easy to use blogging tool out there. Once the platform was decided I started looking for themes that worked well. I finally found something that I really liked when I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not much of a PHP guy, but I chose <a href="http://www.wordpress.org">WordPress</a> for this blog because I feel it is the most stable, well refined, yet easy to use blogging tool out there. Once the platform was decided I started looking for themes that worked well. I finally found something that I really liked when I stumbled on <a href="http://ciaranwal.sh/">Ciaran Walsh&#8217;s</a> blog. The theme is called <a href="http://www.wpthemespot.com/2006/12/22/justsimple-a-new-theme/">JustSimple</a>.</p>
<p>It&#8217;s a great theme, and I enjoy it on my site, but there areas where it has come up short. Mostly in styles for certain elements. I started a simple github project for my changes to <a href="http://github.com/zacharyc/justsimple-wordpress/tree/master">JustSimple Project</a>. One such change I&#8217;ve made is to add support for Definition Lists. Terms are bold and definitions are padded left. </p>
<p>If you want, you can download the theme from github (with a shameless use of the definition list):</p>
<dl>
<dt>Zip Format</dt>
<dd><a href="http://github.com/zacharyc/justsimple-wordpress/zipball/master">Zip File</a></dd>
<dt>Tar Format</dt>
<dd><a href="http://github.com/zacharyc/justsimple-wordpress/tarball/master">Tar File</a></dd>
</dl>
]]></content:encoded>
			<wfw:commentRss>http://zacharyc.com/2009/03/20/modified-justsimple-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

