<?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>Tyler Wolff &#187; framework</title>
	<atom:link href="http://tylerwolff.com/tag/framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://tylerwolff.com</link>
	<description>Tyler Wolff&#039;s web design portfolio site. Includes examples of current work and future concepts.</description>
	<lastBuildDate>Sun, 07 Nov 2010 20:59:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>The New Website</title>
		<link>http://tylerwolff.com/2010/02/the-new-website/</link>
		<comments>http://tylerwolff.com/2010/02/the-new-website/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 08:08:58 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[carrington]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[masonry]]></category>
		<category><![CDATA[tyler wolff]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://tylerwolff.com/?p=412</guid>
		<description><![CDATA[I have been wanting to update my website for a long time, but with school, work, and everything else on my plate last semester I could not find the time to really make it happen. Fast-forward to the start of 2010 and I have graduated, plus I have had more time on my hands to [...]]]></description>
			<content:encoded><![CDATA[<p>I have been wanting to update my website for a long time, but with school, work, and everything else on my plate last semester I could not find the time to really make it happen. Fast-forward to the start of 2010 and I have graduated, plus I have had more time on my hands to actually work on fun things, like a new website. I already had a ton of ideas for how I wanted the site to be, so I started designing / coding what eventually turned into the current version of this website.</p>
<h4>The Concept</h4>
<p>The basic concept I started with was to have a home page that would show small excerpts of blog posts with a corresponding thumbnail. Upon clicking one of these excerpts, the full post would then be loaded inline via ajax. In addition, I wanted to have everything align to a grid at all times. Before making this site I had seen this done on a couple of sites, but none of these were running on WordPress.</p>
<h4>The Main Problem</h4>
<p>With WordPress you normally have one template for your homepage and one for a single atomic post which means that a single post on its own can only be loaded via the single template. Because of this a post only exists on the homepage, where all posts are normally shown, and on its single, or permalinked page. There is no way to grab an atomic post on its own using WordPress&#8217;s default functionality. To get the layout I described above I could have made the single post template only return the post&#8217;s content and have that load through ajax via its permalink. However, the problem with that is when a user navigates to a permalinked post, all that would show up would be the content of the post. What I needed was a way to grab a post&#8217;s content on its own while also providing a nicely styled single page for permalinked posts.</p>
<h4>How I Did it</h4>
<p>I realized that I would have to write custom functions to query the wordpress database in order to do this, and so I started with that. Then one day I stumbled across the <strong><a href="http://carringtontheme.com/" title="Carrington Framework">Carrington</a></strong>, a CMS theme framework that extends WordPress and makes it extremely easy to customize. The main difference between WordPress and Carrington is in how the code is abstracted and what can be done with those abstractions. Here is a diagram that shows the difference between the page load for a single post view in the WordPress Default theme and how the same in done in Carrington:</p>
<p><img src="http://tylerwolff.com/wp-content/uploads/2010/02/flow.png" alt="" title="Carrington Framework Flow" width="500" height="630" class="aligncenter size-full wp-image-424" /></p>
<p>Now all this is great for customization, but why I eventually settled with using the Carrington Framework was because of the built in Ajax loading. It was exactly the thing I needed for this site as it gave me a way to show both excerpts and full posts on the homepage, while also providing a template for permalinked posts. Plus, its slick. Carrington provides it for viewing archives, but it&#8217;s easy to apply it to all posts.
</p>
<p>Another wonderful resource I found for use on this site was <a href="http://desandro.com/resources/jquery-masonry">jQuery Masonry</a>, a layout plugin that auto-aligns elements based on a given grid. I&#8217;ve always loved sites that auto-align elements of different sizes so I was happy to apply that same look to this site. I had to hack the initialization part of the plugin a bit to get it to work right with Carrington right but it turned out to work great! I love this plugin.
</p>
<p><strong>Technology Used</strong></p>
<ul>
<li><a href="http://wordpress.org" title="Wordpress">WordPress 2.9</a></li>
<li><a href="http://carringtontheme.com/" title="Carrington Framework">Carrington Framework</a></li>
<li><a href="http://jquery.com/" title="jQuery">jQuery</a></li>
<li><a href="http://desandro.com/resources/jquery-masonry">jQuery Masonry</a></li>
</ul>
<p>Overall, I am very satisfied with how the new version of tylerwolff.com turned out, though there are still problems to be fixed (IE7 layout, contact form messages, etc). In the future I plan to repair these problems, as well as add more content to the entire website. I might even write some more entries on the making of this site, going through some of the custom code I had to write to get everything to work together.  What&#8217;s cool is the site is now featured on the Carrington <a href="http://carringtontheme.com/" title="Carrington Framework">homepage</a> and <a href="http://carringtontheme.com/category/showcase/">showcase</a> page. Check it out &darr;</p>
<p><a href="http://carringtontheme.com/category/showcase/"><img src="http://tylerwolff.com/uploads/2010/02/Screen-shot-2010-02-16-at-9.48.54-PM1-670x255.png" alt="" title="Carrington Showcase Page" width="670" height="255" class="alignnone size-large wp-image-432" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://tylerwolff.com/2010/02/the-new-website/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

