Baking a Cake - The start
This post is the start of a series called “Baking a Cake” in which I will show you how to develop a CakePHP application step by step. The application won’t be overly complex as it is just a side project. Of course, there isn’t just one way of doing it, so what I will show is just one possible way (and probably not always the best one *g*). Even though I hope you will get some inspirations for your own work.
Every project starts with an idea of what should be accomplished.
In my case, I want to build an application which allows me to notify the users of my code snippets about updates.
A bit vague, isn’t it? Don’t worry, it will become more clear when we look at the requirements.




Most Xcellent!!!
Hopefully, I won’t lose all my teeth from all that tasty frosting.
Thanks for free education.
Manny
Nice:)
Let’s hope you take us thru beginner -> intermediate -> expert levels with the help of your tutorials :)
I’wish you tell some about aro .
@Mandy: I think it will be a bit of all levels.
@Jlion: I don’t know yet whether I will use ACL.
[...] the previous post we got a first, vague impression of what we will build during this series: […] to build an [...]
Congratulations for your articles I’m thinking about transtale them into spansih. Do you mind?
Thanks.
@Jramirez: No, that’s no problem, as long as you give credit to me.
As a Cake novice, I’d like to make one request. There are many excellent Cake tutorials, but note that I’ve found seems to cover using the scripts/bake.php script. I know many people such as myself are missing out on a key feature because of a lack of documentation.
In any case, thanks for taking the time to post a tutorial.
@TJ: One feature of bake.php, the creation of the application skeleton, is covered in http://cakebaker.42dh.com/2007/02/15/baking-a-cake-installation-configuration/ . The creation of controllers, models, and views with bake is rather simple. As the bake script is interactive, you only have to start bake with
Bake will then ask you all questions which are needed. Try it :)