<?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"
	>

<channel>
	<title>SANIsoft - PHP for E Biz &#187; Amit Badkas</title>
	<atom:link href="http://www.sanisoft.com/blog/author/amitbadkas/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sanisoft.com/blog</link>
	<description>sharing technology, ideas, insights!</description>
	<pubDate>Fri, 04 Jul 2008 06:06:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Multiple validation rules per model field while baking</title>
		<link>http://www.sanisoft.com/blog/2008/04/29/multiple-validation-rules-per-model-field-while-baking/</link>
		<comments>http://www.sanisoft.com/blog/2008/04/29/multiple-validation-rules-per-model-field-while-baking/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 10:24:57 +0000</pubDate>
		<dc:creator>Amit Badkas</dc:creator>
		
		<category><![CDATA[Bake]]></category>

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

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

		<guid isPermaLink="false">http://www.sanisoft.com/blog/?p=41</guid>
		<description><![CDATA[Bake does a good job of creating models and validations. However, bake does not allow for multiple validation rules on a single field. This is not much of a problem if you have only a few models but when you start to work on several dozen models in a project it becomes very tedious to [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Multiple validation rules per model field while baking", url: "http://www.sanisoft.com/blog/2008/04/29/multiple-validation-rules-per-model-field-while-baking/" });</script>]]></description>
		<wfw:commentRss>http://www.sanisoft.com/blog/2008/04/29/multiple-validation-rules-per-model-field-while-baking/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Radiobutton issues while migrating from cakePHP-1.2alpha app to 1.2prebeta</title>
		<link>http://www.sanisoft.com/blog/2007/10/23/radiobutton-issues-while-migrating-from-cakephp-12alpha-app-to-12prebeta/</link>
		<comments>http://www.sanisoft.com/blog/2007/10/23/radiobutton-issues-while-migrating-from-cakephp-12alpha-app-to-12prebeta/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 09:56:40 +0000</pubDate>
		<dc:creator>Amit Badkas</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

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

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

		<guid isPermaLink="false">http://www.sanisoft.com/blog/2007/10/23/radiobutton-issues-while-migrating-from-cakephp-12alpha-app-to-12prebeta/</guid>
		<description><![CDATA[Today a new version of cakephp-1.2's pre-beta released, Eager to upgrade I plugged it into the new Cheesecake2 codebase  which was happily on cakephp-1.2's last alpha (released on 9th July). 
As expected some minor migration issues did crop up immediately, posting the list below
1. No more debug, cake_admin etc. constants in config/core.php
- Replace the [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Radiobutton issues while migrating from cakePHP-1.2alpha app to 1.2prebeta", url: "http://www.sanisoft.com/blog/2007/10/23/radiobutton-issues-while-migrating-from-cakephp-12alpha-app-to-12prebeta/" });</script>]]></description>
		<wfw:commentRss>http://www.sanisoft.com/blog/2007/10/23/radiobutton-issues-while-migrating-from-cakephp-12alpha-app-to-12prebeta/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bugs &#038; enhancements for Auth component in CakePHP v1.2 - Part 1</title>
		<link>http://www.sanisoft.com/blog/2007/08/03/bugs-enhancements-for-auth-component-in-cakephp-v12-part-1/</link>
		<comments>http://www.sanisoft.com/blog/2007/08/03/bugs-enhancements-for-auth-component-in-cakephp-v12-part-1/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 06:56:07 +0000</pubDate>
		<dc:creator>Amit Badkas</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

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

		<guid isPermaLink="false">http://www.sanisoft.com/blog/2007/08/03/bugs-enhancements-for-auth-component-in-cakephp-v12-part-1/</guid>
		<description><![CDATA[The auth component is supposed to handle the user login in your app but I was just not able to get that done and there have been similar complaints in the CakePHP mailing list. 
Since I wanted it *NOW* I had no option but to once again dig into the source - but - hey [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Bugs &#038; enhancements for Auth component in CakePHP v1.2 - Part 1", url: "http://www.sanisoft.com/blog/2007/08/03/bugs-enhancements-for-auth-component-in-cakephp-v12-part-1/" });</script>]]></description>
		<wfw:commentRss>http://www.sanisoft.com/blog/2007/08/03/bugs-enhancements-for-auth-component-in-cakephp-v12-part-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Email component in CakePHP is now Header Injection safe</title>
		<link>http://www.sanisoft.com/blog/2007/07/14/email-component-in-cakephp-is-now-header-injection-safe/</link>
		<comments>http://www.sanisoft.com/blog/2007/07/14/email-component-in-cakephp-is-now-header-injection-safe/#comments</comments>
		<pubDate>Sat, 14 Jul 2007 05:27:55 +0000</pubDate>
		<dc:creator>Amit Badkas</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[Email Injection]]></category>

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

		<guid isPermaLink="false">http://www.sanisoft.com/blog/2007/07/14/email-component-in-cakephp-is-now-header-injection-safe/</guid>
		<description><![CDATA[CakePHP does a lot of things automagically among this is sanitizing the SQL against SQL injection attacks. 
In Cheesecake 1.x we had used our home grown component for sending emails. Having learned our lessons from the headaches of Pixelpost team due to email header injection attacks in their comment mailing code we had taken precautions [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Email component in CakePHP is now Header Injection safe", url: "http://www.sanisoft.com/blog/2007/07/14/email-component-in-cakephp-is-now-header-injection-safe/" });</script>]]></description>
		<wfw:commentRss>http://www.sanisoft.com/blog/2007/07/14/email-component-in-cakephp-is-now-header-injection-safe/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Attach &#038; detach behaviors at run-time in CakePHP Models</title>
		<link>http://www.sanisoft.com/blog/2007/06/26/attach-detach-behaviors-at-run-time-in-cakephp-models/</link>
		<comments>http://www.sanisoft.com/blog/2007/06/26/attach-detach-behaviors-at-run-time-in-cakephp-models/#comments</comments>
		<pubDate>Tue, 26 Jun 2007 05:43:55 +0000</pubDate>
		<dc:creator>Amit Badkas</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

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

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

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

		<guid isPermaLink="false">http://www.sanisoft.com/blog/2007/06/26/attach-detach-behaviors-at-run-time-in-cakephp-models/</guid>
		<description><![CDATA[Behaviors are one of the best things that have been added to CakePHP 1.2, they allow you to add functionality to your models in a very elegant and modular fashion. They also promote a lot of code reuse. 
Perhaps a real life example would illustrate it better. In Cheesecake Photoblog when a new photo was [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Attach &#038; detach behaviors at run-time in CakePHP Models", url: "http://www.sanisoft.com/blog/2007/06/26/attach-detach-behaviors-at-run-time-in-cakephp-models/" });</script>]]></description>
		<wfw:commentRss>http://www.sanisoft.com/blog/2007/06/26/attach-detach-behaviors-at-run-time-in-cakephp-models/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install &#8216;xdebug&#8217; PHP extension for XAMPP on linux</title>
		<link>http://www.sanisoft.com/blog/2007/06/23/how-to-install-xdebug-php-extension-for-xampp-on-linux/</link>
		<comments>http://www.sanisoft.com/blog/2007/06/23/how-to-install-xdebug-php-extension-for-xampp-on-linux/#comments</comments>
		<pubDate>Sat, 23 Jun 2007 06:08:06 +0000</pubDate>
		<dc:creator>Amit Badkas</dc:creator>
		
		<category><![CDATA[HowTo]]></category>

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

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

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

		<guid isPermaLink="false">http://www.sanisoft.com/blog/2007/06/23/how-to-install-xdebug-php-extension-for-xampp-on-linux/</guid>
		<description><![CDATA[In my previous post I wrote about how we install XAMMP in the home directory of a user. We often need to profile our code and often on a variety of setups, the answer of course is to use Xdebug.
Following is the procedure for installing PHP's 'xdebug' extension for XAMPP on linux (most of the [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Install &#8216;xdebug&#8217; PHP extension for XAMPP on linux", url: "http://www.sanisoft.com/blog/2007/06/23/how-to-install-xdebug-php-extension-for-xampp-on-linux/" });</script>]]></description>
		<wfw:commentRss>http://www.sanisoft.com/blog/2007/06/23/how-to-install-xdebug-php-extension-for-xampp-on-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Setup and run XAMPP in your home directory</title>
		<link>http://www.sanisoft.com/blog/2007/06/20/how-to-setuprun-xampp-in-your-home-directory/</link>
		<comments>http://www.sanisoft.com/blog/2007/06/20/how-to-setuprun-xampp-in-your-home-directory/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 07:41:59 +0000</pubDate>
		<dc:creator>Amit Badkas</dc:creator>
		
		<category><![CDATA[HowTo]]></category>

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

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

		<guid isPermaLink="false">http://www.sanisoft.com/blog/2007/06/20/how-to-setuprun-xampp-in-your-home-directory/</guid>
		<description><![CDATA[We tend to be old skool people and with every release of our favorite distro we just overwrite the / rather than opt for the upgrade route and it works pretty well because there always is a separate /home/ where all our heart is.
Unfortunately XAMPP (yeah we need it to be there on every desktop [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Setup and run XAMPP in your home directory", url: "http://www.sanisoft.com/blog/2007/06/20/how-to-setuprun-xampp-in-your-home-directory/" });</script>]]></description>
		<wfw:commentRss>http://www.sanisoft.com/blog/2007/06/20/how-to-setuprun-xampp-in-your-home-directory/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MediaWiki Gotcha</title>
		<link>http://www.sanisoft.com/blog/2007/06/07/mediawiki-gotcha/</link>
		<comments>http://www.sanisoft.com/blog/2007/06/07/mediawiki-gotcha/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 11:28:35 +0000</pubDate>
		<dc:creator>Amit Badkas</dc:creator>
		
		<category><![CDATA[Mediawiki]]></category>

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

		<guid isPermaLink="false">http://www.sanisoft.com/blog/2007/06/07/mediawiki-gotcha/</guid>
		<description><![CDATA[While installing mediawiki, if you enter admin's password same as the admin username, it will not let you log in to the admin account!!!
After vexing on the problem for sometime here is what  I uncovered.  
There is a method called 'isValidPassword()' in 'User' class (in includes/User.php file) that has the following line which [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "MediaWiki Gotcha", url: "http://www.sanisoft.com/blog/2007/06/07/mediawiki-gotcha/" });</script>]]></description>
		<wfw:commentRss>http://www.sanisoft.com/blog/2007/06/07/mediawiki-gotcha/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Use cake console with XAMPP</title>
		<link>http://www.sanisoft.com/blog/2007/06/05/use-cake-console-with-lampp/</link>
		<comments>http://www.sanisoft.com/blog/2007/06/05/use-cake-console-with-lampp/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 07:24:22 +0000</pubDate>
		<dc:creator>Amit Badkas</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

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

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

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

		<guid isPermaLink="false">http://www.sanisoft.com/blog/2007/06/05/use-cake-console-with-lampp/</guid>
		<description><![CDATA[If you have problem while running cake console scripts for your LAMPP installation and get an error like './cake: line 34: exec: php: not found', fix this problem by editing 'cake' shell script and changing line 
PLAIN TEXT
CODE:




exec php -q $&#123;LIB&#125;cake.php "$@" -working "${APP}" 






to
PLAIN TEXT
CODE:




exec /opt/lampp/bin/php -q $&#123;LIB&#125;cake.php "$@" -working "${APP}" 






This will call [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Use cake console with XAMPP", url: "http://www.sanisoft.com/blog/2007/06/05/use-cake-console-with-lampp/" });</script>]]></description>
		<wfw:commentRss>http://www.sanisoft.com/blog/2007/06/05/use-cake-console-with-lampp/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
