<?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>web2.0goodies.com &#187; 100 Weeks of PHP</title>
	<atom:link href="http://web2.0goodies.com/blog/category/100-weeks-of-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://web2.0goodies.com/blog</link>
	<description>Tips, Tricks, and How To's for Web 2.0</description>
	<lastBuildDate>Tue, 03 Jan 2012 05:34:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>So you want PHP Templates, eh?</title>
		<link>http://web2.0goodies.com/blog/hacks/so-you-want-a-php-template-eh/</link>
		<comments>http://web2.0goodies.com/blog/hacks/so-you-want-a-php-template-eh/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 05:15:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[100 Weeks of PHP]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[php5]]></category>

		<guid isPermaLink="false">http://web2.0goodies.com/blog/?p=60</guid>
		<description><![CDATA[PHP Templates! Everyone wants them, some people try to provide them to others, but deep down inside, you all know smarty isn&#8217;t the way to go&#8230; Allow me to show you a better way. Just use PHP! Yes, that&#8217;s right! PHP is almost designed from the ground up natively support templates! Here&#8217;s the secret&#8230; When [...]]]></description>
			<content:encoded><![CDATA[<p>PHP Templates!  Everyone wants them, some people try to provide them to others, but deep down inside, you all know smarty isn&#8217;t the way to go&#8230;  Allow me to show you a better way.</p>
<p>Just use PHP!  Yes, that&#8217;s right!  PHP is almost designed from the ground up natively support templates!</p>
<p>Here&#8217;s the secret&#8230;  When you include a php file (using the include(&#8220;somefile.php&#8221;) method, the php code inside the included file has the same variable scope as the code block that included it&#8230;  So&#8230;  Take the following two files&#8230;.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">(index.php)
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
  go<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">function</span> go<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$a</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Hi There!&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'my_view.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">(my_view.php)
&lt;html&gt;
&lt;body&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$a</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/body&gt;
&lt;/html&gt;</pre></div></div>

<p>The output would be:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">Hi There<span style="color: #339933;">!</span></pre></div></div>

<p>If you&#8217;re a noob, another name for this (if you make extra effort to not put anything but loops, and echos in your template) is MVC (Model View Controller).  While it isn&#8217;t a complete implementation, it&#8217;s a really really good start and makes writing and maintaining a site WAY easier.  Cake PHP uses this approach for it&#8217;s views (aka templates) as well.  Java uses this, but instead of the &#8220;view&#8221; using the local variables where a page is displayed, the data you want the view (or jsp page in java) to have access to are put in the request object as an &#8220;attribute&#8221;.</p>
<p>I, personally, put the variables I want to use in a &#8220;template&#8221; (aka &#8220;view&#8221;) in a global array ($GLOBALS['params']['name'] = &#8220;bob&#8221;;)  It isn&#8217;t the best practice, because some part of your code far away could write to this and mess something up, but for simple sites, I find it quick and easy.  </p>
<p>Of course, if you REALLY want a templating system, you could use SMARTY.  (Blech!)  But, I really recommend you just get used the to the echo statements and use php to render templates.</p>
<p>So, some sample code from a site of mine is:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span>BASE_FS_PATH <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/classes/BookService.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">switch</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_REQUEST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'action'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'Research'</span><span style="color: #339933;">:</span>
		<span style="color: #000088;">$book</span> <span style="color: #339933;">=</span> BookService<span style="color: #339933;">::</span><span style="color: #004000;">importBook</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'ean'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$_GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'params'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'book'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$book</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span>BASE_FS_PATH <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/views/pages/research.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	
		<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'mark_not_sellable'</span><span style="color: #339933;">:</span>
		<span style="color: #000088;">$book</span> <span style="color: #339933;">=</span> BookService<span style="color: #339933;">::</span><span style="color: #004000;">importBook</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'ean'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$book</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">sellable</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'no'</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$book</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">save</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$_GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'params'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'msg'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Book Marked As Not Sellable.'</span><span style="color: #339933;">;</span>
		show_details<span style="color: #009900;">&#40;</span><span style="color: #000088;">$book</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'mark_not_available'</span><span style="color: #339933;">:</span>
		<span style="color: #000088;">$book</span> <span style="color: #339933;">=</span> BookService<span style="color: #339933;">::</span><span style="color: #004000;">importBook</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'ean'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$book</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">available</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'no'</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$book</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">save</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$_GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'params'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'msg'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Book Marked As Not Available.'</span><span style="color: #339933;">;</span>
		show_details<span style="color: #009900;">&#40;</span><span style="color: #000088;">$book</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'details'</span><span style="color: #339933;">:</span>
		<span style="color: #000088;">$book</span> <span style="color: #339933;">=</span> BookService<span style="color: #339933;">::</span><span style="color: #004000;">importBook</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'ean'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		show_details<span style="color: #009900;">&#40;</span><span style="color: #000088;">$book</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">default</span><span style="color: #339933;">:</span>
		<span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span>BASE_FS_PATH <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/views/pages/research.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> show_details<span style="color: #009900;">&#40;</span><span style="color: #000088;">$book</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$_GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'params'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'book'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$book</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span>BASE_FS_PATH <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/views/pages/details.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>And the &#8220;view&#8221; for this code (details.php) is:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;body style=&quot;width:950px; margin: 0 auto; text-align: left;&quot; class=&quot; yui-skin-sam&quot;&gt;
		<span style="color: #000000; font-weight: bold;">&lt;?php</span> 
			<span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span>BASE_FS_PATH <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/views/pieces/menu_and_js.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
		&lt;div style=&quot;text-align: center;&quot;&gt;
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$_GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'params'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'msg'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		&lt;/div&gt;
&nbsp;
		&lt;table&gt;
		 &lt;tr&gt;
		  &lt;td&gt;
			&lt;h1&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$_GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'params'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'book'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/h2&gt;
			&lt;ul&gt;
			&lt;li&gt;Ean: <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$_GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'params'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'book'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ean</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/li&gt;
			&lt;li&gt;Available: <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$_GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'params'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'book'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">available</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/li&gt;
			&lt;li&gt;Imported: <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$_GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'params'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'book'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">import_date</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/li&gt;
			&lt;li&gt;Cost: <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$_GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'params'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'book'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">cost</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/li&gt;
			&lt;li&gt;Change In Inventory: <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$_GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'params'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'book'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">change_in_inventory</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/li&gt;
			&lt;/ul&gt;
			&lt;h2&gt;Urls&lt;/h2&gt;
                         (More Code That's been removed for this example)</pre></div></div>

<p>Anyways, there are LOTs of templating engines out there you can use instead, but I would discourage it.  This is the fastest, simplest, most powerful way to do templates (IMO).</p>
]]></content:encoded>
			<wfw:commentRss>http://web2.0goodies.com/blog/hacks/so-you-want-a-php-template-eh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a PHP Development Server on Windows</title>
		<link>http://web2.0goodies.com/blog/php5/setting-up-a-php-development-server-on-windows/</link>
		<comments>http://web2.0goodies.com/blog/php5/setting-up-a-php-development-server-on-windows/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 04:01:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[100 Weeks of PHP]]></category>
		<category><![CDATA[php5]]></category>

		<guid isPermaLink="false">http://web2.0goodies.com/blog/?p=57</guid>
		<description><![CDATA[I know of four different ways to do this. I&#8217;m going to cover them in the order of my personal preference (and ease). Install WAMP Wamp is probably the easiest quickest way to get an apache server running PHP on your computer. Just download the install here: Wamp Download run it, use the tool to [...]]]></description>
			<content:encoded><![CDATA[<p>I know of four different ways to do this.  I&#8217;m going to cover them in the order of my personal preference (and ease).</p>
<h2>Install WAMP</h2>
<p><a href="http://www.wampserver.com/en/">Wamp</a> is probably the easiest quickest way to get an apache server running PHP on your computer.</p>
<p>Just download the install here: <a href="http://www.wampserver.com/en/download.php">Wamp Download</a>  run it, use the tool to make sure you don&#8217;t have anything running on port 80, and start the two services (apache, and mysql) by right clicking the icon in the task bar and clicking &#8220;Run All Services&#8221;</p>
<h2>Download and Run Uniform</h2>
<p><a href="http://www.uniformserver.com/">Uniform</a> is different from WAMP and XAMP in that there is nothing to install, you just download it, and run it.  This provides you with the ability to create a seperate &#8220;server&#8221; for each project you do, with it&#8217;s own mysql and apache binaries, configs, etc&#8230;  I, personaly, perfer WAMP and writing all my apps to be location agnostic, so that they run anywhere and co-exist peacefully, but you may prefer this.</p>
<h2>Install XAMPP</h2>
<p><a href="http://www.apachefriends.org/en/xampp-windows.html">XAMPP</a> is like WAMP.  You download it, install it, and click go, but the only time I tried it (a few years ago) I ran into some difficulties.  At the time they didn&#8217;t have a control panel like WAMP.  This may in fact be the superior way to go, but I like my WAMP.</p>
<h2>Setup <a href="http://apache.imghat.com/httpd/binaries/win32/">Apache</a>, <a href="http://dev.mysql.com/downloads/mysql/5.1.html#win32">MySQL</a>, and <a href="http://www.php.net/downloads.php">PHP</a> Binaries.</h2>
<p>I did this once.  It took me a few days (this was like 3 years ago, when my experience with PHP was &#8216;nill) If your a masochist this is the way to go.  You&#8217;ll learn all the nitty gritties (or atleast be impeded by them).  Hopefully you can beat my time.</p>
]]></content:encoded>
			<wfw:commentRss>http://web2.0goodies.com/blog/php5/setting-up-a-php-development-server-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tell us what you want to know!</title>
		<link>http://web2.0goodies.com/blog/100-weeks-of-php/tell-us-what-you-want-to-know/</link>
		<comments>http://web2.0goodies.com/blog/100-weeks-of-php/tell-us-what-you-want-to-know/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 05:02:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[100 Weeks of PHP]]></category>

		<guid isPermaLink="false">http://web2.0goodies.com/blog/?p=46</guid>
		<description><![CDATA[We love learning. There&#8217;s nothing we like more then learning, except sharing what we&#8217;ve learned. Without teaching, there isn&#8217;t much point to learning. So, tell us what you want to know. Tell us what obscure technology, or command, or syntax you want to know more about, and We&#8217;ll write an article about it! Just leave [...]]]></description>
			<content:encoded><![CDATA[<p>We love learning.  There&#8217;s nothing we like more then learning, except sharing what we&#8217;ve learned.  Without teaching, there isn&#8217;t much point to learning.  So, tell us what you want to know.  Tell us what obscure technology, or command, or syntax you want to know more about, and We&#8217;ll write an article about it!  Just leave a comment below with what you want to know.</p>
]]></content:encoded>
			<wfw:commentRss>http://web2.0goodies.com/blog/100-weeks-of-php/tell-us-what-you-want-to-know/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Use Other People&#8217;s wheels when possible&#8230;</title>
		<link>http://web2.0goodies.com/blog/100-weeks-of-php/use-other-peoples-wheels/</link>
		<comments>http://web2.0goodies.com/blog/100-weeks-of-php/use-other-peoples-wheels/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 04:39:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[100 Weeks of PHP]]></category>

		<guid isPermaLink="false">http://web2.0goodies.com/blog/?p=38</guid>
		<description><![CDATA[Week #1 ALWAYS look for a wheel before you invent it. I work at a software company called &#8220;Infusionsoft&#8221;. We write this kickbutt marketing software. One of our Software Engineer III&#8217;s (that&#8217;s the highest). Criticizes anyone anytime they invent something that already exists in our code. He is like a walking Google of existing code. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Week #1</strong></p>
<ul>
ALWAYS look for a wheel before you invent it.</ul>
<p>I work at a software company called &#8220;Infusionsoft&#8221;.  We write this kickbutt marketing software.  One of our Software Engineer III&#8217;s (that&#8217;s the highest).  Criticizes anyone anytime they invent something that already exists in our code.  He is like a walking Google of existing code.  </p>
<p>This is a rule that applies across all programming languages and other aspects of life.  If someone else has done it, see if you can either use what they did, or learn from it.  Don&#8217;t feel bad if you re-invent a few wheels along the way.  Sometimes it is easier to just write your own rather then spend hours pouring through searches for someone elses.</p>
]]></content:encoded>
			<wfw:commentRss>http://web2.0goodies.com/blog/100-weeks-of-php/use-other-peoples-wheels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

