ZF2 MVC Events and Module
summary
Zend Framework 2 claims an MVC rebuilt around event manager with listeners, modular packaging and a service registry that supports invokables, factories and lazy loading. It enforces SOLID principles, bundles Composer-compatible components, and exposes bcrypt-based crypto helpers. Demo installs zfc-user via Composer, adds module entries, sets database.local.php, creates a user and successfully authenticates. The architecture names concrete APIs and file layouts: module.php, application.config.php, public/index.php and modules.zfcommons-style distribution.
AI-written summary · about
chapters (23)
- 0:00Introduction
- 1:15Presentation
- 4:45Usage
- 7:42MVC Architecture
- 8:46Event Manager
- 9:47Trigger Function
- 13:51Services
- 15:14Service Locator
- 16:07Explicit Services
- 18:50Module Architecture
- 20:43MVC Models
- 21:48Project Structure
- 26:04Installation
- 29:36Configuration file
- 32:48Module
- 33:53Website Models
- 37:42Database Configuration
- 38:58User Authentication
- 40:39Documentation
- 42:18Question 1 How to extend user models
- 43:49Question 2 Migration to Zend Framework 1
- 45:55Question 3 Performance
- 48:17Question 4 Models








