<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: CakePHP: Baking in frustration</title>
	<atom:link href="http://www.askaboutphp.com/36/cakephp-baking-in-frustration.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.askaboutphp.com/36/cakephp-baking-in-frustration.html</link>
	<description></description>
	<lastBuildDate>Tue, 27 Jul 2010 08:48:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: CakePHP: Baking in frustration &#124; Ask About PHP &#124; Velocity Software Solutions (P) Ltd.</title>
		<link>http://www.askaboutphp.com/36/cakephp-baking-in-frustration.html/comment-page-1#comment-20938</link>
		<dc:creator>CakePHP: Baking in frustration &#124; Ask About PHP &#124; Velocity Software Solutions (P) Ltd.</dc:creator>
		<pubDate>Tue, 27 Apr 2010 09:35:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=36#comment-20938</guid>
		<description>[...] Hi! I have used CodeIgniter, Symfony and Zend Framework on several projects &#8230;Original post: CakePHP: Baking in frustration &#124; Ask About PHPReturn to topTagged: first-experience, framework, framework-on-several, frustration, [...]</description>
		<content:encoded><![CDATA[<p>[...] Hi! I have used CodeIgniter, Symfony and Zend Framework on several projects &#8230;Original post: CakePHP: Baking in frustration | Ask About PHPReturn to topTagged: first-experience, framework, framework-on-several, frustration, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy</title>
		<link>http://www.askaboutphp.com/36/cakephp-baking-in-frustration.html/comment-page-1#comment-272</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Thu, 12 Jun 2008 22:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=36#comment-272</guid>
		<description>Cake is a great framework.  Complaints regarding performance can be trumped by utilizing caching.  Cake is probably one of the more well structured PHP frameworks available.

The doc&#039;s may be lacking, but if you stick with it, it&#039;s well worth it- much more robust than CI.

I was a ZF developer for about 6-8 months, but switched to Cake and have been using it for just under a year.  I had some frustrations initially as well, but after working through them, I haven&#039;t regretted the switch.</description>
		<content:encoded><![CDATA[<p>Cake is a great framework.  Complaints regarding performance can be trumped by utilizing caching.  Cake is probably one of the more well structured PHP frameworks available.</p>
<p>The doc&#8217;s may be lacking, but if you stick with it, it&#8217;s well worth it- much more robust than CI.</p>
<p>I was a ZF developer for about 6-8 months, but switched to Cake and have been using it for just under a year.  I had some frustrations initially as well, but after working through them, I haven&#8217;t regretted the switch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Jillard</title>
		<link>http://www.askaboutphp.com/36/cakephp-baking-in-frustration.html/comment-page-1#comment-264</link>
		<dc:creator>Alex Jillard</dc:creator>
		<pubDate>Wed, 11 Jun 2008 21:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=36#comment-264</guid>
		<description>I started with CakePHP and although I was able to get my application running, it was not at all fun.  Finding any decent source of info was near impossible without spending hours trying to dig up a blog or google code thread that commented on it.

My next project I moved over to Code Igniter, and so far have found it to be much better.  There are a few annoying bugs that I continually hit with checkboxes, but aside from that, its a rather painless experience.  90% of the stuff I need is in the documents, and the rest comes up with a simple search in the forums.</description>
		<content:encoded><![CDATA[<p>I started with CakePHP and although I was able to get my application running, it was not at all fun.  Finding any decent source of info was near impossible without spending hours trying to dig up a blog or google code thread that commented on it.</p>
<p>My next project I moved over to Code Igniter, and so far have found it to be much better.  There are a few annoying bugs that I continually hit with checkboxes, but aside from that, its a rather painless experience.  90% of the stuff I need is in the documents, and the rest comes up with a simple search in the forums.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Miller</title>
		<link>http://www.askaboutphp.com/36/cakephp-baking-in-frustration.html/comment-page-1#comment-262</link>
		<dc:creator>Nick Miller</dc:creator>
		<pubDate>Wed, 11 Jun 2008 14:43:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=36#comment-262</guid>
		<description>I second the recommendation for Zend Framework. It&#039;s an MVC framework with great documentation. http://framework.zend.com</description>
		<content:encoded><![CDATA[<p>I second the recommendation for Zend Framework. It&#8217;s an MVC framework with great documentation. <a href="http://framework.zend.com" rel="nofollow">http://framework.zend.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Orr</title>
		<link>http://www.askaboutphp.com/36/cakephp-baking-in-frustration.html/comment-page-1#comment-259</link>
		<dc:creator>Stephen Orr</dc:creator>
		<pubDate>Wed, 11 Jun 2008 11:14:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=36#comment-259</guid>
		<description>With regards to having a default page for a plugin. It is possible, there&#039;s no need to mess around with routing, because I use this technique to create a &quot;Dashboard&quot; page for my admin backends.

Assuming you have a fairly standard plugin - in your instance:

/plugins/seo/seo_app_controller.php
/plugins/seo/seo_app_model.php
/plugins/seo/controllers/seo_controller.php -- This is the key file here
/plugins/seo/views/seo/index.ctp -- This is the second important file

In seo_controller.php, right at the top underneath where you set var $name = &#039;Seo&#039;;, add a line: var $uses = array();

This will solve your problem, as Cake will no longer look for a default model for this page. Works just as well outside of plugins should you feel the need to have a controller without a model. And this technique is well-documented.</description>
		<content:encoded><![CDATA[<p>With regards to having a default page for a plugin. It is possible, there&#8217;s no need to mess around with routing, because I use this technique to create a &#8220;Dashboard&#8221; page for my admin backends.</p>
<p>Assuming you have a fairly standard plugin &#8211; in your instance:</p>
<p>/plugins/seo/seo_app_controller.php<br />
/plugins/seo/seo_app_model.php<br />
/plugins/seo/controllers/seo_controller.php &#8212; This is the key file here<br />
/plugins/seo/views/seo/index.ctp &#8212; This is the second important file</p>
<p>In seo_controller.php, right at the top underneath where you set var $name = &#8216;Seo&#8217;;, add a line: var $uses = array();</p>
<p>This will solve your problem, as Cake will no longer look for a default model for this page. Works just as well outside of plugins should you feel the need to have a controller without a model. And this technique is well-documented.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.askaboutphp.com/36/cakephp-baking-in-frustration.html/comment-page-1#comment-258</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 11 Jun 2008 10:36:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=36#comment-258</guid>
		<description>If you like PHP&#039;s manual, you&#039;ll love Zend Framework&#039;s documentation.</description>
		<content:encoded><![CDATA[<p>If you like PHP&#8217;s manual, you&#8217;ll love Zend Framework&#8217;s documentation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Michael Tan</title>
		<link>http://www.askaboutphp.com/36/cakephp-baking-in-frustration.html/comment-page-1#comment-256</link>
		<dc:creator>Jan Michael Tan</dc:creator>
		<pubDate>Wed, 11 Jun 2008 08:42:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=36#comment-256</guid>
		<description>Hi! I have used CodeIgniter, Symfony and Zend Framework on several projects before, imho Zend Framework tops them all with regards to performance and flexibility. Granted that there will be a learning curve, but give it a shot. Am in the middle of a project right now with Zend.</description>
		<content:encoded><![CDATA[<p>Hi! I have used CodeIgniter, Symfony and Zend Framework on several projects before, imho Zend Framework tops them all with regards to performance and flexibility. Granted that there will be a learning curve, but give it a shot. Am in the middle of a project right now with Zend.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webmaster</title>
		<link>http://www.askaboutphp.com/36/cakephp-baking-in-frustration.html/comment-page-1#comment-255</link>
		<dc:creator>webmaster</dc:creator>
		<pubDate>Wed, 11 Jun 2008 08:01:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=36#comment-255</guid>
		<description>@Christian

Thanks. At least you&#039;ve confirmed for me that router is the way to do it for the link issue. It&#039;s always good to have some affirmation that I&#039;m on a right track.

Not sure what you mean on the plugin model issue tho. 

I don&#039;t think browsing the source code is really an option to make up for poor docs. But I get where you&#039;re coming from. 

I guess we can all do our part to contribute to the documentation effort. I have to also say that trac.cakephp.com was also a wealth of information. You just have to go digging for it.</description>
		<content:encoded><![CDATA[<p>@Christian</p>
<p>Thanks. At least you&#8217;ve confirmed for me that router is the way to do it for the link issue. It&#8217;s always good to have some affirmation that I&#8217;m on a right track.</p>
<p>Not sure what you mean on the plugin model issue tho. </p>
<p>I don&#8217;t think browsing the source code is really an option to make up for poor docs. But I get where you&#8217;re coming from. </p>
<p>I guess we can all do our part to contribute to the documentation effort. I have to also say that trac.cakephp.com was also a wealth of information. You just have to go digging for it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Winther</title>
		<link>http://www.askaboutphp.com/36/cakephp-baking-in-frustration.html/comment-page-1#comment-254</link>
		<dc:creator>Christian Winther</dc:creator>
		<pubDate>Wed, 11 Jun 2008 08:01:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=36#comment-254</guid>
		<description>ok, your blog is broken when i try to type &#039;&lt; ? p h p

it just discards it ;)</description>
		<content:encoded><![CDATA[<p>ok, your blog is broken when i try to type &#8216;&lt; ? p h p</p>
<p>it just discards it <img src='http://www.askaboutphp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Winther</title>
		<link>http://www.askaboutphp.com/36/cakephp-baking-in-frustration.html/comment-page-1#comment-253</link>
		<dc:creator>Christian Winther</dc:creator>
		<pubDate>Wed, 11 Jun 2008 08:00:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=36#comment-253</guid>
		<description> array(&#039;className&#039; =&gt; &#039;Page&#039;), &#039;Setting&#039; =&gt; array(&#039;className&#039; =&gt; &#039;Seo.Setting&#039;));
}

will load app/models/page.php as Page
will load app/plugins/seo/setting.php as Setting

No App::import required</description>
		<content:encoded><![CDATA[<p>array(&#8216;className&#8217; =&gt; &#8216;Page&#8217;), &#8216;Setting&#8217; =&gt; array(&#8216;className&#8217; =&gt; &#8216;Seo.Setting&#8217;));<br />
}</p>
<p>will load app/models/page.php as Page<br />
will load app/plugins/seo/setting.php as Setting</p>
<p>No App::import required</p>
]]></content:encoded>
	</item>
</channel>
</rss>
