Give a little, get a lot! Login and vote now.
By raphael76
via dasprids.de
Submitted: Jul 19 2008 / 14:45
There were many needs for it, in different mailing lists, forums and blogs, but it was never officially requested. There were also many approaches to accomplish it, but they were all kinda hacky. As DASPRiD neeed it in an earlier project yet, were he had to do the hacky way as well, and now a new project came up, were he even needed a more complex implementation, he decided to put a feature-rich hostname routing implementation into the ZF core itself. Read on to get a glance at it.
SaveShareSend
Tags: announcement, frameworks, php
Comments
phpimpact replied ago:
If hostname A has 30 routes, why do you need to load another 60 routes for host B and C? This solution doesn't scale. Routes should be loaded based on the hostname. Why loading and macthing 90 routes, if the front controller knows the hostname before injecting the router?
Voters For This Link (2)
Voters Against This Link (0)