[PEPr] Comment on Web Services::Services_urlTea
| From: | Till Klampaeckel | Date: | Tue, 09 Oct 2007 14:32:03 +0000 |
| Subject: | [PEPr] Comment on Web Services::Services_urlTea | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-48252@lists.php.net to get a copy of this message | ||
Till Klampaeckel (http://pear.php.net/user/till) has commented on the proposal for Web
Services::Services_urlTea.
Comment:
Looks good to me!
I am not in favour of "hub classes" and the like. I think those service
classes should stay as small and flexible as possible. Maybe a common
naming scheme (Services_Url_TinyUrl, Services_Url_urlTea, ...) would be
more appropriate than adding class dependencies and object factories.
The reason why I am not in favour of a driver-style architecture here is
because I am not so sure if they really offer the same feature set.
Basically, they all shorten URLs, but do they all have a preview feature
like TinyURL (btw, is that API-acessable?), etc..
And my second argument would be K.I.S.S. (not the band ;-))! :)
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=511
--
Sent by PEPr, the automatic proposal system at http://pear.php.net