Learning CakePHP 3
4h 45mBeginner2016-03-22
Authors

Justin Yost
Web Developer, Programmer
Course details
CakePHP is a registered trademark of Cake Software Foundation, Inc.. Cake Software Foundation, Inc. is not affiliated with Lynda.com, nor does it endorse, sponsor, or otherwise support Lynda.com services.
CakePHP is a critical framework for PHP developers. It helps them build complex web applications faster and more efficiently. If you want to use CakePHP 3 (the latest version of the framework) in your own development workflow, this is the place to start.
Justin Yost provides an overview of the underlying MVC pattern in CakePHP, and the installation and configuration process for Mac and Windows. He shows how to use the CakePHP shell to build your first basic CakePHP app, and then discusses each application element in depth: controllers, models, views, components, behaviors, helpers, and utilities. At each step, he discusses the relevant new features and enhancements in CakePHP 3, including new components; performance, session management, and ORM improvements; and localization.
In later chapters, the course gets a little more advanced. Watch these tutorials to learn how to send email with CakePHP, extend CakePHP with plugins, and write unit tests to identify and eliminate bugs in your code. Justin also shows how to add security to your CakePHP apps with a basic user authentication system.
Learning objectives
Installing and configuring CakePHP
Using the CakePHP shell console
Creating CakePHP controllers
Saving data in a CakePHP model
Finding and deleting data
Working with entity methods
Creating CakePHP views
Using and customizing components to share functionality between controllers
Creating behaviors
Formatting data with helpers
Developing faster with CakePHP utilities: hash, collections, and logging
Sending CakePHP email
Creating a custom plugin
Testing CakePHP applications
Authorizing users of CakePHP applications
CakePHP is a critical framework for PHP developers. It helps them build complex web applications faster and more efficiently. If you want to use CakePHP 3 (the latest version of the framework) in your own development workflow, this is the place to start.
Justin Yost provides an overview of the underlying MVC pattern in CakePHP, and the installation and configuration process for Mac and Windows. He shows how to use the CakePHP shell to build your first basic CakePHP app, and then discusses each application element in depth: controllers, models, views, components, behaviors, helpers, and utilities. At each step, he discusses the relevant new features and enhancements in CakePHP 3, including new components; performance, session management, and ORM improvements; and localization.
In later chapters, the course gets a little more advanced. Watch these tutorials to learn how to send email with CakePHP, extend CakePHP with plugins, and write unit tests to identify and eliminate bugs in your code. Justin also shows how to add security to your CakePHP apps with a basic user authentication system.
Learning objectives
Installing and configuring CakePHP
Using the CakePHP shell console
Creating CakePHP controllers
Saving data in a CakePHP model
Finding and deleting data
Working with entity methods
Creating CakePHP views
Using and customizing components to share functionality between controllers
Creating behaviors
Formatting data with helpers
Developing faster with CakePHP utilities: hash, collections, and logging
Sending CakePHP email
Creating a custom plugin
Testing CakePHP applications
Authorizing users of CakePHP applications
Skills covered
CakePHPCake SoftwareBack-End Web DevelopmentFull-Stack Web DevelopmentFront-End Web DevelopmentLearningWeb Development
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know before watching this course
- 03 - Using the exercise files
1. What Is CakePHP
- 04 - Overview of CakePHP
- 05 - CakePHP as an MVC framework
- 06 - Convention over configuration
2. Getting Started with CakePHP
- 07 - CakePHP requirements
- 08 - Installation of CakePHP on Mac OS X
- 09 - Installation of CakePHP on Windows
- 10 - CakePHP configuration
- 11 - CakePHP folder structure conventions
- 12 - CakePHP naming conventions
3. Building Our First CakePHP App
- 13 - CakePHP shell
- 14 - Bake a CakePHP project
4. CakePHP Controllers
- 15 - Working with controllers
- 16 - Controller and request flow
- 17 - Controller methods
- 18 - Controller parameters
- 19 - Controller pagination
- 20 - Additional controller properties
5. CakePHP Models
- 21 - Working with models
- 22 - Create a hasOne association
- 23 - Use belongsTo, hasMany, and belongsToMany associations
- 24 - Find your data
- 25 - Retrieve associated data
- 26 - Save your data
- 27 - Delete your data
- 28 - Standard CakePHP validation
- 29 - Create custom validation
- 30 - Entity methods
- 31 - Entity setters and getters
6. CakePHP Views
- 32 - Working with views
- 33 - View elements
- 34 - View blocks
- 35 - View layouts
7. CakePHP Components
- 36 - Introduction to CakePHP components
- 37 - Standard CakePHP components
- 38 - Create and use a custom component
8. CakePHP Behaviors
- 39 - Introduction to CakePHP Behaviors
- 40 - Standard CakePHP Behaviors
- 41 - Creating and using a custom Behavior
9. CakePHP Helpers
- 42 - Introduction to CakePHP helpers
- 43 - Standard CakePHP helpers
- 44 - Creating and using a custom helper
10. CakePHP Utilities
- 45 - Hash
- 46 - Collections
- 47 - Logging
- 48 - Modelless forms
11. CakePHP Email
- 49 - Sending an email
- 50 - Sending email via the mailer
12. CakePHP Plugins
- 51 - What is a CakePHP plugin
- 52 - Installing CakePHP plugins
- 53 - Create and use a custom plugin
13. Unit Testing CakePHP Applications
- 54 - Our first test case
- 55 - Testing a CakePHP table
- 56 - Testing a CakePHP entity
- 57 - Testing a CakePHP controller
- 58 - Testing a CakePHP behavior
- 59 - Testing a CakePHP component
14. User Authentication and Authorization
- 60 - Log in and log out a user
- 61 - Authorize a user
- 62 - Using routes to authorize a user
Conclusion
- 63 - Next steps