Re: Re: [RfC] XML_Serializer
| From: | Jan Schneider | Date: | Tue, 29 Jul 2003 21:27:48 +0000 |
| Subject: | Re: Re: [RfC] XML_Serializer | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18906@lists.php.net to get a copy of this message | ||
Zitat von Greg Beaver <greg@chiaraquartet.net>:
> I'm a big +1 for an XML_Util class, although I'm not a big fan of static
> methods for this class, it should be possible to extend them. XML_Util
> should be small and simple, any extra functionality should be
> implemented in child classes like XML_Transformer_Util (which is why
> static methods wouldn't be good). This is to prevent dependency bloat.
Why do you think you can't extend a class with static methods? I think this
class is a perfect example of when it makes sense to use static class
methods.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft