Hi all,

For quite some time now I feel that Zend_Uri is a very "stupid"
component, in the sense that it adds very little except for some
syntactic sugar over what functions like parse_url() can do.

Most notably, I would like to be able to:
- Represent abstract or incomplete URIs (such as one might find in an 
  HTML page - <a href="../foo/bar">.
- Allow merging relative and absolute URIs and setting "base URL" when 
  creating URI objects from strings.
- Allow for better subclassing abilities (providing the option to 
  create scheme-specific classes by the user, for example for FTP URIs).

I expect the changes to introduce some small API changes, breaking
backwards compatibility of some of the method calls (but not the
important ones IMHO). 

There is an option to provide most of the functionality without breaking
the API, but I think that the old API is not entirely coherent and
*should* be broken.

My proposal for those changes is here:
http://framework.zend.com/wiki/display/ZFPROP/Zend_Uri+Improvements
+-+Shahar+Evron

Please review it and send me your comments. 


Thanks!

Shahar.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to