Zend Framework (ZF) is the leading open-source framework for developing enterprise scale web applications and services with PHP. ZF incorporates advanced design patterns and is implemented using object-oriented code, with a component structure that incorporates a "use-at-will" highly modular design.

What will I learn?

You will learn how to leverage the power of Zend Framework to build well-designed, scalable, and secure web applications quickly and competently.

You’ll be introduced to the fundamental concepts that make ZF such a powerful tool to create web applications that can be rapidly developed and easily deployed. You will be introduced to the components that solve common problems so that you can concentrate on solving your business problems and not re-inventing the wheel.

What will I be able to achieve?

- Build a database-driven application, using the Model-View-Controller design pattern
- Use the EventManager to define events and set up listeners to run when events are triggered
- Understand dependency injection and the ServiceManager
- Learn how to configure the ServiceManager
- Understand the ModuleManager and associated best practices
- Set up routing rules for a ZF-based application
- Know what MVC events and services are provided by ZF MVC component
- Process forms, set up input validation, set up view scripts, properly escape data displayed in views
- Understand the various rendering and response strategies
- Configure a database adapter, prepare and execute queries


This course is designed for intermediate to advanced PHP developers who have a solid foundation in the PHP language and object-oriented programming (OOP). This is an introductory course and assumes no previous Zend Framework experience.

While this is a fundamental level course on Zend Framework 2, it requires more than a fundamental level understanding of PHP. We will do a short review of topics but in general participants are assumed to be proficient enough in the language to understand intermediate-level code examples and to perform coding exercises.

Customer Quote

“Zend Framework 2: Fundamentals is an essential class for the working PHP professional to quickly come up to speed writing ZF2 Modules and Applications.  How to use the basics of the API and MVC framework are extensively covered.  More important, the structural concepts of "PubSub", modules and Dependency Injection are covered to create more loosely coupled software components that will save your clients huge money over time.  This class is highly suggested for independents, freelancers and corporate software engineers with a passion for excellence.”         

John Dohoney,  CTO & Owner  RightSolutions Consulting


Solid understanding of PHP at an intermediate to advanced level and experience with developing object oriented PHP. 

Class Format

This course provides a series of ten 2-hr instructor-led lectures coupled with practical examples and student exercises. Participants are provided with a course guide, and the solution code for a practice application used as a teaching tool throughout the course. You will also be able to access the session recordings for a full 30 days after completion of the course. This class can be also delivered by an instructor on site.

Class outline




  1. ZF2 Key Features
  2. ZF2 Architecture
  3. How ZF2 Works
  4. ZF Architecture and MVC
  5. Decoupling
  6. Namespaces
  7. Autoloading


  1. Design Patterns
  2. MVC Elements and Implementation
  3. ZF2 MVC: Event-Drive Architecture
  4. Key MVC Events
  5. Services in MVC


  1. Event Manager (EM)
  2. Trigger Events
  3. Available Methods
  4. Aggregates
  5. Shared Event Listeners
  6. Identifiers
  7. Shared Event Manager (SEM)


  1. Service Manager (SM)
  2. Service Types
  3. Configuring Services


  1. Structure of an Application
  2. Modules in MVC
  3. Structure of a Module
  4. Bootstrapping a Modular Application
  5. Events
  6. MVC-related Module Configuration
  7. Zend\ModuleManager
  8. ModuleManager Events and Listeners
  9. Autoload Files for Modules
  10. Module Classes
  11. MVC 'bootstrap' Event
  12. ModuleAutoloader and DefaultListenerAggreagte
  13. Module Best Practices


  1. MVC Events and Controllers
  2. MVC-based Action Controllers
  3. AbstractActionControllers Interfaces
  4. Controller Plugins
  5. Accessing a Request and Response
  6. Registering Module-specific Listeners


  1. Routing Basics
  2. ZF2 Router Types
  3. ZF2 HTTP Route Types


  1. Zend\View
  2. View Model
  3. Layouts
  4. Alternate Rendering & Response Strategies
  5. PHP Renderer
  6. View Helpers


  1. Zend\InputFilter\Input
  2. Zend\Validator
  3. Filtering
  4. Zend\Form
  5. Validating Forms
  6. Rendering Forms


  1. Zend\Db\Adapter
  2. Creating an Adapter: Quick Start
  3. Query Preparation & Execution
  4. Creating Statements
  5. Zend\Db\Sql
  6. Zend\Db\TableGateway

If you have any questions please contact us at [email protected]
Reserve your spot for this class, buy the course today!

Buy Now

Class Schedule


Note: After you have purchased your Zend online training course, you will receive an email detailing the registration process.
If you have any questions please contact us at [email protected]


Interested in taking additional classes and achieving certification? Check out our bundle discount and save more! We recommend:

Zend Framework 2 from A-Zend Certification Online Training Course Bundle