O'Reilly logo

Beginning CakePHP: From Novice to Professional by David Golding

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 3Creating a To-Do ListApplication

Now that you've set up Cake on your own computer, it's time to begin building applications. In this chapter, you'll create a to-do list application in Cake using the built-in scaffold feature. This is the simplest approach to application building in Cake. It will only require creating a couple of plain-text files as well as a database with a couple of tables. You won't deal too much with the design but rather let Cake generate all of your HTML output.

Exploring the MVC Structure

Cake is designed using the common MVC structure. What this means is that the framework splits apart different processes into separate areas (see "Model-View-Controller" in Chapter 1). In the app folder, you will notice a folder ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required