Re: Re: serializer/unserializer

From: Date: Tue, 24 Aug 2004 18:16:38 +0000
Subject: Re: Re: serializer/unserializer
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-32911@lists.php.net to get a copy of this message
On Tue Aug 24, 2004 at 04:5238PM +0200, Lukas Smith wrote: > XML/Serializer.php > XML/Unserializer.php > > in the package XML_Serializer > > this is all good, except that doing things this way means that there is > a class in the packacke not prefixed with the package name. I'd probably opt for XML_Serializer::factory("serialize"); vs. XML_Serializer::factory("unserialize"); But I also don't really mind breaking the naming rule in this case, because it is so obvious that a serializer always support deserializing as well. -- - Martin Martin Jansen http://martinjansen.com/

« previous php.pear.dev (#32911) next »