Helpful tips for baking with CakePHP
summary
Explains concrete CakePHP tactics: migrate passwords from 2→3 by adding a fallback password hasher class (implement hash and check) and call needsPasswordRehash to rehash on first login so upgrades happen with no downtime; use Table-level custom finder methods like findActive/findPaid to centralize query conditions; expose view-only values as entity virtual properties to remove template logic; rely on DateTime objects, debug log=true and DebugKit; prefers broker.php overrides over committing .env to repo.
AI-written summary · about
chapters (10)
- 0:00Introduction and speaker intro
- 1:47Preparation and community tips
- 5:25Password migration from CakePHP 2 to 3
- 12:57Custom finder methods in CakePHP
- 16:56Business logic and table classes
- 17:38Avoiding logic in template files
- 21:01Using DateTime objects effectively
- 25:00Setting environment values
- 30:50Debugging with log files
- 32:12Q&A on security and performance
