Zendframework how to create route

I am going to create routes based on the information of the below table

URL Action Controller
http://localhost:8000/products index ProductController
http://localhost:8000/products/create create ProductController
http://localhost:8000/products/update/1 update ProductController
http://localhost:8000/products/delete/1 delete ProductController

You can add the route entry in module/Application/config/module.config.ph file
I will expain two methods to create routes

Method 1

You can create four seperate routes by giving them diffrent names

Method 2

In this method you can use the child routes

First you create the route for /products and then you can define the child routes inside it

If you need to get url of a route inside your view file you can the following code