The Zend Framework Book
Survive The Deep End started as a hands-on guide to building real applications with Zend Framework 1. The book walks through controllers, models, views, bootstrapping, local environment setup, performance tuning, and the architectural decisions that separate projects that survive production from those that collapse under their own weight.
The chapters remain practical. Where Zend Framework 1 concepts have a direct modern equivalent in Laminas or current PHP practice, the text calls it out.
Featured Chapters
These chapters represent the core of the book and cover the topics that still come up in real PHP projects today.
The Model
Domain logic, persistence patterns, and keeping your model layer honest.
Application Architecture
Front controller, dispatcher, router, and how the request lifecycle actually works.
Performance Optimisation
Profiling, caching, autoloading, and what actually moves the needle in production.
Local Domain Setup
Apache virtual hosts, local development domains, and environment configuration.
Modern Guides
Companion guides that bring the book’s concepts forward into current PHP practice.
Modernising Zend Framework Applications
Practical strategies for incremental upgrades without a full rewrite.
Zend to Laminas Migration Checklist
Namespace changes, configuration shifts, and testing adjustments.
PHP Performance Playbook
Profiling workflows, caching layers, and production tuning notes.
Local Development Environments
Docker, Vagrant, MAMP, and choosing what works for your project.
Refactoring Fat Controllers
Extracting domain logic, service layers, and action classes from bloated controllers.
Topic Clusters
Focused hubs for the technologies and patterns that run through the book and guides.
PHP
Language fundamentals, version changes, and practical PHP guidance.
Zend Framework
Framework components, conventions, and historical context.
Laminas
The successor to Zend Framework and the migration path forward.
Application Architecture
Structural patterns, MVC, dependency injection, and clean boundaries.
Apache
Configuration, virtual hosts, and serving PHP applications.
Performance
Profiling, caching, optimisation, and measurement.
Recent Updates
Site content is refined and expanded regularly. See the changelog for the full history.
- Expanded the performance optimisation chapter with updated opcode caching guidance for PHP 8.x environments
- Clarified controller action examples in the Hello World tutorial chapter
- Added the Zend to Laminas migration checklist guide
- Refreshed Apache virtual host configuration examples with macOS and Linux path notes
- Improved chapter cross-references between The Model and Domain Model chapters