<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.2" -->
<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/"
	>

<channel>
	<title>LiveLoveAutumnFall.com</title>
	<link>http://www.liveloveautumnfall.com</link>
	<description>The Development Side</description>
	<pubDate>Thu, 19 Jun 2008 01:24:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
	<language>en</language>
			<item>
		<title>Rails</title>
		<link>http://www.liveloveautumnfall.com/2008/06/18/rails/</link>
		<comments>http://www.liveloveautumnfall.com/2008/06/18/rails/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 01:24:53 +0000</pubDate>
		<dc:creator>Joshua Kendall</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Rails]]></category>

		<category><![CDATA[Web Applications]]></category>

		<guid isPermaLink="false">http://www.liveloveautumnfall.com/2008/06/18/rails/</guid>
		<description><![CDATA[So it&#8217;s been a while since I last updated, though it&#8217;s hasn&#8217;t been a few months like it&#8217;s been before. Anyway I started playing around with Rails again this past weekend and it is the most amazing programming language I have ever used. I&#8217;m building out the new thefridaycontest.com in it and in 10 lines [...]]]></description>
			<content:encoded><![CDATA[<p>So it&#8217;s been a while since I last updated, though it&#8217;s hasn&#8217;t been a few months like it&#8217;s been before. Anyway I started playing around with Rails again this past weekend and it is the most amazing programming language I have ever used. I&#8217;m building out the new thefridaycontest.com in it and in 10 lines of code and only 15 minutes I had voting taken care of, including setting a limit on requests by IP address. I&#8217;m working on a new site for my cousins business in it as well.</p>
<p>What I like most about Rails is the database interaction. The steps to setup a database table for content [on my MacBook] are:</p>
<ol>
<li>Generate a model with  Terminal.app (<em>script/generate model content title:string body:text</em>)</li>
<li>Migrate the database in Terminal. (<em>rake db:migrate</em>)</li>
</ol>
<p>Fill the table with some content and then from the controller in your page definition (index, new, edit, show, etc.) you simply write:</p>
<p><em>@content = Content.find_by_id(params[:id])</em></p>
<p>That basically tells the controller to use the Content model and then find the record by it&#8217;s id (which in most cases is the third part of the url after the .com/, so in content/show/1, 1 is the id). After that in the view it&#8217;s just simply a matter of calling &lt;%= @content.<em>fieldname </em>-%&gt; to write the data to the screen. If I had to do this in PHP it would take at least twice as long since I&#8217;d have to create a database in phpMyAdmin, then write a connection script, then query the database, and finally return it as an associative array for easy use in the page.</p>
<p>I&#8217;m still learning, but just from experience this has been the easiest language to learn thus far. In the last few months I&#8217;ve had to learn a bit of C#/ASP.Net for work which completely sucked and was a royal fucking pain to learn. PHP took me a awhile to learn initially too, but then again PHP and Rails I learned/am learning on my own time, and not because I had/have too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liveloveautumnfall.com/2008/06/18/rails/feed/</wfw:commentRss>
		</item>
		<item>
		<title>the friday contest</title>
		<link>http://www.liveloveautumnfall.com/2008/05/09/the-friday-contest/</link>
		<comments>http://www.liveloveautumnfall.com/2008/05/09/the-friday-contest/#comments</comments>
		<pubDate>Fri, 09 May 2008 13:46:20 +0000</pubDate>
		<dc:creator>Joshua Kendall</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Design]]></category>

		<category><![CDATA[Development]]></category>

		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.liveloveautumnfall.com/2008/05/09/the-friday-contest/</guid>
		<description><![CDATA[At my office we&#8217;re doing a &#8220;Theme Friday&#8221; contest. Where the previous week&#8217;s winner picks the theme for next week. So since everyone in the office would vote for themselves, I&#8217;ve created a way for the everyone in the world (in theory) to vote. Introducing thefridaycontest.com. Every week there will be a different contest. This [...]]]></description>
			<content:encoded><![CDATA[<p>At my office we&#8217;re doing a &#8220;Theme Friday&#8221; contest. Where the previous week&#8217;s winner picks the theme for next week. So since everyone in the office would vote for themselves, I&#8217;ve created a way for the everyone in the world (in theory) to vote. Introducing <a href="http://thefridaycontest.com" title="thefridaycontest.com">thefridaycontest.com.</a> Every week there will be a different contest. This starts next week with my theme (which I need to pick today) but the site is live now. iPhone interface will come eventually.</p>
<p>I have to create a mini-admin for uploading new photos and updating theme information, but other than that it&#8217;s done. I&#8217;m deploying it using SpringLoops. It took over 40 versions and 7 hours to create. I like what I ended up with. So come on feedback, like it, hate it, etc.?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liveloveautumnfall.com/2008/05/09/the-friday-contest/feed/</wfw:commentRss>
		</item>
		<item>
		<title>jQuery &#8220;click&#8221; and Safari</title>
		<link>http://www.liveloveautumnfall.com/2008/03/13/jquery-click-and-safari/</link>
		<comments>http://www.liveloveautumnfall.com/2008/03/13/jquery-click-and-safari/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 02:13:54 +0000</pubDate>
		<dc:creator>Joshua Kendall</dc:creator>
		
		<category><![CDATA[Authorize.net]]></category>

		<category><![CDATA[Development]]></category>

		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.liveloveautumnfall.com/2008/03/13/jquery-click-and-safari/</guid>
		<description><![CDATA[Earlier this week I was working on migrating a online donation form that connects to Authorize.net for credit card and bank account donations into a Drupal installation. I built the original form and at the time had used Script.aculo.us to create sliding content blocks that appear when you switch between a one time contribution and [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier this week I was working on migrating a online donation form that connects to Authorize.net for credit card and bank account donations into a Drupal installation. I built the original form and at the time had used Script.aculo.us to create sliding content blocks that appear when you switch between a one time contribution and an automated recurring contribution. Everything worked great in every browser I tested.<br />
During the migration I ended up re-writing the script and decided to ditch Script.aculo.us for my Javascript library of choice, jQuery.</p>
<p>Everything worked great as before, a few bugs popped up because of they way it had to be setup. After fixing those bugs and sending it to the client for approval, I was informed (by the client) that the sliding panes don&#8217;t work in Safari 3 for the Mac. I opened the page in Safari and sure enough they didn&#8217;t work. After checking that the Javascript file had indeed loaded, I looked on Google just knowing someone had to of experienced this same problem.</p>
<p>I didn&#8217;t find anything, which was discouraging at first until I had an idea. I had used code similar to $(&#8217;.field&#8217;).focus(); with a function to run when you focus on a form field (usually radio buttons). I made a duplicate of my Javascript file and then did a find and replace. Replacing every occurrence of &#8220;focus()&#8221; with &#8220;click()&#8221;. Tested the file and sure enough the panes worked in Safari. I&#8217;m not sure why &#8220;focus()&#8221; wasn&#8217;t working, focus should be a valid event in every browser. If anyone has information on why &#8220;focus()&#8221; in jQuery doesn&#8217;t work on Safari 3 for the Mac, I&#8217;d be interested in hearing it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liveloveautumnfall.com/2008/03/13/jquery-click-and-safari/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CodeIgniter .htaccess for DreamHost</title>
		<link>http://www.liveloveautumnfall.com/2008/02/06/codeigniter-htaccess-for-dreamhost/</link>
		<comments>http://www.liveloveautumnfall.com/2008/02/06/codeigniter-htaccess-for-dreamhost/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 00:18:50 +0000</pubDate>
		<dc:creator>Joshua Kendall</dc:creator>
		
		<category><![CDATA[CodeIgniter]]></category>

		<category><![CDATA[Development]]></category>

		<category><![CDATA[DreamHost]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://www.liveloveautumnfall.com/2008/02/06/codeigniter-htaccess-for-dreamhost/</guid>
		<description><![CDATA[Recently I had an issue with CodeIgniter on my DreamHost account. I uploaded the basic .htaccess file that I&#8217;ve used on every CodeIgniter install that I&#8217;ve done. Including another one on my DreamHost account. After spending two hour searching the CodeIgniter forums and trying the different suggestions, I contacted DreamHost support to verify my Private [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I had an issue with CodeIgniter on my DreamHost account. I uploaded the basic .htaccess file that I&#8217;ve used on every CodeIgniter install that I&#8217;ve done. Including another one on my DreamHost account. After spending two hour searching the CodeIgniter forums and trying the different suggestions, I contacted DreamHost support to verify my Private Server had the mod_rewrite module installed.</p>
<p>Of course they come back and say that it is indeed installed. So I ended up exactly where I was when I started, until I went through my log files and started removing lines from my .htaccess file until the error my logs revealed disappeared. Now, I have no idea how the original .htaccess file works on one sub-domain, but not another. It doesn&#8217;t really matter to me either, I&#8217;ll just be using the new one from now on.</p>
<p><a href="http://www.liveloveautumnfall.com/wp-content/uploads/2008/02/ci_htaccess.txt" title="CodeIgniter .htaccess for DreamHost">CodeIgniter .htaccess for DreamHost</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.liveloveautumnfall.com/2008/02/06/codeigniter-htaccess-for-dreamhost/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Topics</title>
		<link>http://www.liveloveautumnfall.com/2008/02/06/topics/</link>
		<comments>http://www.liveloveautumnfall.com/2008/02/06/topics/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 23:51:26 +0000</pubDate>
		<dc:creator>Joshua Kendall</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.liveloveautumnfall.com/2008/02/06/topics/</guid>
		<description><![CDATA[I&#8217;ve got a couple of topics in queue for this blog. Hopefully one will be up tonight. I actually would like to hear what you would like to read/learn about. If you have any PHP, CSS, jQuery, or CodeIgniter questions, feel free to leave them in the comments.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got a couple of topics in queue for this blog. Hopefully one will be up tonight. I actually would like to hear what you would like to read/learn about. If you have any PHP, CSS, jQuery, or CodeIgniter questions, feel free to leave them in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liveloveautumnfall.com/2008/02/06/topics/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CodeIgniter</title>
		<link>http://www.liveloveautumnfall.com/2008/01/20/codeigniter/</link>
		<comments>http://www.liveloveautumnfall.com/2008/01/20/codeigniter/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 14:30:07 +0000</pubDate>
		<dc:creator>Joshua Kendall</dc:creator>
		
		<category><![CDATA[CodeIgniter]]></category>

		<category><![CDATA[Development]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[EllisLab]]></category>

		<category><![CDATA[Inovat]]></category>

		<guid isPermaLink="false">http://www.liveloveautumnfall.com/2008/01/20/codeigniter/</guid>
		<description><![CDATA[EllisLab has this amazing PHP framework called CodeIgniter. Up until the end of September I guess, I had never used a web framework. I played with Ruby on Rails a bit before, so I new what &#60;acronym title=&#8221;Model View Controller&#8221;&#62;MVC&#60;/acronym&#62; frameworks were, but I didn&#8217;t want use them because it required I learn more for [...]]]></description>
			<content:encoded><![CDATA[<p>EllisLab has this amazing PHP framework called CodeIgniter. Up until the end of September I guess, I had never used a web framework. I played with Ruby on Rails a bit before, so I new what &lt;acronym title=&#8221;Model View Controller&#8221;&gt;MVC&lt;/acronym&gt; frameworks were, but I didn&#8217;t want use them because it required I learn more for what I saw as little benefit. In September I was thrown into a project at work that two other developers had been working on for months, and they were using CodeIgniter. At first glance I thought, &#8220;what the fuck am I going to be able to help them with?&#8221;, and for the first month I only was asked to make only text and style changes (the fact that we were using SVN also made things interesting).</p>
<p>Then the opportunity arrised where I could learn the framework. I was working on a larger project and I was sick of having so many pages, plus anyone who looked at the site could figure out it&#8217;s PHP. I downloaded CodeIgniter and in about a week I had recreated what had taken me about a month to do in normal PHP. I&#8217;ve since been able to make more changes to the original project that I was thrown into. I&#8217;m using CodeIgniter on more projects as they come in at work, and on some of my own which will hopefully launch soon.</p>
<p>ElliLab has done an amazing job of creating a framework, and I applaud them for releasing this to the community as open-source.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liveloveautumnfall.com/2008/01/20/codeigniter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>As you may of noticed&#8230;</title>
		<link>http://www.liveloveautumnfall.com/2007/12/31/as-you-may-of-noticed/</link>
		<comments>http://www.liveloveautumnfall.com/2007/12/31/as-you-may-of-noticed/#comments</comments>
		<pubDate>Tue, 01 Jan 2008 03:53:08 +0000</pubDate>
		<dc:creator>Joshua Kendall</dc:creator>
		
		<category><![CDATA[Site Update]]></category>

		<guid isPermaLink="false">http://www.liveloveautumnfall.com/2007/12/31/as-you-may-of-noticed/</guid>
		<description><![CDATA[This is not what you are probably used to seeing (if you&#8217;ve seen the site before today at least). I removed the old version, installed a fresh copy of WordPress, and I am now using the &#8220;Simpla&#8221; theme. I wanted a fresh start for the new year. The old version of the site was launched [...]]]></description>
			<content:encoded><![CDATA[<p>This is not what you are probably used to seeing (if you&#8217;ve seen the site before today at least). I removed the old version, installed a fresh copy of WordPress, and I am now using the &#8220;Simpla&#8221; theme. I wanted a fresh start for the new year. The old version of the site was launched November 1st, 2006. It needed a new design for a while now, but I don&#8217;t have the time to create a new design and I wanted to separate my blog into two separate sites. One for development articles (this site) and one for personal posts (<a href="http://www.liveloveautumnfall.net">LiveLoveAutumnFall.net</a>). Both sites are running the same exact setup because I want them to look the same and in 2008 I&#8217;m focusing on the content. I am going to blog more often.</p>
<p>I am moving all of the worthwhile development/design articles from the old version of the site to this version. It&#8217;s a slow process because of the formatting Textpattern uses but I hope to have it done by tomorrow. If an article from the old site is missing, and you would really like to see it here, just leave a comment and reference it&#8217;s title, or general subject.</p>
<p>Happy New Year everyone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liveloveautumnfall.com/2007/12/31/as-you-may-of-noticed/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Animated CSS Percentage Bars</title>
		<link>http://www.liveloveautumnfall.com/2007/11/30/animated-css-percentage-bars/</link>
		<comments>http://www.liveloveautumnfall.com/2007/11/30/animated-css-percentage-bars/#comments</comments>
		<pubDate>Sat, 01 Dec 2007 04:26:38 +0000</pubDate>
		<dc:creator>Joshua Kendall</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.liveloveautumnfall.com/?p=3</guid>
		<description><![CDATA[Matt McInerney posted a tutorial on &#8220;CSS Percentage Bars&#8221; earlier today and I like the idea (and the code). As soon as I saw Matt&#8217;s percentage bars I got to thinking of what I could do with them. Well jQuery came to mind since I have been using it a lot lately, and you can [...]]]></description>
			<content:encoded><![CDATA[<p>Matt McInerney posted a tutorial on &#8220;<a href="http://pixelspread.com/blog/296/css-percentage-bars">CSS Percentage Bars</a>&#8221; earlier today and I like the idea (and the code). As soon as I saw Matt&#8217;s percentage bars I got to thinking of what I could do with them. Well jQuery came to mind since I have been using it a lot lately, and you can see what I came up with <a href="http://www.liveloveautumnfall.com/examples/jquery/percentage/">here</a>.</p>
<p>It&#8217;s essentially Matt&#8217;s code with a couple of tweaks. I removed the need for inline styles by using the title attribute on the bar div.</p>
<pre>&lt;div class="box"&gt;
	&lt;div class="bar" title="70"&gt;&lt;/div&gt;
&lt;/div&gt;</pre>
<p>The above example will create a bar that animates from 0% to 70%. It will also display the width of the bar just like Matt&#8217;s example does.</p>
<p>You can download all of the source files to create the bars on the example page. I hope someone finds them useful and if you happen to use them, send me a link so I can see them in action.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liveloveautumnfall.com/2007/11/30/animated-css-percentage-bars/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
