From the course: MVC Frameworks for Building PHP Web Applications

Unlock the full course today

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

CakePHP concepts and features

CakePHP concepts and features

From the course: MVC Frameworks for Building PHP Web Applications

Start my 1-month free trial

CakePHP concepts and features

- [Instructor] CakePHP is an MVC framework originally built to bring some of the simplicity and time-saving aspects of Ruby on Rails to PHP coding. It does share some similarities, specifically naming conventions and the general idea of having conventions so that when you do things a certain way, a lot of things will automatically happen behind the scene. So developing in CakePHP is very different from developing in a lot of the other frameworks. One of the nice additions to the newer Cake is they've used Composer. So now we can install simply by using the Composer command line interface. That has simplified creating a new project. There are a few key elements of the CakePHP environment that you'll want to learn. One is the console. This is called Bake, and Bake allows us to do a lot of different things. Creating controllers, scaffolding, but also managing your databases and rolling back changes, things like that. There's all kinds of things you can do that can make you life easier…

Contents