<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/1.5.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>Left Lane</title>
	<link>http://leftlane.org</link>
	<description>Life, web, and caffeine. By Pat Collins.</description>
	<pubDate>Wed, 02 Apr 2008 16:32:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.2</generator>
	<language>en</language>

		<item>
		<title>CakePHP: Rapid Application Development with&#160;PHP</title>
		<link>http://leftlane.org/2008/04/01/cakephp-rapid-application-development-with-php/</link>
		<comments>http://leftlane.org/2008/04/01/cakephp-rapid-application-development-with-php/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 21:45:42 +0000</pubDate>
		<dc:creator>Pat</dc:creator>
		
	<category>Development</category>
		<guid>http://leftlane.org/2008/04/01/cakephp-rapid-application-development-with-php/</guid>
		<description><![CDATA[<p>My talk on CakePHP went pretty well, though it did come to my attention after talking to a few folks afterwards that there were those in the room who need more help getting a start in server-side coding rather than getting a primer on a great framework for PHP. There is a wide range of [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>My talk on <a href="http://cakephp.org">CakePHP</a> went pretty well, though it did come to my attention after talking to a few folks afterwards that there were those in the room who need more help <strong>getting a start</strong> in server-side coding rather than getting a primer on a great framework for <acronym title="Hypertext PreProcessing">PHP</acronym>. There is a wide range of people who come to <a href="http://refreshpittsburgh.org">Refresh Pittsburgh</a> &#8212; designers and developers who have passions for front-end hacking like <acronym title="HyperText Markup Language">HTML</acronym>, <acronym title="Cascading Style Sheets">CSS</acronym> and JavaScript. My talk didn&#8217;t focus on getting the attention of those folks, so if I made you yawn I apologize!</p>

<p>I&#8217;ll refrain from posting my (admittedly lacking) Keynote presentation, because there are simply better resources out there for learning and understanding CakePHP and the concepts behind it. Currently, <a href="http://tempdocs.cakephp.org/#TOC4897">Tempdocs</a> is a great place to start. Skip to the bottom of this post for a more comprehensive list.</p>

<p><strong>For people looking to brush up on some basic <acronym title="Hypertext PreProcessing">PHP</acronym></strong> and MySQL before diving into Cake, here&#8217;s some great articles I&#8217;ve found:</p>

<h3><acronym title="Hypertext PreProcessing">PHP</acronym> and MySQL</h3>

<p>Before you start, you&#8217;ll need to get <acronym title="Hypertext PreProcessing">PHP</acronym> and MySQL working on your computer. I highly recommend these all-in-one packages: <a href="http://mamp.info/en/index.php">MAMP</a> (Mac) or <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a> (Windows). These packages come with Apache, <acronym title="Hypertext PreProcessing">PHP</acronym>, MySQL, and some common tools like phpMyAdmin, a web-based MySQL administration tool.</p>

<ul>
<li>The <acronym title="Hypertext PreProcessing">PHP</acronym> Anthology Volume 1
<ol>
<li><a href="http://www.sitepoint.com/article/php-anthology-1-1-php-basics">Chapter 1 - <acronym title="Hypertext PreProcessing">PHP</acronym> Basics</a></li>
<li><a href="http://www.sitepoint.com/article/object-oriented-php">Chapter 2 - Object Oriented <acronym title="Hypertext PreProcessing">PHP</acronym></a></li>
<li><a href="http://www.sitepoint.com/article/php-anthology-3-php-mysql">Chapter 3 - <acronym title="Hypertext PreProcessing">PHP</acronym> and MySQL</a></li>
</ol></li>
<li>Build your own Database Driven Website using <acronym title="Hypertext PreProcessing">PHP</acronym> &amp; MySQL (<a href="http://www.sitepoint.com/article/php-mysql-tutorial/2">links from here</a>)
<ol>
<li><a href="http://www.sitepoint.com/article/527">Getting Started with MySQL</a></li>
<li><a href="http://www.sitepoint.com/article/528">Getting Started with <acronym title="Hypertext PreProcessing">PHP</acronym></a></li>
<li><a href="http://www.sitepoint.com/article/530">Publishing MySQL Data on the Web</a></li>
</ol></li>
<li><a href="http://www.sitepoint.com/article/quick-php-tips">2 Quick <acronym title="Hypertext PreProcessing">PHP</acronym> Tips</a></li>
<li><a href="http://www.sitepoint.com/article/php-security-blunders">Top 7 <acronym title="Hypertext PreProcessing">PHP</acronym> Security Blunders</a></li>
</ul>

<h3>Cakeblog</h3>

<p><a href="http://code.google.com/p/cakeblog/">Cakeblog</a> is my (very bare and incomplete) blog application written in <acronym title="Hypertext PreProcessing">PHP</acronym> using Cake. I used it to reference actual code in the talk. It&#8217;s open-source, so I encourage everyone to download it, modify it, and customize it for yourself. Sometimes you just need an excuse to get started.</p>

<p>Here&#8217;s some basic instructions to get you off the ground:</p>

<ol>
<li>First you need to get <acronym title="Hypertext PreProcessing">PHP</acronym> and MySQL working on your computer. Again, I highly recommend <a href="http://mamp.info/en/index.php">MAMP</a> (Mac) or <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a> (Windows) for all-in-one solutions.</li>
<li>Get Subversion (SVN).
<ul>
<li>For Mac OS X, download Martin Ott&#8217;s install package and run it. If you want a <acronym title="Graphical User Interface">GUI</acronym> interface for working with SVN, I recommend <a href="http://www.apple.com/downloads/macosx/development_tools/svnx.html">svnX</a>.</li>
<li>For Windows, I recommend <a href="http://tortoisesvn.tigris.org/">TortoiseSVN</a>, which integrates with Windows pretty nicely.</li>
</ul></li>
<li><a href="http://code.google.com/p/cakeblog/source/checkout">Download your own</a> copy of Cakeblog at Google Code using SVN. After you&#8217;re done, you should see folders called &#8220;app&#8221;, &#8220;cake&#8221;, &#8220;docs&#8221; and &#8220;vendors&#8221; along with files called &#8220;.htaccess&#8221; and &#8220;index.php&#8221;. This is the basic folder structure.</li>
<li>Point your MAMP, XAMPP or home-baked web server to the folder you downloaded Cakeblog to. Restart the web server. Now if you go to &#8220;http://localhost&#8221; in your web browser. You should see some errors. This is because we don&#8217;t have a database yet!</li>
<li>Now, open up phpMyAdmin (should be &#8220;http://localhost/phpMyAdmin&#8221; or &#8220;http://localhost/phpmyadmin&#8221;), log in (root/root I think is the default username/password for MAMP. YMMV.), and create a database called &#8220;blog&#8221; on the main screen when you log in. (For added brownie points, select &#8220;utf8_general_ci&#8221; as the collation for the database.)</li>
<li>Make sure you&#8217;re now currently viewing the new empty &#8220;blog&#8221; database. Click the &#8220;Import&#8221; tab. Browse for the <acronym title="Structured Query Language (a database standard)">SQL</acronym> file called &#8220;blog.sql&#8221; in the &#8220;app/config/sql&#8221; folder and select it. Once you have, click &#8220;Go&#8221; at the bottom of the Import screen. Everything should import successfully.</li>
<li>Check out &#8220;http://localhost&#8221; in your web browser again. You should see the main front-end screen with a few blog posts. You got it working!</li>
<li>To log-in to the administrative back-end, go to &#8220;http://localhost/admin&#8221; or click the &#8220;admin&#8221; link in the top-right-hand corner and use &#8220;test&#8221; for the username and &#8220;test&#8221; for the password (both without quotes). Now you should be logged in.</li>
</ol>

<p>Let me know if you have any questions by leaving a comment on this post!</p>

<h3>CakePHP Resources</h3>

<p>Here&#8217;s some links I&#8217;ve used to understand the concepts behind CakePHP.</p>

<ul>
<li><a href="http://manual.cakephp.org/">The CakePHP Manual</a>. A nice walkthrough of why Cake exists and its features and benefits. From the people who created it. A great starting point.</li>
<li>A nice modern revision to the Manual: <a href="http://tempdocs.cakephp.org/">Tempdocs</a> and its successor: <a href="http://book.cakephp.org/">The Cookbook</a>. The introductory chapters are more detailed here.</li>
<li><a href="http://www.sitepoint.com/article/application-development-cakephp">The CakePHP Framework: Your First Bite</a></li>
<li>Cook up Web sites fast with CakePHP (a series of articles on the IBM developerWorks site)
<ul>
<li><a href="http://www.ibm.com/developerworks/edu/os-dw-os-php-cake1.html">Part 1: Adding related information and services</a></li>
<li><a href="http://www.ibm.com/developerworks/edu/os-dw-os-php-cake2.html">Part 2: Bake bigger and better with CakePHP</a></li>
<li><a href="http://www.ibm.com/developerworks/edu/os-dw-os-php-cake3.html">Part 3: Use Sanitize for your protection</a></li>
<li><a href="http://www.ibm.com/developerworks/edu/os-dw-os-php-cake4.html">Part 4: Use CakePHP&#8217;s Session and Request Handler components</a></li>
<li><a href="http://www.ibm.com/developerworks/edu/os-dw-os-php-cake5.html">Part 5: Adding cache</a></li>
</ul></li>
<li><a href="http://www.davidgoldingdesign.com/newbie-cakephp.pdf">CakePHP for Newbies</a>, a book in progress by David Golding.</li>
<li><a href="http://www.davidgoldingdesign.com/forum/viewforum.php?id=5">An online forum dedicated to the &#8220;CakePHP for Newbies&#8221; book.</a></li>
</ul>

<h3>Summary</h3>

<p>I&#8217;m confident once you start realizing the potential of using CakePHP as a platform for your <acronym title="Hypertext PreProcessing">PHP</acronym> web applications, you won&#8217;t look back. Take some of the resources I&#8217;ve provided and run with them. You may be surprised how much you learn.</p><p><a href="http://leftlane.org/2008/04/01/cakephp-rapid-application-development-with-php/#commentform">Make a comment.</a></p>]]></content:encoded>
			<wfw:commentRSS>http://leftlane.org/2008/04/01/cakephp-rapid-application-development-with-php/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Coffee: Caffe&#160;Intermezzo</title>
		<link>http://leftlane.org/2007/05/11/coffee-caffe-intermezzo/</link>
		<comments>http://leftlane.org/2007/05/11/coffee-caffe-intermezzo/#comments</comments>
		<pubDate>Fri, 11 May 2007 15:31:40 +0000</pubDate>
		<dc:creator>Pat</dc:creator>
		
	<category>Caffeine</category>
	<category>Pittsburgh</category>
		<guid>http://leftlane.org/2007/05/11/coffee-caffe-intermezzo/</guid>
		<description><![CDATA[<p>I was very pleasantly surprised when I went to check out new neighborhood hotspot Caffe Intermezzo, located in a cozy little spot on Smallman Street in Pittsburgh right off its intersection at 21st Street.</p>

<p>Luke welcomed me in, and after ordering a cappuccino I was presented with the many in-house offerings of such a drink. After [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>I was very pleasantly surprised when I went to check out new neighborhood hotspot <a href="http://www.caffe-intermezzo.com/">Caffe Intermezzo</a>, located in a cozy little spot on Smallman Street in Pittsburgh right off its intersection at 21st Street.</p>

<p>Luke welcomed me in, and after ordering a cappuccino I was presented with the many in-house offerings of such a drink. After explaining to me the ratios of espresso to milk in their different sizes, I knew I was dealing with someone who had done their homework. After discovering they buy from Intelligentsia and serve up the famous Black Cat, I was hooked. Luke and I talked coffee geekery while I thoroughly enjoyed two cappuccinos. Great people, great place. I&#8217;m hooked.</p><p><a href="http://leftlane.org/2007/05/11/coffee-caffe-intermezzo/#commentform">Make a comment.</a></p>]]></content:encoded>
			<wfw:commentRSS>http://leftlane.org/2007/05/11/coffee-caffe-intermezzo/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>I Suck at&#160;This</title>
		<link>http://leftlane.org/2007/04/27/i-suck-at-this/</link>
		<comments>http://leftlane.org/2007/04/27/i-suck-at-this/#comments</comments>
		<pubDate>Fri, 27 Apr 2007 15:43:56 +0000</pubDate>
		<dc:creator>Pat</dc:creator>
		
	<category>Personal</category>
	<category>Left Lane</category>
		<guid>http://leftlane.org/2007/04/27/i-suck-at-this/</guid>
		<description><![CDATA[<p>It&#8217;s safe to say I&#8217;ve been slacking when it comes to blogging. I&#8217;ve been so busy designing and developing for everybody else I&#8217;ve neglected my own publishing.</p>

<p>Oh well.</p>

<p>If you&#8217;re lucky enough to run your own company or are involved in a startup that encourages regular blogging, sure you can set aside some time during a [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s safe to say I&#8217;ve been slacking when it comes to blogging. I&#8217;ve been so busy designing and developing for everybody else I&#8217;ve neglected my own publishing.</p>

<p>Oh well.</p>

<p>If you&#8217;re lucky enough to run your own company or are involved in a startup that encourages regular blogging, sure you can set aside some time during a given week to blog about what you&#8217;ve been up to. (Read: <a href="http://www.wired.com/wired/archive/15.04/">Get Naked and Rule the World</a>.) As I&#8217;ve discovered though, there is a place and a time for secrecy in business, especially when working in the corporate sector. I&#8217;ve met a ton of very smart people who are working on seemingly very interesting projects, but the response I get is always the same: &#8220;I&#8217;d tell you about it, but I&#8217;m sworn to secrecy.&#8221; Sorry to say I&#8217;m in the same boat.</p><p><a href="http://leftlane.org/2007/04/27/i-suck-at-this/#commentform">Make a comment.</a></p>]]></content:encoded>
			<wfw:commentRSS>http://leftlane.org/2007/04/27/i-suck-at-this/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>What the Hell&#160;Happened?</title>
		<link>http://leftlane.org/2006/08/03/what-the-hell-happened/</link>
		<comments>http://leftlane.org/2006/08/03/what-the-hell-happened/#comments</comments>
		<pubDate>Fri, 04 Aug 2006 04:40:03 +0000</pubDate>
		<dc:creator>Pat</dc:creator>
		
	<category>Personal</category>
	<category>Work</category>
	<category>Pittsburgh</category>
		<guid>http://leftlane.org/2006/08/03/what-the-hell-happened/</guid>
		<description><![CDATA[<p>Hello out there in blog land. I know I&#8217;ve been ignoring you lately, but there are very good reasons why and I promise I&#8217;ll make it up to you. I wouldn&#8217;t leave you hanging.</p>

<p>A lot of things have changed since we last sat down and had a nice chat. Let me catch you up, bullet-point [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>Hello out there in blog land. I know I&#8217;ve been ignoring you lately, but there are very good reasons why and I promise I&#8217;ll make it up to you. I wouldn&#8217;t leave you hanging.</p>

<p><a id="more-191"></a></p>

<p>A lot of things have changed since we last sat down and had a nice chat. Let me catch you up, bullet-point style. And this time, humor me: pretend there is a &#8220;whoosh&#8221; sound as you read these bullets. This is the sound of change <em>rushing</em> into focus like the end of <a href="http://www.thesmokinggun.com/archive/0731062melmug1.html">Mel Gibson&#8217;s</a> career.</p>

<ul>
<li><p><strong>New Gig</strong>: I&#8217;m happy to say that I have a new job at a kick-ass design studio called <a href="http://www.walltowall.com">Wall-to-Wall Studios</a>. Imagine wearing shorts and a t-shirt to work. Imagine working with smart, personable people with zero ego. Imagine a keg on tap in the kitchen. Yep, I know.</p></li>
<li><p><strong>New Pad</strong>:  I now live in Squirrel Hill, a perfectly diverse and quirky area of Pittsburgh that I&#8217;m growing to love more and more. Imagine great coffee shops. Imagine great Chinese food. Imagine a lot of Jews. Well, you get the point. It&#8217;s a lot better than the Death Trap, where I was commonly known to get splinters and sprain my ankle. I don&#8217;t miss that place at all.</p></li>
<li><p><strong>New Route</strong>: For the first time in my life, my drive to work is a breeze. I despise traffic with a passion. To me, traffic equals stress, especially when I&#8217;m rushing to work. Taking the traffic out of my commute has taken the stress out of my mornings; and has done wonders for my mood and productivity. It&#8217;s probably added a few extra years onto my life in the process too.</p></li>
</ul>

<p>Here&#8217;s to change. And more blogging. I will soon be exploring subjects I&#8217;ve only promised up until now, like local coffee and restaurant reviews. Until then, rock on.</p><p><a href="http://leftlane.org/2006/08/03/what-the-hell-happened/#commentform">Make a comment.</a></p>]]></content:encoded>
			<wfw:commentRSS>http://leftlane.org/2006/08/03/what-the-hell-happened/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>You Know You&#8217;re a Blogger&#160;When&#8230;</title>
		<link>http://leftlane.org/2006/07/25/you-know-youre-a-blogger-when/</link>
		<comments>http://leftlane.org/2006/07/25/you-know-youre-a-blogger-when/#comments</comments>
		<pubDate>Tue, 25 Jul 2006 14:03:31 +0000</pubDate>
		<dc:creator>Pat</dc:creator>
		
	<category>Web</category>
	<category>Publishing</category>
		<guid>http://leftlane.org/2006/07/25/you-know-youre-a-blogger-when/</guid>
		<description><![CDATA[<p>(Updated Aug 3.)</p>

<p>On the way to an event you&#8217;re already thinking of the name of the post you&#8217;ll write later.
You write ritualistic &#8220;I&#8217;m still alive&#8221; posts.
You look at Technorati every day to see if anyone has linked to your blog
You are a Mint convert and check your stats every 15 minutes</p>

<p>What else?  </p>
]]></description>
			<content:encoded><![CDATA[<p><em>(Updated Aug 3.)</em></p>

<ol>
<li>On the way to an event you&#8217;re already thinking of the name of the post you&#8217;ll write later.</li>
<li>You write ritualistic &#8220;I&#8217;m still alive&#8221; posts.</li>
<li>You look at Technorati every day to see if anyone has linked to your blog</li>
<li>You are a <a href="http://www.haveamint.com">Mint</a> convert and check your stats every 15 minutes</li>
</ol>

<p>What else? <img src='http://leftlane.org/wp-images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p><p><a href="http://leftlane.org/2006/07/25/you-know-youre-a-blogger-when/#commentform">Make a comment.</a></p>]]></content:encoded>
			<wfw:commentRSS>http://leftlane.org/2006/07/25/you-know-youre-a-blogger-when/feed/</wfw:commentRSS>
	</item>
	</channel>
</rss>
