Ready to watch this entire course?
Become a member and get unlimited access to the entire skills library of over 4,900 courses, including more Developer and personalized recommendations.Start Your Free Trial Now
- View Offline
Speed up your development with CakePHP, the popular open-source PHP framework. In this course, author Jon Peck builds a magazine cataloging system while explaining how to work with the Model-View-Controller (MVC) development pattern.
The course demonstrates how to install and configure CakePHP, describing the layout and components. Then, leveraging the Bake console, Jon shows how to generate and customize code, and explores form validation, database persistence, and even image uploads. By developing a complete, functional application, you'll have the foundation you need to build your own applications with CakePHP.
- What is CakePHP?
- Installing and configuring CakePHP
- Generating a model with Bake
- Linking models together
- Generating a controller
- Saving a model from the controller
- Displaying a model with a view
- Debugging a failed save
- Using helpers to generate HTML
- Uploading files and displaying images
Skill Level Intermediate
This course was designed with the assumption that you have a working knowledge of the PHP language and have written a couple of scripts. Without this background you might not have enough context to follow along with what I'm doing, which will make it harder to enjoy and learn. For some background or a refresher I recommend PHP with MySQL Essential Training with Kevin Skoglund here in the lynda.com online training library. Also, the use of object oriented PHP is required for this course. If you're not familiar with it, check out Object-Oriented Programming with PHP, here in the lynda.com online training library.
It'll include examples and explanations that should make Cake PHP easier to understand. If your unfamiliar with configuring web server components. Check out the course, installing Apache, MySQL, and PHP with David Gassner. Here in the lynda.com online training library for comprehensive instructions on how to manage this solutions stack. If you'd like to learn more about MVC frameworks in general, take a look at MVC frameworks for building PHP web applications with Drew Falkman here in the lynda.com online training library.
It covers a number of key structures and techniques. Then goes into a brief survey of many different frameworks including CakePHP, which is the sole subject of this course. Finally, it's good to know where to find the manual. CakePHP has a comprehensive community edited book known as the CakePHP Cookbook. It's available at book.cakephp.org in many formats. Additionally the CakePHP API is documented at api.cakephp.org.
You should bookmark both of these pages for reference as the course progresses.