Re: Design questions

From: Date: Mon, 11 Aug 2003 21:36:27 +0000
Subject: Re: Design questions
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-19536@lists.php.net to get a copy of this message
On Mon, Aug 11, 2003 at 02:05:09PM +0200, Stephan Schmidt wrote: > I'm currently working on the Unserialize-part of XML_Serializer. I'd > like to put all functionality of the Unserialer in a seperate class, as > in most cases either the serializer _or_ the unserializer is needed and > seldomly both classes have to be instantiated at once. > Should I add a new package XML_Unserializer, or should I put both > classes in the same package? If yes, how should the folder structure be? > > XML/Serializer.php > XML/Unserializer.php This is fine. Both files should belong to the XML_Serializer package. Please make sure that both files contain the same @package tag, too. -- Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)

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