PART 2Developing CakePHPApplications

CHAPTER 4Naming Files andDesigning the Database

In the previous chapter, I discussed how Cake was able to wrap some standard web functionality around the database structure to produce a to-do list application. Although you could change some things in the application to improve the user experience, overall Cake handles the typical operations of adding, deleting, editing, and viewing records in the database without much code. This is possible because of an important aspect of Cake: convention. Because you followed Cake's conventions when naming and setting up the database table, when creating the model and controller files, and when entering the URL in the browser to run the application, Cake was able to piece ...

Get Beginning CakePHP: From Novice to Professional now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.