{"id":1835,"date":"2009-05-12T08:28:48","date_gmt":"2009-05-12T12:28:48","guid":{"rendered":"http:\/\/drbacchus.com\/cakephp-application-development"},"modified":"2009-05-12T08:28:48","modified_gmt":"2009-05-12T12:28:48","slug":"cakephp-application-development","status":"publish","type":"post","link":"https:\/\/drbacchus.com\/cakephp-application-development\/","title":{"rendered":"CakePHP Application Development"},"content":{"rendered":"<p><a href=\"http:\/\/www.packtpub.com\/cakephp-application-development\/book\/mid\/1205096efxeu\"><img decoding=\"async\" alt=\"CakePHP.jpg\" src=\"http:\/\/wooga.drbacchus.com\/user\/files\/CakePHP.jpg\"><\/a><\/p>\n<p>As I&#8217;ve mentioned before, we&#8217;re using <a href=\"http:\/\/cakephp.org\/\">CakePHP<\/a> for our development at work. Cake was the first formal MVC framework that I&#8217;d worked with, although at <a href=\"http:\/\/www.asbury.edu\/\">Asbury<\/a> we had developed an MVC framework in house, almost unbeknownst to us. That is to say, we developed a sane web app framework, and weren&#8217;t aware that someone had already given a name to the pattern. Shame on us for not doing our research a little better.<\/p>\n<p>Also, the other half of the web team had started working with RoR before I left, but I didn&#8217;t really look at it seriously.<\/p>\n<p>CakePHP is one of <a href=\"http:\/\/www.mustap.com\/phpzone_post_73_top-10-php-mvc-frameworks\">many PHP MVC frameworks<\/a>, and, naturally, there are a variety of opinions as to which one is the best. I can&#8217;t claim to have done a careful comparison. How did I choose Cake? I like to hire people smarter than myself, and trust their judgement. This was the recommendation that came up from that team of smarter people. And I certainly have to admit that Cake really works with the way I think, and is very much the effect that we were trying to achieve with our framework at Asbury. We didn&#8217;t quite get there, but we were headed very much in the right direction.<\/p>\n<p>The <a href=\"http:\/\/www.packtpub.com\/cakephp-application-development\/book\/mid\/1205096efxeu\">CakePHP book from Packt Publishing<\/a> was very helpful as an overview of what was possible. It has practical examples of what can be done, and has careful explanation of each step. In conjunction with the <a href=\"http:\/\/book.cakephp.org\/\">amazing online documentation<\/a>, it provides a solid footing for jumping right in to writing Cake apps the first week.<\/p>\n<p>One place the online docs are sorely lacking is the V part of MVC. The online docs are for programmers, not for designers &#8211; or perhaps &#8220;written by&#8221; is the better thing to say there. Either way, the section about views and layouts is still rather weak, although it&#8217;s being worked on. The Packt book is a good supplement to this, although it makes more sense on second reading, after a little hands-on experience with the Views stuff.<\/p>\n<p>In short, recommended. 4-out-of-5-stars. Anupom and Ahsanul have done a good job of giving an introduction to Cake app dev in this book, and I&#8217;d recommend this as a desk-side reference as you start developing in Cake.<\/p>\n<p>As to the other frameworks &#8211; yes, I&#8217;ve heard that there&#8217;s others that are better. One thing that is obvious, looking at the various frameworks, is that all of them are crazy active &#8211; they are all improving by leaps and bounds, and pretty much every feature comparison I&#8217;ve looked at is way out of date, and inundated by comments saying &#8220;yeah, that&#8217;s how it was 6 weeks ago, but you should take a look now!&#8221; So I&#8217;m pretty sure that the jury is still out on this, and that there will be still several years to watch these things before one emerges as a clear leader &#8211; if, indeed, that ever happens. It hasn&#8217;t in any other language (with the exception of Ruby) so I don&#8217;t know why we&#8217;d expect it with PHP.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I&#8217;ve mentioned before, we&#8217;re using CakePHP for our development at work. Cake was the first formal MVC framework that I&#8217;d worked with, although at Asbury we had developed an MVC framework in house, almost unbeknownst to us. That is to say, we developed a sane web app framework, and weren&#8217;t aware that someone had &hellip; <a href=\"https:\/\/drbacchus.com\/cakephp-application-development\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">CakePHP Application Development<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[96,212,213,155,103],"class_list":["post-1835","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-book-review","tag-cake","tag-cakephp","tag-packt","tag-php"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/drbacchus.com\/wp-json\/wp\/v2\/posts\/1835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/drbacchus.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/drbacchus.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/drbacchus.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/drbacchus.com\/wp-json\/wp\/v2\/comments?post=1835"}],"version-history":[{"count":0,"href":"https:\/\/drbacchus.com\/wp-json\/wp\/v2\/posts\/1835\/revisions"}],"wp:attachment":[{"href":"https:\/\/drbacchus.com\/wp-json\/wp\/v2\/media?parent=1835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/drbacchus.com\/wp-json\/wp\/v2\/categories?post=1835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/drbacchus.com\/wp-json\/wp\/v2\/tags?post=1835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}