
{"id":16,"date":"2008-04-01T00:51:14","date_gmt":"2008-04-01T00:51:14","guid":{"rendered":"http:\/\/www.nunoprospero.com\/?p=16"},"modified":"2018-04-25T22:39:18","modified_gmt":"2018-04-25T21:39:18","slug":"becoming-a-baker","status":"publish","type":"post","link":"https:\/\/www.nunoprospero.com\/blog\/2008\/04\/becoming-a-baker\/","title":{"rendered":"Becoming a Baker"},"content":{"rendered":"<p>I&#8217;ve been digging for a long time in this framework: <a title=\"Cake!\" href=\"http:\/\/www.cakephp.org\/\">CakePHP<\/a>. Nothing new here, I just wanted to shout that I love working at the <a href=\"http:\/\/bakery.cakephp.org\/\">bakery<\/a>!<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-22 aligncenter\" title=\"cake-php-logo\" src=\"http:\/\/www.nunoprospero.com\/blog\/wp-content\/uploads\/2008\/05\/cake-php-logo.png\" alt=\"\" width=\"228\" height=\"209\" \/><\/p>\n<p>After many\u00a0projects\u00a0in web apps, mainly using\u00a0<a href=\"http:\/\/www.php.net\">PHP<\/a>, I&#8217;ve noticed the huge amount of time that any developer spends creating support structures &#8211; such as: database connection, reading\/writing data, form validation, basic string functions, etc. A framework can reduce\u00a0this waste of time, letting you focus on what really matters: user interaction, services and data.<\/p>\n<p>The most famous framework, nowadays, is <a href=\"http:\/\/www.rubyonrails.org\">Ruby on Rails<\/a>, which combines multiple programming paradigms and fits like a glove in agile software development models. Includes nice features as <a href=\"http:\/\/en.wikipedia.org\/wiki\/Scaffold_(programming)\">scaffolding<\/a> (so damn cool!), Active Record, <a href=\"http:\/\/en.wikipedia.org\/wiki\/Model-view-controller\">MVC <\/a>structure (so <a href=\"http:\/\/en.wikipedia.org\/wiki\/KISS_principle\">KISS<\/a>!!), etc. Cool, huh? Maybe at first sight&#8230; I&#8217;ve spent much time trying to read the <a href=\"http:\/\/www.amazon.com\/Agile-Web-Development-Rails-2nd\/dp\/0977616630\/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1210811998&amp;sr=1-1\">RoR Bible<\/a>, but I get quite lost in Ruby&#8217;s details. Good framework, complex language.<\/p>\n<p>The founders of CakePHP took the RoR concepts and created a whole new framework, combining the best features from both worlds. Since I prefer to read (and write) in PHP, they&#8217;ve created something highly useful for me. Combined with the <a href=\"http:\/\/www.eclipse.org\/\">traditional web dev artillery<\/a>, there is a <a href=\"http:\/\/www.eclipse.org\/pdt\/\">plugin for syntax highlighting <\/a>and the other old buddy for <a href=\"http:\/\/www.jcraft.com\/eclipse-sftp\/\">content upload<\/a>. For the skeptics, here is the traditional demo: <a href=\"https:\/\/book.cakephp.org\">how to setup a blog in less than 15 minutes<\/a>.<\/p>\n<p>EDIT: However&#8230; I hate when they change the API. That&#8217;s why they call it &#8220;beta&#8221;&#8230; :)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been digging for a long time in this framework: CakePHP. Nothing new here, I just wanted to shout that I love working at the bakery! After many\u00a0projects\u00a0in web apps, mainly using\u00a0PHP, I&#8217;ve noticed the huge amount of time that any developer spends creating support structures &#8211; such as: database connection, reading\/writing data, form validation, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":22,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/posts\/16"}],"collection":[{"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":0,"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/media\/22"}],"wp:attachment":[{"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nunoprospero.com\/blog\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}