A work along tutorial on how to integrate Doctrine2 into Zend Framework 2.
A step by step work-along tutorial on how to create your first Zend Framework 2 + Doctrine 2 blog. Most of the things used are explained in depth.
If you find yourself with questions at the end of a chapter, or after finishing the tutorial, please reach out and I might be able to help you or point you in the right direction.
Table of Contents
- Setting up ZF2 development environment
- Setup Doctrine 2 in ZF2
- Configure the Blog module
- Create the Blog Entity
- Create Blog index page
- Link module in layout
- View single Post
- Setup add Blog Post
- Create abstract form
- Create Blog input filter
- Add Blog Post
- Edit Blog Post
- Delete Blog Post
- Finishing up Blog tutorial
Deprecation notice
Please note: this tutorial has been online a while and is no longer actively maintained/updated as it was created for Zend Framework 2.
This tutorial has been online since mid 2016. The framework has since had major updates and upgrades. Even though many of the principles have stayed the same throughout the newer versions of Zend Framework, a lot of the supporting code has been upgraded. As such differences are too big to update all of the code of all tutorials.