News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Dmytro Shteflyuk's Blog:
Zend Framework - Router for subdirectory-based site
March 08, 2006 @ 07:36:39

Dmytro Shteflyuk has posted some his his experiences with the Zend Framework already, specifically in dealing with subdirectory issues.

I started discovering of Zend Framework and was confronted with a problem. When I've placed my test sample into site's subdirectory (http://localhost/test/), default router tried to find TestController which is not exists of course and routed me to IndexController/noRoute. It's not good for me. I decided to create my own router.

He gives the code he created to make the routing system work, using the Zend_Controller_Router_Interface and Zend_Controller_Front packages to handle the incoming requests.

0 comments voice your opinion now!
zend framework router subdirectory site zend framework router subdirectory site


blog comments powered by Disqus

Similar Posts

Florian Anderiasch\'s Blog: phpeclipse/eclipse+zend/php directory class

Roy Ganor-Shwaartz's Blog: Speaking at EclipseCon 2008

SitePoint PHP Blog: The next hot PHP app you install might be IBM's

Zend Developer Zone: PHP Abstract Podcast Episode 13: Introduction to the Zend Framework

NetTuts.com: Build an Admin Panel with the Fuel PHP Framework


Community Events

Don't see your event here?
Let us know!


language api framework extension voicesoftheelephpant series laravel laravel5 introduction conference opinion interview development release podcast wordpress community unittest library psr7

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework