Now that we have an overview and a view, we’re going to create the possibility to create a new post.
7 – View single Blog post
Let’s make sure we can also view a single, complete, blog post.
6 – Link blog module in layout
First, let’s update our layout to link to the blog module, so that when we visit the homepage we don’t have to type in the URL to go the blog.
5 – Create Blog index page
Now that we have set up the Post entity and have some data in the database, let’s show this data in the index view we created earlier.
4 - Create the Blog Entity
First we’re going to be setting up the model, or Entity, we’re going to be using.
3 – Configure blog module
The setup of Zend and Doctrine should now be finalized and ready to go. So let’s create our Blog module.
2 – Setup Doctrine 2 in ZF2
Setting up our blog application we now will be configuring both Zend and Doctrine. By default nothing is configured in the Zend Skeleton Application.
1 - Setting up ZF2 development environment
Setting up the development environment, including local domain, software and database.
Zend Framework 2 + Doctrine 2 – Blog tutorial
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 use...