From the course: MVC Frameworks for Building PHP Web Applications

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

CakePHP advanced concepts and next steps

CakePHP advanced concepts and next steps

From the course: MVC Frameworks for Building PHP Web Applications

Start my 1-month free trial

CakePHP advanced concepts and next steps

- [Instructor] We've taken a look at how to build things in CakePHP and what it looks like at the code level. But we only just scratched the surface. So if you're interested in learning more, let's talk about where you can go. The first thing you'll need to look at is the data layer of CakePHP. We really only looked at routing and controllers and templates but the data layer is a whole other aspect that's obviously really important. It's the M aspect of MVC. The bottom line is what you'll do is you'll use their built-in ORM tool to create PHP files in the app model directory and these are going to extend to the app model class. Once again these follow naming conventions, so by simply creating these classes in this directory and you can use the (mumbles) if you like. They will automatically be mapped to a database and will automatically have specific behaviors so that you can get information from the database, send information to the database, save information to the database, and…

Contents