<?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; ajax</title>
	<atom:link href="http://tylerwolff.com/tag/ajax/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>New INK Design Website</title>
		<link>http://tylerwolff.com/2010/07/new-ink-design-website/</link>
		<comments>http://tylerwolff.com/2010/07/new-ink-design-website/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 22:31:37 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[cargo]]></category>
		<category><![CDATA[carrington]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://tylerwolff.com/?p=533</guid>
		<description><![CDATA[During the past few days I had the chance to remake the INK Design website for my good friend Kamran Samimi, a printmaker and graphic designer from Honolulu, Hawaii. We brainstormed on a bunch of out-there ideas to present his work but eventually settled with something somewhat similar to how this site is laid out. [...]]]></description>
			<content:encoded><![CDATA[<p>During the past few days I had the chance to remake the <a href="http://kamransamimi.com">INK Design</a> website for my good friend Kamran Samimi, a printmaker and graphic designer from Honolulu, Hawaii. We brainstormed on a bunch of out-there ideas to present his work but eventually settled with something somewhat similar to how this site is laid out. Kamran had already been putting some of his work on a <a href="http://cargocollective.com/">Cargo Collective</a> site, one of the coolest web frameworks out right now, but he had reached the limit to posting as a free user and he didn&#8217;t want to pay for it since he has his own website. I thought why not take the code base from my current site and modify it to make it more project based, similar to how many cargo collective sites are. This is how it turned out:</p>
<p><img class="alignnone size-large wp-image-534" title="INK Design by Kamran Samimi" src="http://tylerwolff.com/uploads/2010/07/kam1-670x406.jpg" alt="INK Design Website" width="670" height="406" /></p>
<h3>How it was made</h3>
<p>Just like this site, the INK Design website is powered by WordPress and the <a href="http://carringtontheme.com/">Carrington framework</a>. WordPress handles all the content and Carrington handles how the content is put together and displayed to the user (more about Carrington in <a href="http://tylerwolff.com/2010/02/16/the-new-website/">this post</a>). Since my site already has many of the features Kamran wanted in his site like in-page ajax loading of posts I built upon what I already had, changing some CSS here and modifying some Javascript there. Getting a test site up was a fairly quick process. The good thing is, while I was creating the theming for the site, Kamran could post projects to the site simultaneously.</p>
<div id="attachment_535" class="wp-caption alignnone" style="width: 680px"><img class="size-large wp-image-535" title="INK Design by Kamran Samimi" src="http://tylerwolff.com/uploads/2010/07/kam2-670x406.jpg" alt="INK Design website ajax loading" width="670" height="406" /><p class="wp-caption-text">In-page loading of project posts</p></div>
<p>Once the site was functioning well enough I decided to give it some INK Design flavor. One of the original concepts for the site was to have one giant canvas that moved around depending on what type of projects you wanted to see and for this Kamran created a huge spaced out image of blending colors and designs to act as the background. I took this giant image and cut it up into ten smaller ones to use for the background of the site design we had created. I found a pretty nifty plug-in, <a href="http://srobbin.com/blog/jquery-plugins/jquery-backstretch/">jQuery Backstretch</a>, that provided exactly what I needed to display a fixed full screen background at various screen resolution sizes. I used this to create a randomized full screen background generator. If you refresh the page or navigate to other pages you&#8217;ll see it in action. The good thing about the backstretch plug-in is that it loads up the image after the page has rendered decreasing page load time.</p>
<p>The one big problem in this site is that it uses a couple fixed position elements which do not work well on mobile devices like the iPad. For instance the background will scroll up on mobile safari revealing a basic gray colored background when it should remain fixed. Also, the layout gets squished together a bit more than it should on mobile browsers. Hopefully one day when I have more time I&#8217;ll be able to fix these issues.</p>
<h3>All Tools Used</h3>
<ul>
<li><a href="http://wordpress.org/">WordPress 3.0</a></li>
<li><a href="http://carringtontheme.com/">Carrington framework</a></li>
<li><a href="http://desandro.com/resources/jquery-masonry/">jQuery Masonry</a></li>
<li><a href="http://srobbin.com/blog/jquery-plugins/jquery-backstretch/">jQuery Backstretch</a></li>
</ul>
<p><strong>Update:</strong> this site is also featured on the Carrington framework&#8217;s <a href="http://carringtontheme.com/">homepage</a>!</p>
<p><img class="alignnone size-large wp-image-539" title="Carrington framework showcase" src="http://tylerwolff.com/uploads/2010/07/Screen-shot-2010-07-04-at-12.30.11-PM-670x248.png" alt="" width="670" height="248" /></p>
]]></content:encoded>
			<wfw:commentRss>http://tylerwolff.com/2010/07/new-ink-design-website/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<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>

