<?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>rezzz &#187; design</title>
	<atom:link href="http://www.rezzz.com/tag/design/feed" rel="self" type="application/rss+xml" />
	<link>http://www.rezzz.com</link>
	<description>a developers playground</description>
	<lastBuildDate>Fri, 06 Jan 2012 13:56:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Page of Posts in WordPress &#8211; Let the Slug Handle It</title>
		<link>http://www.rezzz.com/code/page-of-posts-in-wordpress-let-the-slug-handle-it</link>
		<comments>http://www.rezzz.com/code/page-of-posts-in-wordpress-let-the-slug-handle-it#comments</comments>
		<pubDate>Fri, 06 Jan 2012 13:56:04 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.rezzz.com/?p=399</guid>
		<description><![CDATA[Ever want to have a page of posts, but use custom fields, a specific template, or any other page attributes in WordPress. Well, I recently had a project where there was a need for great flexibility on each page and &#8230; <a href="http://www.rezzz.com/code/page-of-posts-in-wordpress-let-the-slug-handle-it">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ever want to have a page of posts, but use custom fields, a specific template, or any other page attributes in WordPress.  Well, I recently had a project where there was a need for great flexibility on each page and post of the site to manipulate the right and left sidebars.  So I was using the custom fields so the client can put links, text, pics, videos along each side.  As with most WordPress implementations, I use the Reading Settings to tag a static page for the home page and blog page.  But in knowing how the blog page uses the index.php file to render the index of posts, I didn&#8217;t want that since the blog page had custom fields that needed to be rendered.</p>
<p>Since the blog page was only going to show a specific category of posts, I thought that I could &#8220;confuse&#8221; WordPress.  I made the category slug and the page slug exactly the same.  Important to note, the slug is not the title.  The slug is usually lowercase, no spaces, and WordPress usually generates it based off of the title, which you can obviously modify.</p>
<p>So I created a News page, and then a News category.  Then I created a news template within the theme as well.  I applied the news template to the News page under the Page Attributes section on the Edit screen.  The News page previewed just like any other page.  Then after some thought and scripting, I came up with the code below which allowed me to pull in the posts based on the slug.</p>
<div class="codecolorer-container php railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$tmp_post</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">//Create a query for the category</span><br />
<span style="color: #000088;">$pageslug</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_name</span><span style="color: #339933;">;</span> <br />
<span style="color: #000088;">$paged</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>get_query_var<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'paged'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> ? get_query_var<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'paged'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$args</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'category_name'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$pageslug</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'posts_per_page'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'paged'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$paged</span><br />
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
query_posts<span style="color: #009900;">&#40;</span><span style="color: #000088;">$args</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <br />
get_template_part<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'loop'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'index'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">// bring control back</span><br />
<span style="color: #000088;">$post</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$tmp_post</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>Place the above code into the theme&#8217;s template file where you would like the list of posts to appear.  The part of this code that does the heavy lifting is that it reads the slug of the page and then builds the query to pull the posts of that category.  Obviously, that can spark some creative ideas with the page and post relationship.  I&#8217;d love to hear what other people have done for this type of situation and I hope that this helps others.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rezzz.com/code/page-of-posts-in-wordpress-let-the-slug-handle-it/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Your Brain and Lion&#8217;s Scroll</title>
		<link>http://www.rezzz.com/os-x/your-brain-and-lions-scroll</link>
		<comments>http://www.rezzz.com/os-x/your-brain-and-lions-scroll#comments</comments>
		<pubDate>Fri, 26 Aug 2011 13:30:51 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[UX]]></category>

		<guid isPermaLink="false">http://www.rezzz.com/?p=294</guid>
		<description><![CDATA[Since upgrading to OS X Lion, I&#8217;ve been using their &#8220;reverse scroll&#8221; or whatever you want to call it. For those that don&#8217;t know what this is (and PC users), basically take the scroll wheel on your mouse and flip &#8230; <a href="http://www.rezzz.com/os-x/your-brain-and-lions-scroll">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Since upgrading to OS X Lion, I&#8217;ve been using their &#8220;reverse scroll&#8221; or whatever you want to call it.  For those that don&#8217;t know what this is (and PC users), basically take the scroll wheel on your mouse and flip it around.  This was done to have your mouse act more like a mobile device.  </p>
<p>I&#8217;m all for change, and although I&#8217;m getting used to it, there are many times when I find myself going back to old habits.  I&#8217;ll start off with why I&#8217;m sticking hard to this setting (which I can <a target="_blank" href="http://lmgtfy.com/?q=turn+off+reverse+scrolling+in+lion">easily be turned off</a>).  It&#8217;s an advancement in UX and sooner or later, we will do away with the mouse altogether.  I mean take a look at Star Trek, or any sci-fi movie, there isn&#8217;t a mouse to be found.  But seriously, it&#8217;s just my point of view, it&#8217;s not because I&#8217;m an Apple fan or anything, it&#8217;s just how I see things.  </p>
<p>With that being said, after about a week, I am now scrolling web pages, documents and alike without scrolling in the wrong direction first.  But there are places where I find myself still doing it &#8220;backwards.&#8221;  The drop-downs on forms, Tweetdeck columns, even this text area I&#8217;m writing this post in.  I do find it extremely annoying and wanted to turn this setting off more than a few times now, but I don&#8217;t.  I thought, &#8220;there&#8217;s got to be a reason why my brain isn&#8217;t adjusting to these UI elements but changed to others.&#8221;  I think I&#8217;ve come up with it.  </p>
<p>With explosion of the iPhone, iPad, Android and other various devices in the past few years, my brain has become accustomed to me  looking at websites and writing documents on these devices.  So the transition from just using my finger to scroll on the screen to scrolling on the mouse took some time, but came around fairly quickly.  But Tweetdeck and code completion my brain has never seen in the reverse scroll world.  It&#8217;s time to re-train the brain to perform tasks that it had been doing for the past 15-20 years.  No easy feat that&#8217;s for sure, but I&#8217;m determined.  </p>
<p>It&#8217;s funny that scrolling has become so second nature, that now I have to think about performing that task again.  Brings me back to when I introduced the mouse and PC to various family members who would pick up the mouse and use it like a tv remote.  It&#8217;s what our brains are accustom to.  It will always default to that pathway that you formed the first time you did something.  Breaking that pathway is hard, but can be done for sure.  Let&#8217;s see how long it will take me before I stop scrolling up when I mean down on the DOB fields on a form.</p>
<p>I&#8217;m curious to hear your thoughts on this new take on scrolling, or even in general on trying to change your thinking on doing the simplest tasks.  Feel free to comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rezzz.com/os-x/your-brain-and-lions-scroll/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webdesign Goes to Hell: Freelancers Nightmare</title>
		<link>http://www.rezzz.com/posterous/webdesign-goes-to-hell-freelancers-nightmare</link>
		<comments>http://www.rezzz.com/posterous/webdesign-goes-to-hell-freelancers-nightmare#comments</comments>
		<pubDate>Fri, 04 Dec 2009 13:45:32 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Posterous]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[joke]]></category>

		<guid isPermaLink="false">http://rezzz.dev/posterous/webdesign-goes-to-hell-freelancers-nightmare</guid>
		<description><![CDATA[This is so true and I know it&#8217;s being put all over the web/twitter right now, but I can&#8217;t help but to spread the wealth to those that may not have seen this. http://theoatmeal.com/comics/design_hell Posted via email from Jason Resnick&#8217;s &#8230; <a href="http://www.rezzz.com/posterous/webdesign-goes-to-hell-freelancers-nightmare">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is so true and I know it&#8217;s being put all over the web/twitter right now, but I can&#8217;t help but to spread the wealth to those that may not have seen this.
<p /> <a href="http://theoatmeal.com/comics/design_hell">http://theoatmeal.com/comics/design_hell</a>
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via email</a>   from <a href="http://jasonresnick.posterous.com/webdesign-goes-to-hell-freelancers-nightmare">Jason Resnick&#8217;s posterous</a>  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rezzz.com/posterous/webdesign-goes-to-hell-freelancers-nightmare/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>End of An Era</title>
		<link>http://www.rezzz.com/posterous/end-of-an-era</link>
		<comments>http://www.rezzz.com/posterous/end-of-an-era#comments</comments>
		<pubDate>Thu, 08 Oct 2009 16:19:45 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Posterous]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[entrepreneur]]></category>
		<category><![CDATA[geocities]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://rezzz.dev/portfolio/end-of-an-era</guid>
		<description><![CDATA[I guess there always comes a time when good things come to an end. Yahoo announced that Geocities will be turning the switch off permanently on October 26th. It&#8217;s been a long ride for the free web host. Starting back &#8230; <a href="http://www.rezzz.com/posterous/end-of-an-era">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://posterous.com/getfile/files.posterous.com/jasonresnick/YW7AqDJnWOBohy0lpYjOHoL0V7TuDrtrjSnrLthnGR15oCNbb6nofRjWxA5u/Screen_shot_2009-10-08_at_12.0.png" alt="" width="471" height="140" /></p>
<p>I guess there always comes a time when good things come to an end. Yahoo announced that Geocities will be turning the switch off permanently on October 26th. It&#8217;s been a long ride for the free web host. Starting back in the mid-90s, pretty much at the advent of the internet as we know it. My first site we a Geocities site, and from reading the article, it makes me wonder why I haven&#8217;t kept that first site. Oh yeah, I remember now, because it was horrible <img src='http://www.rezzz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  &#8211; animated Simpsons characters, horizontal rules that were yellow and black construction type signs, an &#8220;LED&#8221; Welcome sign, all center aligned. At the time I loved it and spent a lot of time on it when I should&#8217;ve been in economics class, and was proud to have my little place on the web.</p>
<p>Anyway, thank you to Yahoo for keeping the &#8220;first apartment&#8221; alive and well these past several years. But we all need to move out and move on with our lives as you do as well. Goodbye and Farewell Geocities, it was great while it lasted.</p>
<p style="font-size: 10px;"><a href="http://posterous.com">Posted via email</a> from <a href="http://jasonresnick.posterous.com/end-of-an-era-15">Jason Resnick&#8217;s posterous</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rezzz.com/posterous/end-of-an-era/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Team Cobra Kai</title>
		<link>http://www.rezzz.com/portfolio/teamcobra-kai</link>
		<comments>http://www.rezzz.com/portfolio/teamcobra-kai#comments</comments>
		<pubDate>Mon, 21 Sep 2009 16:46:03 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://rezzz.dev/?p=30</guid>
		<description><![CDATA[This is a website I designed to have some fun with my softball team.  There&#8217;s integration with an iPhone app called iScore.  That&#8217;s what we use to keep the book of the game.  It&#8217;ll aggregate all the guys&#8217; stats so &#8230; <a href="http://www.rezzz.com/portfolio/teamcobra-kai">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><a href="http://www.teamcobrakai.com"><img class="aligncenter size-full wp-image-52" title="Team Cobra Kai" src="http://rezzz.dev/wp-content/uploads/2009/09/Screen-shot-2009-09-21-at-2.08.09-PM.png" alt="Team Cobra Kai" width="590" height="200" /></a>This is a website I designed to have some fun with my softball team.  There&#8217;s integration with an iPhone app called iScore.  That&#8217;s what we use to keep the book of the game.  It&#8217;ll aggregate all the guys&#8217; stats so the guys can see their stats.  This site will be ever changing as I&#8217;m sort of using it for my playground.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rezzz.com/portfolio/teamcobra-kai/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Everest Broadband Interlink</title>
		<link>http://www.rezzz.com/portfolio/everest-broadband-interlink</link>
		<comments>http://www.rezzz.com/portfolio/everest-broadband-interlink#comments</comments>
		<pubDate>Mon, 21 Sep 2009 14:29:00 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://rezzz.dev/?p=41</guid>
		<description><![CDATA[I was hired by them to design and develop their website.  They needed their clients to be able to log in and view their accounts.  Everest also wanted to have a CMS implemented so they can managed the website.  This &#8230; <a href="http://www.rezzz.com/portfolio/everest-broadband-interlink">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_43" class="wp-caption aligncenter" style="width: 600px"><img class="size-full wp-image-43" title="Everest Broadband Interlink" src="http://rezzz.dev/wp-content/uploads/2009/09/Screen-shot-2009-09-21-at-1.25.51-PM.png" alt="Everest Broadband Interlink" width="590" height="192" /><p class="wp-caption-text">Everest Broadband Interlink</p></div>
<p>I was hired by them to design and develop their website.  They needed their clients to be able to log in and view their accounts.  Everest also wanted to have a CMS implemented so they can managed the website.  This was all done in ASP with a SQL Server backend.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rezzz.com/portfolio/everest-broadband-interlink/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

