<?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>TechBytes &#187; CakePHP</title>
	<atom:link href="http://www.asim.pk/tag/cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.asim.pk</link>
	<description>Technology Bytes</description>
	<lastBuildDate>Fri, 20 Jan 2012 12:48:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Kohana or CodeIgniter or CakePHP?</title>
		<link>http://www.asim.pk/2010/01/06/kohana-or-codeigniter-or-cakephp/</link>
		<comments>http://www.asim.pk/2010/01/06/kohana-or-codeigniter-or-cakephp/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 17:30:21 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[Kohana]]></category>
		<category><![CDATA[KohanaPHP]]></category>
		<category><![CDATA[PHP Frameworks]]></category>
		<category><![CDATA[PHP5]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=463</guid>
		<description><![CDATA[I am going to start on a small system for internal use and I wanted to re-think my choice of CodeIgniter because it does not have templates or ORM. Guess what, I landed with KohanaPHP. It sounds very tempting that &#8230; <a href="http://www.asim.pk/2010/01/06/kohana-or-codeigniter-or-cakephp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I am going to start on a small system for internal use and I wanted to re-think my choice of CodeIgniter because it does not have templates or ORM. Guess what, I landed with <a href="http://kohanaphp.com" target="_blank">KohanaPHP</a>. It sounds very tempting that a new MVC Framework based on CodeIgniter with new features (especially ORM) is here but the documentation is really really poor.</p>
<p>I tried googling for a book or tutorial and I was really disappointed to have found none. I tried Amazon.com for a book but no books. Looks like I have landed in some weird space that might be good looking but I need to get my hands dirty in the code to learn it and at the end of the day, it may seem that I have lost a lot of hours on this new Framework. Lets give it a try!</p>
<p><strong>Update:</strong> As of today (28th July, 2010), I am working on YII, its good, powerful and blazing fast. It has all the feature of CakePHP too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/01/06/kohana-or-codeigniter-or-cakephp/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>CodeIgniter or CakePHP? can&#8217;t decide</title>
		<link>http://www.asim.pk/2009/05/26/codeigniter-or-cakephp-cant-decide/</link>
		<comments>http://www.asim.pk/2009/05/26/codeigniter-or-cakephp-cant-decide/#comments</comments>
		<pubDate>Tue, 26 May 2009 11:55:26 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[PHP Frameworks]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=341</guid>
		<description><![CDATA[Can&#8217;t decide between CodeIgniter or CakePHP for my personal project. CodeIgniter is faster in terms of performance but development is slow, CakePHP&#8216;s cake-bake makes development faster but its performance is not good. My problem is that I need both. I &#8230; <a href="http://www.asim.pk/2009/05/26/codeigniter-or-cakephp-cant-decide/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Can&#8217;t decide between <a href="http://codeigniter.com/" target="_blank"><strong>CodeIgniter</strong></a> or <a href="http://cakephp.org/" target="_blank"><strong>CakePHP</strong></a> for my personal project. <a href="http://codeigniter.com/" target="_blank"><strong>CodeIgniter</strong></a> is faster in terms of performance but development is slow, <a href="http://cakephp.org/" target="_blank"><strong>CakePHP</strong></a>&#8216;s cake-bake makes development faster but its performance is not good. My problem is that I need both. I want it at best performance since I will be handling millions even billions of domain records AND I cannot spend more time developing my own system.</p>
<p>Any ideas?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/05/26/codeigniter-or-cakephp-cant-decide/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Getting Started on CodeIgniter, the lightening fast PHP Framework</title>
		<link>http://www.asim.pk/2009/05/06/getting-started-on-codeigniter-the-lightening-fast-php-framework/</link>
		<comments>http://www.asim.pk/2009/05/06/getting-started-on-codeigniter-the-lightening-fast-php-framework/#comments</comments>
		<pubDate>Wed, 06 May 2009 18:50:51 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[CI]]></category>
		<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[Fast]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[Rasmus Lerdorf]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=320</guid>
		<description><![CDATA[Today, I have started on CodeIgniter, one of the powerful PHP frameworks recommended by Rasmus Lerdorf CodeIgniter is most often noted for its speed when compared to other PHP frameworks. In a critical take on PHP frameworks in general, PHP &#8230; <a href="http://www.asim.pk/2009/05/06/getting-started-on-codeigniter-the-lightening-fast-php-framework/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today, I have started on <a href="http://codeigniter.com" target="_blank"><strong>CodeIgniter</strong></a>, one of the powerful PHP frameworks recommended by <a href="http://en.wikipedia.org/wiki/Rasmus_Lerdorf" target="_blank"><strong>Rasmus Lerdorf</strong></a></p>
<blockquote><p>CodeIgniter is most often noted for its speed when compared to other PHP frameworks. In a critical take on PHP frameworks in general, PHP creator <a href="http://en.wikipedia.org/wiki/Rasmus_Lerdorf" target="_blank"><strong>Rasmus Lerdorf</strong></a> spoke at frOSCon in August 2008, noting that he liked CodeIgniter &#8220;because it is faster, lighter and the least like a framework&#8221;.</p></blockquote>
<p><strong><a href="http://www.sitepoint.com/blogs/2008/08/29/rasmus-lerdorf-php-frameworks-think-again/" target="_blank">Read more about it here</a></strong>.</p>
<p>So far what I can tell you is that it really is FAST. I have been coding in <strong><a href="http://cakephp.org/" target="_blank">CakePHP</a></strong> and <strong><a href="http://framework.zend.com" target="_blank">Zend Framework</a></strong>, but this framework is very fast. Truely speaking I did not felt any difference using it.</p>
<p>I will keep posting about my experience of CodeIgniter.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/05/06/getting-started-on-codeigniter-the-lightening-fast-php-framework/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using CakePHP&#8217;s Bake on Linux</title>
		<link>http://www.asim.pk/2009/01/06/using-cakephp-bake-tool-on-linux/</link>
		<comments>http://www.asim.pk/2009/01/06/using-cakephp-bake-tool-on-linux/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 05:45:31 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Bake]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=138</guid>
		<description><![CDATA[If you want to use CakePHP&#8217;s bake tool on Linux command line (like I have development environment on Linux) then you can ssh to your linux box as shown in the screen shot below Second, you can execute the cake &#8230; <a href="http://www.asim.pk/2009/01/06/using-cakephp-bake-tool-on-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you want to use CakePHP&#8217;s bake tool on Linux command line (like I have development environment on Linux) then you can ssh to your linux box as shown in the screen shot below</p>
<p><a href="http://www.asim.pk/wp-content/uploads/2009/01/console1.png" target="_blank" rel="lightbox[138]"><img src="http://www.asim.pk/wp-content/uploads/2009/01/console1-300x187.png" alt="Linux Console" title="Linux Console" width="300" height="187" class="size-medium wp-image-139" /></a></p>
<p>Second, you can execute the cake bake command in the following manner</p>
<pre class="brush: plain; title: ; notranslate">./cake/console/cake bake</pre>
<p>as shown in the picture below<br />
<a href="http://www.asim.pk/wp-content/uploads/2009/01/console2.png" target="_blank" rel="lightbox[138]"><img src="http://www.asim.pk/wp-content/uploads/2009/01/console2-300x187.png" alt="Linux Console" title="Linux Console" width="300" height="187" class="size-medium wp-image-140" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/01/06/using-cakephp-bake-tool-on-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CakePHP &#8211; link / include JavaScript files in layouts</title>
		<link>http://www.asim.pk/2008/12/29/cakephp-link-include-javascript-files-in-layouts/</link>
		<comments>http://www.asim.pk/2008/12/29/cakephp-link-include-javascript-files-in-layouts/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 08:37:04 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[JavaScript Libraries]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Include]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Layouts]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[Referencing]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=131</guid>
		<description><![CDATA[Create (or modify the) file add this code CakePHP 1.2 allows you to define a reference to a Javascript file which is then added to the head section of the generated code. For this purpose the variable $scripts_for_layout has to &#8230; <a href="http://www.asim.pk/2008/12/29/cakephp-link-include-javascript-files-in-layouts/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Create (or modify the) file</p>
<pre class="brush: plain; title: ; notranslate">app/app_controller.php</pre>
<p>add this code</p>
<pre class="brush: php; title: ; notranslate">
class AppController extends Controller {
	var $helpers = array('Html', 'Form', 'Javascript');
}
</pre>
<p><a href="http://cakephp.org/">CakePHP</a> 1.2 allows you to define a reference to a Javascript file which is then added to the head section of the generated code. For this purpose the variable $scripts_for_layout has to be added to the layout:</p>
<pre class="brush: php; title: ; notranslate">
&lt;head&gt;
	&lt; ?php echo $scripts_for_layout; ?&gt;
&lt;/head&gt;
</pre>
<p>In the view you can now link to the Javascript file with:</p>
<pre class="brush: php; title: ; notranslate">
$javascript-&gt;link('script.js', false);
// OR you can simply use $javascript-&gt;link('script.js');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2008/12/29/cakephp-link-include-javascript-files-in-layouts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CakePHP &#8211; Get Controller, Action, URL information</title>
		<link>http://www.asim.pk/2008/12/28/cakephp-get-controller-action-url-information/</link>
		<comments>http://www.asim.pk/2008/12/28/cakephp-get-controller-action-url-information/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 16:09:58 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[Flickr]]></category>
		<category><![CDATA[Action]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[Example]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=125</guid>
		<description><![CDATA[If you want to know the controller, action or URL in CakePHP just use the default associative array that looks similar to this]]></description>
			<content:encoded><![CDATA[<p>If you want to know the controller, action or URL in <a href="http://cakephp.org/" target="_blank">CakePHP</a> just use the default associative array</p>
<pre class="brush: php; title: ; notranslate">$params</pre>
<p> that looks similar to this</p>
<pre class="brush: php; title: ; notranslate">
Array (
[controller] =&gt; my_controller_name
[action] =&gt; my_action_name
[url] =&gt; Array (
[url] =&gt; my_cake-php_url
)
)</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2008/12/28/cakephp-get-controller-action-url-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

