Zend Framework has become one of the standard PHP frameworks since its release in 2007. In this workshop, Rob will explore the next version, Zend Framework 2. Starting with an overview of the new features, we will then look at how to build a ZF2 application.
We will build an ZF2 application from the ground up over the course of the tutorial. We’ll delve into the some of the more powerful features of the framework including the MVC system with its event manager and dependency injector, data access and forms. We will also look at the various extension points in ZF2 and how they can be leveraged to customise applications and will also look at how ZF2 differs from ZF1.
The topics that we will cover during the day are:
- An introduction to ZF2, covering organisation, namespaces, MVC system & coding style
- A look at the underlying ZF2 components: Zend\Stdlib, Autoloading, Dependency Injector & EventManager
- Creating an application with Zend\Tool
- Routing and controllers
- Modelling with mappers to Zend\Db
- Form handling
Questions & Answers
- Who’s the target audience for this tutorial?
- PHP developers who are comfortable with the language and know its OO model and have some experience with the MVC pattern of web development. An awareness of the changes in PHP 5.3 will be helpful as will some experience of Zend Framework 1.
- How experienced do I need to be?
- You should be familiar with my tutorial at http://akrabat.com/zft. This means that you are comfortable developing in PHP with MySQL. An awareness of the changes in PHP 5.3 will be helpful as will some experience of Zend Framework 1.
- Do I need to bring a laptop?
- You’ll get much more out of the tutorial if you bring a laptop which is already set up with PHP 5.3 and MySQL and a working copy of my tutorial. Your favourite editor will also be useful. Ideally, you’ll have a vhost set up on http://zf2.localhost that points to a directory called zf2tutorial/public.
This is a full day tutorial introducing Zend Framework 2, book your ticket now!
Rob Allen has been programming with PHP since 1999 and is a member of the PHP community. He is the lead author of Zend Framework in Action and is a contributor to the Zend Framework, developing the Zend_Config component and a member of the Community team.
Rob holds a Masters degree in Electronic Engineering from the University of Birmingham in the UK and started out writing C++ Windows applications. He now concentrates solely on web-based applications in PHP. Rob is the Technical Director of Big Room Internet in the UK, focussing on the company’s content management framework and future technologies.