Route the same controller/action by default

For programming and general questions on Zend Framework

Route the same controller/action by default

Postby cyberjobes on Tue Jan 08, 2013 10:32 pm

The site I am making will have too many pages, and it is impractical that I create a controller and/or action for ever one of them.

How do I write it so that no matter the URL, the same controller and action are always called by default?

My plan is to collect data from a database based on the URI, and from there I will determine what layouts and views will need to be used. This would simplify the site very much, and still allow the non-programmers maintaining content on the site to create pages on the fly.

Posts: 2
Joined: Mon Jan 07, 2013 8:37 pm

Return to Zend Framework

Who is online

Users browsing this forum: No registered users and 6 guests