Learn how to build PHP web applications with CakePHP 3, the latest version of the popular PHP development framework.
Overview
Syllabus
Introduction
- Welcome
- What you should know before watching this course
- Using the exercise files
- Overview of CakePHP
- CakePHP as an MVC framework
- Convention over configuration
- CakePHP requirements
- Installation of CakePHP on Mac OS X
- Installation of CakePHP on Windows
- CakePHP configuration
- CakePHP folder structure conventions
- CakePHP naming conventions
- CakePHP shell
- Bake a CakePHP project
- Working with controllers
- Controller and request flow
- Controller methods
- Controller parameters
- Controller pagination
- Additional controller properties
- Working with models
- Create a hasOne association
- Use belongsTo, hasMany, and belongsToMany associations
- Find your data
- Retrieve associated data
- Save your data
- Delete your data
- Standard CakePHP validation
- Create custom validation
- Entity methods
- Entity setters and getters
- Working with views
- View elements
- View blocks
- View layouts
- Introduction to CakePHP components
- Standard CakePHP components
- Create and use a custom component
- Introduction to CakePHP Behaviors
- Standard CakePHP Behaviors
- Creating and using a custom Behavior
- Introduction to CakePHP helpers
- Standard CakePHP helpers
- Creating and using a custom helper
- Hash
- Collections
- Logging
- Modelless forms
- Sending an email
- Sending email via the mailer
- What is a CakePHP plugin?
- Installing CakePHP plugins
- Create and use a custom plugin
- Our first test case
- Testing a CakePHP table
- Testing a CakePHP entity
- Testing a CakePHP controller
- Testing a CakePHP behavior
- Testing a CakePHP component
- Log in and log out a user
- Authorize a user
- Using routes to authorize a user
- Next steps
Taught by
Justin Yost