<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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>LoadStr - A Loadsys Blog</title>
	<link>http://blog.loadsys.com</link>
	<description>A Web Development Company Specializing In Standard-Based Web Design and the CakePHP Framework.</description>
	<pubDate>Tue, 22 Jun 2010 15:40:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>Loadsys to sponsor CakeFest 2010!</title>
		<link>http://blog.loadsys.com/2010/06/22/loadsys-to-sponsor-cakefest-2010/</link>
		<comments>http://blog.loadsys.com/2010/06/22/loadsys-to-sponsor-cakefest-2010/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 15:40:04 +0000</pubDate>
		<dc:creator>lee</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[cakefest]]></category>

		<category><![CDATA[cakefest 2010]]></category>

		<category><![CDATA[CakePHP Developers]]></category>

		<category><![CDATA[cakephp development]]></category>

		<guid isPermaLink="false">http://blog.loadsys.com/2010/06/22/loadsys-to-sponsor-cakefest-2010/</guid>
		<description><![CDATA[Hello fellow bakers!  Our team at Loadsys is proud to announce our sponsorship of the 2010 CakePHP CakeFest conference in our home town of Chicago, IL USA.  We are excited to both attend and contribute to the conference this year.  The last conference our team attended was in Orlando, FL in 2008 when CakePHP was [...]]]></description>
			<content:encoded><![CDATA[<p>Hello fellow bakers!  Our team at Loadsys is proud to announce our sponsorship of the 2010 CakePHP CakeFest conference in our home town of Chicago, IL USA.  We are excited to both attend and contribute to the conference this year.  The last conference our team attended was in Orlando, FL in 2008 when CakePHP was still at a young age.  We cannot wait to see how much the conference and community has grown since that time.</p>
<p>Our team has been using CakePHP for over 3 years and it is our framework of choice for custom web application development.  Some of you may have even used some of our plugins or helpers we have contributed.   As our company grows we are looking for ways to contribute to the community more and therefore plan to release more code over the upcoming year.</p>
<p>In addition to development, our team offers CakePHP consulting for teams or developers, so don&#8217;t be afraid to get in touch with us if you need some guidance.</p>
<p>We will have 3 team members (Donatas, Joey, and Lee)  attending the conference, so if you are looking to meet up, please let us know.   Or if you just want to go out for a beer, we are a-ok with that as well.  Also, if you are a developer in the Chicagoland area, definitely get in touch with us.  We are looking for talented Cake developers.</p>
<p>We look forward to seeing everyone there, hearing some good talks, and hearing about what is up and coming for CakePHP and the community.</p>
<p>See you at CakeFest!</p>
<p>Lee Forkenbrock<br />
Project Manager / Web Developer<br />
Loadsys</p>
<span class="akst_link"><a href="http://blog.loadsys.com/?p=25&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_25"  class="akst_share_link">Share This</a>
</span>]]></content:encoded>
			<wfw:commentRss>http://blog.loadsys.com/2010/06/22/loadsys-to-sponsor-cakefest-2010/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CakePHP Social Networking Plugin</title>
		<link>http://blog.loadsys.com/2009/10/26/cakephp-social-networking-plugin/</link>
		<comments>http://blog.loadsys.com/2009/10/26/cakephp-social-networking-plugin/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 19:57:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[cakephp developer]]></category>

		<category><![CDATA[cakephp development]]></category>

		<category><![CDATA[cakephp facebook]]></category>

		<category><![CDATA[cakephp social networking]]></category>

		<guid isPermaLink="false">http://blog.loadsys.com/2009/10/26/cakephp-social-networking-plugin/</guid>
		<description><![CDATA[    We started working on Socnet plugin that will allow your cake apps to be easily integrated with most social network sites. For now, we coded and released FacebookAuth component, which will allows to specify which actions require facebook authentication and redirects to facebook for authentication.
Installation
To add FacebookAuth component to your project, [...]]]></description>
			<content:encoded><![CDATA[<p>    We started working on Socnet plugin that will allow your cake apps to be easily integrated with most social network sites. For now, we coded and released FacebookAuth component, which will allows to specify which actions require facebook authentication and redirects to facebook for authentication.</p>
<p><strong>Installation</strong></p>
<p>To add FacebookAuth component to your project, please do the following:</p>
<p>1. Download the plugin code from <a href="http://github.com/loadsys/socnet" class="moz-txt-link-freetext">http://github.com/loadsys/socnet</a> and extract all the code into plugins/socnet.</p>
<p>2. Create an application with Facebook at <a href="http://www.facebook.com/developers/createapp.php" class="moz-txt-link-freetext">http://www.facebook.com/developers/createapp.php</a>. Set your Connect URL to &lt;your URL&gt;/socnet/facebook/connect.</p>
<p>3. Add the following configuration paramters (Configure::write):<br />
Socnet.Facebook.enabled[0,1] - a flag to disable/enable Facebook support<br />
Socnet.Facebook.api_key - application key (from Facebook)<br />
Socnet.Facebook.app_secret - application secret (from Facebook)</p>
<p><strong>Controller Requirements</strong></p>
<p>Load FacebookAuth component where needed and specify actions that require facebook authentication:</p>
<pre>
class FacebookFriendsController extends AppControoler {
var $components = array('socnet.FacebookAuth');
var $helpers = array('socnet.Facebook');

function beforeFilter() {
parent::beforeFilter();
$this-&gt;FacebookAuth-&gt;requireLogin('index');
}

function index() {
...
}
}</pre>
<p><strong>Layout Requirements</strong></p>
<p>Facebook helper provides all the methods needed to setup Facebook in your layout.</p>
<p># Use &lt;?php echo $facebook-&gt;htmlTag(); ?&gt; to render the html tag. This function will setup all necessary namespaces.<br />
# Include this line &lt;?php echo $facebook-&gt;jsScript(); ?&gt; somewhere in the body. This library is needed for rendering FBML scripts (ex. &lt;fb:connect-button /&gt;).<br />
# Add this line &lt;script type=&#8221;text/javascript&#8221;&gt;&lt;?php echo $facebook-&gt;jsInit(); ?&gt;&lt;/script&gt; before &lt;/body&gt; tag.</p>
<p>Please look at the sample layout file in views/layouts/facebook.ctp inside the provided plugin.</p>
<p>You can test the plugin integration by going to /socnet/facebook/friends. If everything is setup properly, you should get redirected to facebook for login and then see all your friends thumbs.</p>
<span class="akst_link"><a href="http://blog.loadsys.com/?p=24&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_24"  class="akst_share_link">Share This</a>
</span>]]></content:encoded>
			<wfw:commentRss>http://blog.loadsys.com/2009/10/26/cakephp-social-networking-plugin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CakePHP Comment Plugin</title>
		<link>http://blog.loadsys.com/2009/09/14/cakephp-comment-plugin/</link>
		<comments>http://blog.loadsys.com/2009/09/14/cakephp-comment-plugin/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 15:28:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[cakephp behaviors]]></category>

		<category><![CDATA[cakephp comments]]></category>

		<category><![CDATA[cakephp developer]]></category>

		<category><![CDATA[CakePHP Developers]]></category>

		<category><![CDATA[cakephp development]]></category>

		<category><![CDATA[cakephp plugins]]></category>

		<guid isPermaLink="false">http://blog.loadsys.com/2009/09/14/cakephp-comment-plugin/</guid>
		<description><![CDATA[    The goal of every programmer is to write as little code as possible.  It can only be achieved by re-using code that you already wrote.  That is why we all use CakePHP in the first place right?  Fortunately, cake allows us to create plug-ins that we could just drop in into [...]]]></description>
			<content:encoded><![CDATA[<p>    The goal of every programmer is to write as little code as possible.  It can only be achieved by re-using code that you already wrote.  That is why we all use CakePHP in the first place right?  Fortunately, cake allows us to create plug-ins that we could just drop in into our projects and be done with it.</p>
<p>For quite a few of our projects, especially social applications, we had to add commenting.  In addition, we typically had to allow users to comment on everything (photos, posts, news, articles, etc&#8230;). Here is the solution we came up with that worked very well:<br />
 <a href="http://blog.loadsys.com/2009/09/14/cakephp-comment-plugin/#more-23" class="more-link">(more&#8230;)</a></p>
<span class="akst_link"><a href="http://blog.loadsys.com/?p=23&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_23"  class="akst_share_link">Share This</a>
</span>]]></content:encoded>
			<wfw:commentRss>http://blog.loadsys.com/2009/09/14/cakephp-comment-plugin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CakePHP RSS Feed Datasource</title>
		<link>http://blog.loadsys.com/2009/06/19/cakephp-rss-feed-datasource/</link>
		<comments>http://blog.loadsys.com/2009/06/19/cakephp-rss-feed-datasource/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 16:39:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[Syndication]]></category>

		<category><![CDATA[CakePHP Developers]]></category>

		<category><![CDATA[cakephp development]]></category>

		<category><![CDATA[cakephp rss feed]]></category>

		<category><![CDATA[cakephp rss feed datasource]]></category>

		<category><![CDATA[chicago cakephp]]></category>

		<guid isPermaLink="false">http://blog.loadsys.com/2009/06/19/cakephp-rss-feed-datasource/</guid>
		<description><![CDATA[We are releasing our RSS datasource to CakePHP developers for CakePHP Development.  We know there are others out there, but what we like about ours is that it supports the following:

Built-in Pagination


Sorting


Content filtering

Share This
]]></description>
			<content:encoded><![CDATA[<p>We are releasing our RSS datasource to CakePHP developers for CakePHP Development.  We know there are others out there, but what we like about ours is that it supports the following:</p>
<ul>
<li>Built-in Pagination</li>
</ul>
<ul>
<li>Sorting</li>
</ul>
<ul>
<li>Content filtering</li>
</ul>
<p> <a href="http://blog.loadsys.com/2009/06/19/cakephp-rss-feed-datasource/#more-22" class="more-link">(more&#8230;)</a></p>
<span class="akst_link"><a href="http://blog.loadsys.com/?p=22&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_22"  class="akst_share_link">Share This</a>
</span>]]></content:encoded>
			<wfw:commentRss>http://blog.loadsys.com/2009/06/19/cakephp-rss-feed-datasource/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CakePHP jQuery Ajax Helper (Easy Scriptaculous Replacement)</title>
		<link>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/</link>
		<comments>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comments</comments>
		<pubDate>Fri, 01 May 2009 19:14:35 +0000</pubDate>
		<dc:creator>lee</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[cakephp ajax helper]]></category>

		<category><![CDATA[CakePHP Developers]]></category>

		<category><![CDATA[cakephp development]]></category>

		<category><![CDATA[cakephp helpers]]></category>

		<category><![CDATA[cakephp jquery helper]]></category>

		<guid isPermaLink="false">http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/</guid>
		<description><![CDATA[
 	 	
We created this cakephp ajax helper so we could easily replace Scriptaculous with jQuery without changing the code and still have built-in functionality like pagination working properly.  The helper could still be improved, but we have decided to publicly release it so that CakePHP developers can utilize it for CakePHP Development.
Share This
]]></description>
			<content:encoded><![CDATA[<p><meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8" /><title></title><meta name="GENERATOR" content="OpenOffice.org 3.0  (Win32)" /></p>
<style type="text/css"> 	<!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		A:link { so-language: zxx } 	--> 	</style>
<p style="margin-bottom: 0in">We created this cakephp ajax helper so we could easily replace Scriptaculous with jQuery without changing the code and still have built-in functionality like pagination working properly.  The helper could still be improved, but we have decided to publicly release it so that CakePHP developers can utilize it for CakePHP Development.</p>
<p> <a href="http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#more-21" class="more-link">(more&#8230;)</a></p>
<span class="akst_link"><a href="http://blog.loadsys.com/?p=21&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_21"  class="akst_share_link">Share This</a>
</span>]]></content:encoded>
			<wfw:commentRss>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Multi-tasking from the Unix shell (vim and mysql cli users, crowd around)</title>
		<link>http://blog.loadsys.com/2008/12/18/multi-tasking-from-the-unix-shell-vim-and-mysql-cli-users-crowd-around/</link>
		<comments>http://blog.loadsys.com/2008/12/18/multi-tasking-from-the-unix-shell-vim-and-mysql-cli-users-crowd-around/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 15:42:06 +0000</pubDate>
		<dc:creator>lee</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Unix]]></category>

		<category><![CDATA[CakePHP Developers]]></category>

		<category><![CDATA[cakephp development]]></category>

		<category><![CDATA[Unix Developers]]></category>

		<category><![CDATA[Vim ssh]]></category>

		<guid isPermaLink="false">http://blog.loadsys.com/2008/12/18/multi-tasking-from-the-unix-shell-vim-and-mysql-cli-users-crowd-around/</guid>
		<description><![CDATA[So, you are venturing into the cool crowd by playing with vim.  You are a developer that is used to GUI editors and are not really a shell kind of guy/girl.  Or, maybe you have been using vim for a while and are just used to closing out a file before moving onto the next [...]]]></description>
			<content:encoded><![CDATA[<p>So, you are venturing into the cool crowd by playing with vim.  You are a developer that is used to GUI editors and are not really a shell kind of guy/girl.  Or, maybe you have been using vim for a while and are just used to closing out a file before moving onto the next one.</p>
<p>Having a background in Linux due to my past experience as a Sr. Oracle DBA in Linux environments, I became a Linux command line guru fast.  Using vim as a text editor is very powerful, but what would be even more powerful is being able to switch from file to file quickly and easily.  Below, I&#8217;m going to give a visual how-to on multi-tasking in a Unix Shell environment.</p>
<p> <a href="http://blog.loadsys.com/2008/12/18/multi-tasking-from-the-unix-shell-vim-and-mysql-cli-users-crowd-around/#more-19" class="more-link">(more&#8230;)</a></p>
<span class="akst_link"><a href="http://blog.loadsys.com/?p=19&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_19"  class="akst_share_link">Share This</a>
</span>]]></content:encoded>
			<wfw:commentRss>http://blog.loadsys.com/2008/12/18/multi-tasking-from-the-unix-shell-vim-and-mysql-cli-users-crowd-around/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using Structured Frameworks Like CakePHP</title>
		<link>http://blog.loadsys.com/2008/11/06/using-structured-frameworks-like-cakephp/</link>
		<comments>http://blog.loadsys.com/2008/11/06/using-structured-frameworks-like-cakephp/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 17:45:10 +0000</pubDate>
		<dc:creator>lee</dc:creator>
		
		<category><![CDATA[Business]]></category>

		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[CakePHP Developers]]></category>

		<category><![CDATA[cakephp development]]></category>

		<category><![CDATA[mvc frameworks]]></category>

		<guid isPermaLink="false">http://blog.loadsys.com/2008/11/06/using-structured-frameworks-like-cakephp/</guid>
		<description><![CDATA[Loadsys has been in business a long while.  Building and designing web applications using PHP.  We initially started building site management systems using our own developed file structure.  No templates, no smarty, just straight mixed up, stirred, PHP and html.  That is exactly what it was.  PHP with a bunch of echos everywhere to display [...]]]></description>
			<content:encoded><![CDATA[<p>Loadsys has been in business a long while.  Building and designing web applications using PHP.  We initially started building site management systems using our own developed file structure.  No templates, no smarty, just straight mixed up, stirred, PHP and html.  That is exactly what it was.  PHP with a bunch of echos everywhere to display the html dynamically.</p>
<p> <a href="http://blog.loadsys.com/2008/11/06/using-structured-frameworks-like-cakephp/#more-17" class="more-link">(more&#8230;)</a></p>
<span class="akst_link"><a href="http://blog.loadsys.com/?p=17&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_17"  class="akst_share_link">Share This</a>
</span>]]></content:encoded>
			<wfw:commentRss>http://blog.loadsys.com/2008/11/06/using-structured-frameworks-like-cakephp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Automagically setting user ID of record creator and modifier in CakePHP 1.2</title>
		<link>http://blog.loadsys.com/2008/05/02/automagically-setting-user-id-of-record-creator-and-modifier-in-cakephp-12/</link>
		<comments>http://blog.loadsys.com/2008/05/02/automagically-setting-user-id-of-record-creator-and-modifier-in-cakephp-12/#comments</comments>
		<pubDate>Fri, 02 May 2008 21:03:55 +0000</pubDate>
		<dc:creator>donatas</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[automation]]></category>

		<category><![CDATA[cake 1.2]]></category>

		<category><![CDATA[CakePHP Developers]]></category>

		<category><![CDATA[cakephp development]]></category>

		<category><![CDATA[created]]></category>

		<category><![CDATA[modified]]></category>

		<guid isPermaLink="false">http://blog.loadsys.com/2008/05/02/automagically-setting-user-id-of-record-creator-and-modifier-in-cakephp-12/</guid>
		<description><![CDATA[When designing a system for multiuser environment, it is always important to know who created and who modified a record. When using proper field names, such as created and modified, CakePHP automatically sets the proper dates values. We wanted to use the same principal for automatically setting user ID of who created and modified a [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-bottom: 0in"><meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8" /><title></title><meta name="GENERATOR" content="OpenOffice.org 2.0  (Win32)" /><meta name="CREATED" content="20080502;12503400" /><meta name="CHANGED" content="20080502;14053100" />When designing a system for multiuser environment, it is always important to know who created and who modified a record. When using proper field names, such as created and modified, CakePHP automatically sets the proper dates values. We wanted to use the same principal for automatically setting user ID of who <em>created</em> and <em>modified</em> a record. We created a standard for ourself by naming the fields <em>creator_id</em> and <em>modifier_id</em> which goes together with Cake&#8217;s date fields <em>created</em> and <em>modified</em>.</p>
<p style="margin-bottom: 0in">All of our projects use as much of standard CakePHP libraries as possible. That&#8217;s why all of our CakePHP projects use AuthComponent for authentication.</p>
<p style="margin-bottom: 0in">The first thing we needed to do to was to create ability to access ID of a currently logged in user anywhere in the application. This was achieved by overloading the core AuthComponent:</p>
<p>controllers/components/loadsys_auth.php</p>
<pre>&lt;?php

uses('controller/components/auth');

class LoadsysAuthComponent extends AuthComponent {

        function initialize(&amp;$controller) {
                ClassRegistry::addObject('LoadsysAuthComponent', $this);
                parent::initialize($controller);
        }

}

class LoadsysAuth {

        function &amp;getInstance() {
                static $instance = array();
                if (!$instance) {
                        $instance[0] =&amp; ClassRegistry::getObject('LoadsysAuthComponent');
                }
                return $instance[0];
        }

        static function getUser() {
                $_this =&amp; LoadsysAuth::getInstance();
                return $_this-&gt;user();
        }

        static function getUserId() {
                $_this =&amp; LoadsysAuth::getInstance();
                $user = $_this-&gt;user();
                return Set::extract($user, 'User.id');
        }

        static function getUserGroupId() {
                $_this =&amp; LoadsysAuth::getInstance();
                $user = $_this-&gt;user();
                return Set::extract($user, 'User.user_group_id');
        }
}
?&gt;</pre>
<p><font size="3">This structure will allow us to access user ID and user group ID from anywhere in the application by calling LoadsysAuth::getUserId() and LoadsysAuth::getUserGroupId(). This could be applied to many situations.</font></p>
<p style="margin-bottom: 0in; font-style: normal"><font size="3">Now we need to include the component in our project:</font></p>
<p style="margin-bottom: 0in; font-style: normal"><font size="3">app_controller.php</font></p>
<pre>class AppController extends Controller {
	...
	var $components = array('LoadsysAuth');

	...
}</pre>
<p><meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8" /><title></title><meta name="GENERATOR" content="OpenOffice.org 2.0  (Win32)" /><meta name="CREATED" content="20080502;12503400" /><meta name="CHANGED" content="20080502;14053100" /></p>
<style> 	<!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	--> 	</style>
<p style="margin-bottom: 0in; font-style: normal"><font size="3">In order to set the <em>creator_id</em> and <em>modifier_id </em>for<em>, </em>we will have to put it in the base class:</font></p>
<p><font size="3">app_model.php<br />
</font></p>
<pre>&lt;?php

class AppModel extends Model {
        function beforeSave() {
                $exists = $this-&gt;exists();
                if ( !$exists &amp;&amp; $this-&gt;hasField('creator_id') &amp;&amp; empty($this-&gt;data[$this-&gt;alias]['creator_id']) ) {
                        $this-&gt;data[$this-&gt;alias]['creator_id'] = LoadsysAuth::getUserId();
                }
                if ( $this-&gt;hasField('modifier_id') &amp;&amp; empty($this-&gt;data[$this-&gt;alias]['modifier_id']) ) {
                        $this-&gt;data[$this-&gt;alias]['modifier_id'] = LoadsysAuth::getUserId();
                }
                return true;
        }
}

?&gt;</pre>
<p><meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8" /><title></title><meta name="GENERATOR" content="OpenOffice.org 2.0  (Win32)" /><meta name="CREATED" content="20080502;12503400" /><meta name="CHANGED" content="20080502;14053100" /></p>
<style> 	<!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	--> 	</style>
<p style="margin-bottom: 0in; font-style: normal"><font size="3">In your application models, if you need to override the beforeSave callback, make sure you call the parent function:</font></p>
<p><font size="3">Example:</font></p>
<pre>create table articles (
 id int unsigned not null auto_increment,
 title varchar(255) not null,
 article varchar(255) not null,
 created datetime,
 creator_id int unsigned,
 modified datetime,
 modifier_id int unsigned,
 primary key(id)
);</pre>
<p>models/article.php</p>
<pre>&lt;?php

class Article extends AppModel {
	...

	function beforeSave() {
		...
		return parent::beforeSave();
	}

	...
}

?&gt;</pre>
<span class="akst_link"><a href="http://blog.loadsys.com/?p=15&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_15"  class="akst_share_link">Share This</a>
</span>]]></content:encoded>
			<wfw:commentRss>http://blog.loadsys.com/2008/05/02/automagically-setting-user-id-of-record-creator-and-modifier-in-cakephp-12/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Working with CakePHP Projects in SVN</title>
		<link>http://blog.loadsys.com/2008/03/28/working-with-cakephp-projects-in-svn/</link>
		<comments>http://blog.loadsys.com/2008/03/28/working-with-cakephp-projects-in-svn/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 21:22:02 +0000</pubDate>
		<dc:creator>lee</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[SVN]]></category>

		<category><![CDATA[cakephp development]]></category>

		<category><![CDATA[cakephp svn]]></category>

		<category><![CDATA[pushing cakephp applications]]></category>

		<category><![CDATA[svn cakephp]]></category>

		<guid isPermaLink="false">http://blog.loadsys.com/2008/03/28/working-with-cakephp-projects-in-svn/</guid>
		<description><![CDATA[SVN is a life saver in the multi-developer project world.  Heck, even with just one developer we would recommend it.  The ability to organize code revisions is necessity.  Now mix in the CakePHP framework and we have some developers that chose everything perfect for development.
To start, I really think that many people don&#8217;t use SVN [...]]]></description>
			<content:encoded><![CDATA[<p>SVN is a life saver in the multi-developer project world.  Heck, even with just one developer we would recommend it.  The ability to organize code revisions is necessity.  Now mix in the CakePHP framework and we have some developers that chose everything perfect for development.</p>
<p>To start, I really think that many people don&#8217;t use SVN properly to organize their code.  I myself am one who was like this.  In the past, we only worked in Trunk.  Great, we had the ability to work on our own working copies of the repo, but beyond that, doing code pushes and managing larger revisions versus simple fixes/updates becomes hard.</p>
<p> <a href="http://blog.loadsys.com/2008/03/28/working-with-cakephp-projects-in-svn/#more-13" class="more-link">(more&#8230;)</a></p>
<span class="akst_link"><a href="http://blog.loadsys.com/?p=13&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_13"  class="akst_share_link">Share This</a>
</span>]]></content:encoded>
			<wfw:commentRss>http://blog.loadsys.com/2008/03/28/working-with-cakephp-projects-in-svn/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CakePHP 1.2 - Tuning the ACL via MySQL</title>
		<link>http://blog.loadsys.com/2008/03/19/cakephp-12-tuning-the-acl-via-mysql/</link>
		<comments>http://blog.loadsys.com/2008/03/19/cakephp-12-tuning-the-acl-via-mysql/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 19:34:58 +0000</pubDate>
		<dc:creator>lee</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[ACL Tuning]]></category>

		<category><![CDATA[cakephp developer]]></category>

		<category><![CDATA[CakePHP Developers]]></category>

		<category><![CDATA[cakephp development]]></category>

		<category><![CDATA[CakePHP Performance]]></category>

		<category><![CDATA[CakePHP Tuning]]></category>

		<guid isPermaLink="false">http://blog.loadsys.com/2008/03/19/cakephp-12-tuning-the-acl-via-mysql/</guid>
		<description><![CDATA[Loadsys creates a lot of larger web applications for clients that have many user types with many privileges.  The ACL tables out of the box, ACOS and AROS, do not contain indexes except for the PRIMARY KEY on id.
Since the ACL uses Binary Search Trees, a lot of complex queries take place with the left [...]]]></description>
			<content:encoded><![CDATA[<p>Loadsys creates a lot of larger web applications for clients that have many user types with many privileges.  The ACL tables out of the box, ACOS and AROS, do not contain indexes except for the PRIMARY KEY on id.</p>
<p>Since the ACL uses Binary Search Trees, a lot of complex queries take place with the left and right nodes.</p>
<p>So, let&#8217;s take a look at how one of the most intensive ACL queries acts with no changes made.</p>
<p> <a href="http://blog.loadsys.com/2008/03/19/cakephp-12-tuning-the-acl-via-mysql/#more-12" class="more-link">(more&#8230;)</a></p>
<span class="akst_link"><a href="http://blog.loadsys.com/?p=12&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_12"  class="akst_share_link">Share This</a>
</span>]]></content:encoded>
			<wfw:commentRss>http://blog.loadsys.com/2008/03/19/cakephp-12-tuning-the-acl-via-mysql/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
