all repos — h3rald @ a86846e227cd82435a2b8b9d08b8f8e4138e838d

The sources of https://h3rald.com

contents/articles/13.html

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
-----
title: "Baking a new CakeArticle"
content-type: article
timestamp: 1144938060
tags: "cakephp|writing"
-----
<p>Too right. Enough being a lazy writer, it&#8217;s time to seriously produce something. I could sit here and pretend that long blog posts can make up for the lack of new articles, but I&#8217;d like to write something <em>proper</em> and new. Judging by the latest stats people come here hoping to find either a blog <em>entirely</em> devoted to CakePHP or some CakePHP related content. Well, actually they can <a href="http://base--/tags/CakePHP/">find</a> quite a bit, but I&#8217;d like to be able to sport more Cake-related articles, bookmarks, and posts. My main problem is that I could add ten bookmarks about Cake right away, but the <em>latest addition</em> showed on the front page would feature only bookmarks, which would be bad (yes, I do worry about silly things). At the moment this blog is the second easiest way to provide fresh content frequently enough to encourage visitors to come back, but articles could be even better.</p>
<p style="float:left;"><img src="http://base--/img/pictures/baking_bear.png" alt="" /></p>
<p>Without further ado, I hereby announce that <em>I am working on some new articles on CakePHP</em>, at least one. I&#8217;d like to write something technical about CakePHP&#8217;s advanced features, because that&#8217;s where the current documentation is lacking, at the moment: associations, caching, some advanced components&#8230; they are topics which seem to interest those bakers who already baked their first cake and are now looking for some more icing.</p>
<p>Interested? Good! Sadly, that&#8217;s not what I&#8217;m going to write now, at least not the first article I&#8217;ll be releasing. Please stop calling me names, there&#8217;s no need to say that I&#8217;m just a lazy coward who doesn&#8217;t want to get his hands dirty and write some tough stuff. And stop pulling those sad faces! Think about&#8230; new bakers. There are new people learning about Cake and I know there are, I just discovered <a href="http://www.480x.com/2006/04/12/eureka/">one</a> yesterday almost by chance: he seems to be really enthusiastic about Cake, judging by his <a href="http://www.480x.com/2006/04/13/eureka-part-deux/">latest post</a> (OK, nevermind the pic).<br />
Those people are mostly more-or-less experienced <span class="caps">PHP</span> programmers who want to find an answer to all their development problems and annoyance. Well, my good friends, the answer lies in Cake. Cake can save us all and bestow powerful blessings of Good <span class="caps">PHP</span> Design and Well-structured Programming upon our messy spaghetti code!</p>
<p>I almost considered writing a humorous article about Cake, but luckily I changed my mind. My old <a href="http://base--/articles/view/cakephp/">CakePHP article</a> is already a few months old and was written when Cake was in pre-beta. I feel it&#8217;s time for a more up-to-date howto and introduction to our framework, something maybe not as lenghty but easily readable by almost anyone interested in starting to learn about Cake.</p>
<p>Baking lessons. Yes, that&#8217;s it. I&#8217;m currently writing an article divided in ten lessons which could potentially turn casual cowboy coders into (apprentice) bakers. That could be easy for those already enlightened by <acronym title="Object Oriented Programming"><span class="caps">OOP</span></acronym> and <acronym title="Model-View-Controller"><span class="caps">MVC</span></acronym>, and perhaps more difficult for others: at any rate, I&#8217;ll try my best.</p>