<?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>natebean.com &#187; cakePHP</title>
	<atom:link href="http://natebean.com/category/cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://natebean.com</link>
	<description></description>
	<lastBuildDate>Sun, 28 Mar 2010 22:22:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Miles Johnson // Script: Uploader (Plugin)</title>
		<link>http://natebean.com/32/cakephp/miles-johnson-script-uploader-plugin/</link>
		<comments>http://natebean.com/32/cakephp/miles-johnson-script-uploader-plugin/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 01:31:59 +0000</pubDate>
		<dc:creator>natebean</dc:creator>
				<category><![CDATA[cakePHP]]></category>

		<guid isPermaLink="false">http://natebean.com/?p=32</guid>
		<description><![CDATA[
			
				
			
		
Very nice plugin for cakePHP for uploading files with great documentation.  Got it running with minimal effort.  Would recommend.
An all around general purpose file uploader for CakePHP. Packaged as a stand alone plugin with file validation, file scanning and support for a wide range of basic mime types.
Class Features:
* Automatically sets all ini settings required [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fnatebean.com%2F32%2Fcakephp%2Fmiles-johnson-script-uploader-plugin%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fnatebean.com%2F32%2Fcakephp%2Fmiles-johnson-script-uploader-plugin%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Very nice plugin for cakePHP for uploading files with great documentation.  Got it running with minimal effort.  Would recommend.</p>
<blockquote><p>An all around general purpose file uploader for CakePHP. Packaged as a stand alone plugin with file validation, file scanning and support for a wide range of basic mime types.</p>
<p>Class Features:</p>
<p>* Automatically sets all ini settings required for file uploading</p>
<p>* Support for a wide range of mime types: text, images, archives, audio, video, application</p>
<p>* Logs all internal errors that can be retrieved and displayed</p>
<p>* Saves a log for all uploads happening during the current request</p>
<p>* Automatically validates against the default mime types and internal errors</p>
<p>* Can scan the uploaded files for viruses using the ClamAV module</p>
<p>* Files can be uploaded anywhere within the webroot folder</p>
<p>* Convenience methods for deleting a file, moving/renaming a file and getting the file extension or dimensions</p>
<p>* Built in methods for resizing images and generating thumbnails</p>
<p>* Custom Behavior to add validation rules to your Models validation set</p>
<p>* Custom Behavior that allows models to attach files to automatically upload the file and save its information to a database</p>
<p>via <a href="http://www.milesj.me/resources/script/uploader-plugin">Miles Johnson // Script: Uploader (Plugin)</a>.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://natebean.com/32/cakephp/miles-johnson-script-uploader-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple hitcount behavior for CakePHP &#8211; lecterror</title>
		<link>http://natebean.com/30/cakephp/simple-hitcount-behavior-for-cakephp-lecterror/</link>
		<comments>http://natebean.com/30/cakephp/simple-hitcount-behavior-for-cakephp-lecterror/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 18:23:39 +0000</pubDate>
		<dc:creator>natebean</dc:creator>
				<category><![CDATA[cakePHP]]></category>

		<guid isPermaLink="false">http://natebean.com/?p=30</guid>
		<description><![CDATA[
			
				
			
		
A nice blog post from dsi.vozibrale.com on how to create a CakePHP behavior.  This helps build on some of the missing points in the CakePHP manual.  This post include also includes good references.

Simple hitcount behavior for CakePHP
Posted in CakePHP	on 07.04.2008.
While developing Neutrino, I&#8217;ve decided to implement a simple hitcount behavior. So here it is.
For those [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fnatebean.com%2F30%2Fcakephp%2Fsimple-hitcount-behavior-for-cakephp-lecterror%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fnatebean.com%2F30%2Fcakephp%2Fsimple-hitcount-behavior-for-cakephp-lecterror%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>A nice blog post from dsi.vozibrale.com on how to create a CakePHP behavior.  This helps build on some of the missing points in the CakePHP manual.  This post include also includes good references.</p>
<blockquote>
<p>Simple hitcount behavior for CakePHP</p>
<p>Posted in CakePHP	on 07.04.2008.</p>
<p>While developing Neutrino, I&#8217;ve decided to implement a simple hitcount behavior. So here it is.</p>
<p>For those few who don&#8217;t know, behaviors are &#8220;extensions&#8221; for models. In other words, they are reusable model logic. They help you keep your code DRY, easily maintainable and portable. In this case, we&#8217;re creating a hit counter behavior, hitcount for short.</p>
<p>via <a href="http://dsi.vozibrale.com/articles/view/simple-hitcount-behavior-for-cakephp">Simple hitcount behavior for CakePHP &#8211; lecterror</a>.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://natebean.com/30/cakephp/simple-hitcount-behavior-for-cakephp-lecterror/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test Fixtures for CakePHP Has-and-Belongs-to-Many Relationships &#124; End Point Blog</title>
		<link>http://natebean.com/28/cakephp/test-fixtures-for-cakephp-has-and-belongs-to-many-relationships-end-point-blog/</link>
		<comments>http://natebean.com/28/cakephp/test-fixtures-for-cakephp-has-and-belongs-to-many-relationships-end-point-blog/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 02:44:14 +0000</pubDate>
		<dc:creator>natebean</dc:creator>
				<category><![CDATA[cakePHP]]></category>

		<guid isPermaLink="false">http://natebean.com/?p=28</guid>
		<description><![CDATA[
			
				
			
		
Nice entry on how to get HABTM tests to work in CakePHP 1.2.
Test Fixtures for CakePHP Has-and-Belongs-to-Many Relationships
CakePHP, a popular MVC framework in/for PHP, offers a pretty easy-to-use object-relational mapper, as well as fairly straightforward fixture class for test data. Consequently, it&#8217;s fairly easy to get into test-driven development with CakePHP, though this can take [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fnatebean.com%2F28%2Fcakephp%2Ftest-fixtures-for-cakephp-has-and-belongs-to-many-relationships-end-point-blog%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fnatebean.com%2F28%2Fcakephp%2Ftest-fixtures-for-cakephp-has-and-belongs-to-many-relationships-end-point-blog%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Nice entry on how to get HABTM tests to work in CakePHP 1.2.</p>
<blockquote><p>Test Fixtures for CakePHP Has-and-Belongs-to-Many Relationships</p>
<p>CakePHP, a popular MVC framework in/for PHP, offers a pretty easy-to-use object-relational mapper, as well as fairly straightforward fixture class for test data. Consequently, it&#8217;s fairly easy to get into test-driven development with CakePHP, though this can take some acclimation if you&#8217;re coming from Rails or Django or some such; the need to go through a web interface to navigate to and execute your test cases feels, to me, a little unnatural. Nevertheless, you can get writing tests pretty quickly, and the openness of the testing framework means that it won&#8217;t get in your way. Indeed, compared to the overwhelming plethora of testing options one gets in the Ruby space &#8212; and the accompanying sense that the choice of testing framework is akin to one&#8217;s choice of religion, political party, or top 10 desert island album list &#8212; CakePHP&#8217;s straightforward testing feels a little liberating.</p>
<p>Which is why it was a little surprising to me that getting a test fixture going for the join table on a has-and-belongs-to-many (HABTM) association is &#8212; at least in my experience &#8212; not the clearest thing in the world.</p>
<p>via <a href="http://blog.endpoint.com/2009/11/test-fixtures-for-cakephp-has-and.html">Test Fixtures for CakePHP Has-and-Belongs-to-Many Relationships | End Point Blog</a>.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://natebean.com/28/cakephp/test-fixtures-for-cakephp-has-and-belongs-to-many-relationships-end-point-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
