<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Adam Brett &#187; PHP</title>
	<atom:link href="http://www.adambrett.co.uk/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adambrett.co.uk</link>
	<description>Tips and tricks on web development and more</description>
	<lastBuildDate>Fri, 13 Aug 2010 11:50:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Setup LAMP stack on Ubuntu 10.04 the easy way&#8230;</title>
		<link>http://www.adambrett.co.uk/2010/07/setup-lamp-stack-on-ubuntu-10-04-the-easy-way/</link>
		<comments>http://www.adambrett.co.uk/2010/07/setup-lamp-stack-on-ubuntu-10-04-the-easy-way/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 18:49:25 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.adambrett.co.uk/?p=91</guid>
		<description><![CDATA[Open up a terminal session, type the following: sudo apt-get install phpmyadmin Everything else will be taken care of with dependencies. That&#8217;s all! Related posts:CakePHP on Webfusion, Ubuntu 8.04, suPHP


Related posts:<ol><li><a href='http://www.adambrett.co.uk/2010/04/cakephp-on-webfusion-ubuntu-8-04-suphp/' rel='bookmark' title='Permanent Link: CakePHP on Webfusion, Ubuntu 8.04, suPHP'>CakePHP on Webfusion, Ubuntu 8.04, suPHP</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.adambrett.co.uk/2010/07/setup-lamp-stack-on-ubuntu-10-04-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a sub-category left menu in Magento (that behaves itself)</title>
		<link>http://www.adambrett.co.uk/2010/04/creating-a-sub-category-left-menu-in-magento-that-behaves-itself/</link>
		<comments>http://www.adambrett.co.uk/2010/04/creating-a-sub-category-left-menu-in-magento-that-behaves-itself/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 14:24:40 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Categories]]></category>
		<category><![CDATA[Menu]]></category>

		<guid isPermaLink="false">http://www.adambrett.co.uk/?p=86</guid>
		<description><![CDATA[I just had to do this, and couldn&#8217;t find any code anywhere that did it, and due to the lack of documentation with Magento it wasn&#8217;t fun to put together, so this may help someone: &#60;div class=&#34;leftnav-container&#34;&#62; &#60;?php if (!Mage::registry(&#039;current_category&#039;)) return; $_categories = $this-&#62;getCurrentChildCategories(); $_count = is_array($_categories) ? count($_categories) : $_categories-&#62;count(); $_current = Mage::registry(&#039;current_category&#039;); $_parent_id [...]


Related posts:<ol><li><a href='http://www.adambrett.co.uk/2009/09/how-to-alternate-table-row-colours-the-easy-way/' rel='bookmark' title='Permanent Link: How to alternate table row colours the easy way'>How to alternate table row colours the easy way</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.adambrett.co.uk/2010/04/creating-a-sub-category-left-menu-in-magento-that-behaves-itself/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple Sluggable Behavior for CakePHP</title>
		<link>http://www.adambrett.co.uk/2009/11/simple-sluggable-behavior-for-cakephp/</link>
		<comments>http://www.adambrett.co.uk/2009/11/simple-sluggable-behavior-for-cakephp/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 11:48:26 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.adambrett.co.uk/?p=46</guid>
		<description><![CDATA[For quite a while now pretty much the defacto standard for generating automagic slugs in CakePHP has been the Sluggable Behavior by Mariano Iglesias (mariano) in the Cake Bakery (http://bakery.cakephp.org/articles/view/sluggable-behavior). I&#8217;ve never quite gotten on with this behavior, it&#8217;s not that it doesn&#8217;t do what it says, it just seems like it uses a lot [...]


Related posts:<ol><li><a href='http://www.adambrett.co.uk/2009/09/simple-mvc-javascript-for-cakephp/' rel='bookmark' title='Permanent Link: Simple &ldquo;MVC&rdquo; Javascript for CakePHP'>Simple &ldquo;MVC&rdquo; Javascript for CakePHP</a></li>
<li><a href='http://www.adambrett.co.uk/2009/09/integrating-the-auth-component-with-a-bespoke-3rd-party-single-sign-on-service-in-cakephp/' rel='bookmark' title='Permanent Link: Integrating the Auth Component with a bespoke 3rd party Single Sign-On Service in CakePHP'>Integrating the Auth Component with a bespoke 3rd party Single Sign-On Service in CakePHP</a></li>
<li><a href='http://www.adambrett.co.uk/2010/02/easy-multi-page-forms-or-wizards-with-cakephp/' rel='bookmark' title='Permanent Link: Easy Multi Page Forms (or Wizards) with CakePHP'>Easy Multi Page Forms (or Wizards) with CakePHP</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.adambrett.co.uk/2009/11/simple-sluggable-behavior-for-cakephp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integrating the Auth Component with a bespoke 3rd party Single Sign-On Service in CakePHP</title>
		<link>http://www.adambrett.co.uk/2009/09/integrating-the-auth-component-with-a-bespoke-3rd-party-single-sign-on-service-in-cakephp/</link>
		<comments>http://www.adambrett.co.uk/2009/09/integrating-the-auth-component-with-a-bespoke-3rd-party-single-sign-on-service-in-cakephp/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 13:36:06 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Auth Component]]></category>
		<category><![CDATA[Single Sign-On]]></category>

		<guid isPermaLink="false">http://www.adambrett.co.uk/?p=30</guid>
		<description><![CDATA[Background I recently had to develop a marketing portal for a large French car manufacturer. They have a number of internal sites, which are accessed by all internal staff, all sales people at individual dealers, and also external agencies (such as us). They have one central &#8220;portal&#8221;, which is where a user logs in, and [...]


Related posts:<ol><li><a href='http://www.adambrett.co.uk/2009/09/simple-mvc-javascript-for-cakephp/' rel='bookmark' title='Permanent Link: Simple &ldquo;MVC&rdquo; Javascript for CakePHP'>Simple &ldquo;MVC&rdquo; Javascript for CakePHP</a></li>
<li><a href='http://www.adambrett.co.uk/2010/02/easy-multi-page-forms-or-wizards-with-cakephp/' rel='bookmark' title='Permanent Link: Easy Multi Page Forms (or Wizards) with CakePHP'>Easy Multi Page Forms (or Wizards) with CakePHP</a></li>
<li><a href='http://www.adambrett.co.uk/2009/11/simple-sluggable-behavior-for-cakephp/' rel='bookmark' title='Permanent Link: Simple Sluggable Behavior for CakePHP'>Simple Sluggable Behavior for CakePHP</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.adambrett.co.uk/2009/09/integrating-the-auth-component-with-a-bespoke-3rd-party-single-sign-on-service-in-cakephp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to alternate table row colours the easy way</title>
		<link>http://www.adambrett.co.uk/2009/09/how-to-alternate-table-row-colours-the-easy-way/</link>
		<comments>http://www.adambrett.co.uk/2009/09/how-to-alternate-table-row-colours-the-easy-way/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 10:14:55 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[helper]]></category>
		<category><![CDATA[tables]]></category>

		<guid isPermaLink="false">http://www.adambrett.co.uk/?p=26</guid>
		<description><![CDATA[We&#8217;ve all seen the familiar code in our baked index files: &#60;?php $i = 0; foreach ($pricings as $pricing): $class = null; if ($i++ % 2 == 0) { $class = &#039; class=&#34;altrow&#34;&#039;; } ?&#62; &#60;tr &#60;?php echo $class; ?&#62;&#62; I&#8217;ve always thought that this wasn&#8217;t quite as elegant as it should be, and certainly [...]


Related posts:<ol><li><a href='http://www.adambrett.co.uk/2010/03/good-resource-for-mysql-table-types/' rel='bookmark' title='Permanent Link: Good resource for MySQL table types&#8230;'>Good resource for MySQL table types&#8230;</a></li>
<li><a href='http://www.adambrett.co.uk/2010/04/creating-a-sub-category-left-menu-in-magento-that-behaves-itself/' rel='bookmark' title='Permanent Link: Creating a sub-category left menu in Magento (that behaves itself)'>Creating a sub-category left menu in Magento (that behaves itself)</a></li>
<li><a href='http://www.adambrett.co.uk/2009/09/simple-mvc-javascript-for-cakephp/' rel='bookmark' title='Permanent Link: Simple &ldquo;MVC&rdquo; Javascript for CakePHP'>Simple &ldquo;MVC&rdquo; Javascript for CakePHP</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.adambrett.co.uk/2009/09/how-to-alternate-table-row-colours-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple &#8220;MVC&#8221; Javascript for CakePHP</title>
		<link>http://www.adambrett.co.uk/2009/09/simple-mvc-javascript-for-cakephp/</link>
		<comments>http://www.adambrett.co.uk/2009/09/simple-mvc-javascript-for-cakephp/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 14:35:18 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[mvc]]></category>

		<guid isPermaLink="false">http://www.adambrett.co.uk/2009/09/simple-mvc-javascript-for-cakephp/</guid>
		<description><![CDATA[On a recent project we had the need to provide Javascript across a very large project, with lots of controllers, and lots of actions.  We had a number of requirements for the Javascript: Requirements We wanted the Javascript to be object oriented Although the application would not be public facing, internally the users were using [...]


Related posts:<ol><li><a href='http://www.adambrett.co.uk/2009/11/simple-sluggable-behavior-for-cakephp/' rel='bookmark' title='Permanent Link: Simple Sluggable Behavior for CakePHP'>Simple Sluggable Behavior for CakePHP</a></li>
<li><a href='http://www.adambrett.co.uk/2009/09/integrating-the-auth-component-with-a-bespoke-3rd-party-single-sign-on-service-in-cakephp/' rel='bookmark' title='Permanent Link: Integrating the Auth Component with a bespoke 3rd party Single Sign-On Service in CakePHP'>Integrating the Auth Component with a bespoke 3rd party Single Sign-On Service in CakePHP</a></li>
<li><a href='http://www.adambrett.co.uk/2010/02/easy-multi-page-forms-or-wizards-with-cakephp/' rel='bookmark' title='Permanent Link: Easy Multi Page Forms (or Wizards) with CakePHP'>Easy Multi Page Forms (or Wizards) with CakePHP</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.adambrett.co.uk/2009/09/simple-mvc-javascript-for-cakephp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
