On Apr 25, 2008, at 5:13 AM, Greg Donald wrote:
Are there any plans to make Zend_Uri aware of
Zend_Controller_Router* ?
Being able to do something like
Zend_Uri::factory( 'controller' => 'foo', 'action' => 'bar' );
_might_ be useful.
*Might* be useful if there wasn't already 2 or 3 different ways to do
this. But
Zend_Uri is already a fairly independent component that's used around
the
framework
Otherwise Zend_Uri seems fairly useless. Any serious web developer
already has a good URL validation regex lying around.
Well that's an insightful statement to your point of view. Zend_Uri is
actually
very useful in a variety of circumstances, mostly those where you need
to
validate and dissect external URLs. Sure you could use a bunch of regex
expressions to achieve the same thing, but why bother if ZF provides a
component
with a nice interface for you? In fact, why use ZF at all when you
could just
code it yourself???
Judging from all your other posts here I'd say maybe ZF isn't for you.
You
should probably go back to writing good old fashioned flat PHP
scripts, might
save you from getting so worked up ;)
--
Mathew Byrne
http://matbyrne.com/