<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.6" -->
<rss version="0.92">
<channel>
	<title>mrkris</title>
	<link>http://www.mrkris.com</link>
	<description>I have no particular talent. I am merely inquisitive.</description>
	<lastBuildDate>Sat, 02 Aug 2008 21:10:16 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Nifty RubyOnRails Layout Method</title>
		<description><![CDATA[So I find myself in many situations where different actions need different layouts, which is common in large multiuser systems. For example, in my system, when you are viewing a user index, it loads the layout &#8216;application&#8217;. When you&#8217;re viewing the edit action, it loads the layout &#8216;profile&#8217;, otherwise it loads the layout &#8216;user&#8217;. I [...]]]></description>
		<link>http://www.mrkris.com/2008/08/01/nifty-rubyonrails-layout-method/</link>
			</item>
	<item>
		<title>PHP and Super Global Arrays</title>
		<description><![CDATA[The problem with the PHP super global arrays, such as $_GET and $_POST is they contain the raw query parameters that the browser passes. I&#8217;ve seen more than my fair share of abuse when fixing clients apps where they have not properly sanitized user input, which leads to SQL inject and XSS attacks. This is [...]]]></description>
		<link>http://www.mrkris.com/2008/02/03/php-and-super-global-arrays/</link>
			</item>
	<item>
		<title>Complications installing RubyOnRails 2.0.2</title>
		<description><![CDATA[While sitting in my living room watching a movie and working on my laptop, I realized I had forgotten to update my rails install to the latest 2.0.2. I did a `gem install rails` but it kept dieing with the wonderful OpenURI::HTTPError, regardless if I used the correct &#8211;source flag. Turns out if you do [...]]]></description>
		<link>http://www.mrkris.com/2007/12/18/complications-installing-rubyonrails-202/</link>
			</item>
	<item>
		<title>Just get your projects done</title>
		<description><![CDATA[I was speaking with a friend about current projects on the table and how we both try to do everything ourselves, which include the site design, the development and marketing. This is a direct copy and paste of what he said, and it holds much value:

&#8220;Its important to realize that when u create a project [...]]]></description>
		<link>http://www.mrkris.com/2007/06/15/just-get-your-projects-done/</link>
			</item>
	<item>
		<title>PHP Factory &#038; Singleton</title>
		<description><![CDATA[A friend sent me an ICQ today asking an easy way to load classes on the fly, but keep a registry of them to save resources if he calls said object more than once per page load. Here is the quick example I gave him:


Code: php


&#160;


class loader {


&#160; &#160; static $storage;


&#160;


&#160; &#160; public function factory($name) [...]]]></description>
		<link>http://www.mrkris.com/2007/06/12/php-factory-singleton/</link>
			</item>
	<item>
		<title>SEO vs Social Networking</title>
		<description><![CDATA[There has been a major market shift in internet marketing from Search Engine placement to Social Networking in the past couple years, and for many reasons. SEO isn&#8217;t reliable, plain and simple. You can be #1 one day, then #9,882,341 the next day. And companies spend thousands - often tens of thousands - a year [...]]]></description>
		<link>http://www.mrkris.com/2007/06/06/seo-vs-social-networking/</link>
			</item>
</channel>
</rss>
