Skip Navigation LinksHome > Categories > Code from a Category

Zend Router. Configuring the router

User Name: serfcompany
Name: Serf
Contact Me:
Home Page:
php,mysql,javascript,html,css. Preferable working with Zend Framework. Good know javascript. I worked with various, javascript frameworks such as(jquery, YUI3, extjs, sencha touch). [More]
Viewed Times: 2646
Add Date: 06/27/2012
In this paper we consider a simple method for setting up your own router (Zend router).

In order not to clutter up the Bootstrap, we will configure a router in a configuration file application.ini (www / application / configs / application.ini).

Add the following lines:

You specify the Zend Framework during the transition to a page such as articles / 5 5 as defined id.

Get the value you placed in the action:

Zend router can be implemented in a different format:

Here, accordingly, the data in the articles / tag / zend.

Post a Comment

Name: (Optional)
Email: (Optional, you can get an email if somebody replys your comments)*
Email me if somebody respons my comment below:
Enter Text
as Below:
(case insensitive, if hard to read, click the "get a new one" button)
* Your email address will not be shared with any third parties for any reason.
** Maximum 1000 charactors.