Zend Framework 2 (ZF2) is an open-source framework for developing web applications and services with PHP. ZF2 is implemented using 100% object-oriented code, with a component structure that incorporates a "use-at-will" design. The ZF2 architecture is extremely flexible, using events and listeners to shape application flow. Another powerful feature is service management, which allows developers to configure shared or unique services in order to build classes via factories which can inject parameters. Leveraging advanced PHP 5.3.x features such as namespaces and closures, ZF2 incorporates advanced design patterns, including MVC, publish/subscribe, and strategy, among others.

Audience

This course is designed for people who have a solid foundation in the PHP language and OOP, and have successfully created complex PHP web applications. This is an introductory course and assumes no previous Zend Framework 2 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.

What will I learn?

“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

Class outline

 

1

INTRODUCTION TO ZF2 AND ESSENTIAL CONCEPTS

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

DESIGN PATTERNS AND MVC

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

EVENT MANAGER AND SHARED EVENT MANAGER

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

 SERVICE MANAGER

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

MVC AND MODELS

  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
6

CONTROLLERS

  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
7

ROUTING

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

VIEW LAYER

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

INPUT VALIDATION

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

DATABASES

  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

Prerequisite(s)

Solid understanding of PHP at an intermediate to advanced level and OOP experience

What does it include?

This course provides a series of ten 2-hr, instructor-led lectures on the Zend Framework 2 design architecture, 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, so that you have time to review the materials at your own pace, to solidify important concepts and advance your coding skills!  

Class Registration and System Requirements

Registration Information and Technical Requirements

Limited Time Offer:

Get 30% Discount
USE Coupon Code: 30ZF2AUG14 during checkout

(*Not redeemable with any other special offer. Expires August 31, 2014)

 

$1200

Buy Now

Class Schedule

Language

Class Schedule

Hours per Session

Online

Sept. 15, 16, 17, 18, 19, 22, 23, 24, 25 & 26

11am-1pm Pacific Time
20-22h00 CET (Paris)
18-20:00 GMT

Online

Oct. 13, 14, 15, 16, 17, 20, 21, 22, 23 & 24

5-7am Pacific Time

14-16h00 CET (Paris)

12-14:00 GMT

Online

Nov. 10, 11, 12, 13, 14, 17, 18, 19, 20 & 21

1-3pm Pacific Time

22-24h00 CET (Paris)

21-23:00 GMT

Online

Dec. 8, 9, 10, 11, 12, 15, 16, 17, 18 & 19

7-9am Pacific Time

16-18h00 CET (Paris)

15-17:00 GMT