Re: [PHP4BETA] Serialization efficiency

From: Date: Sat, 12 Jun 1999 12:13:53 +0000
Subject: Re: [PHP4BETA] Serialization efficiency
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-1527@lists.php.net to get a copy of this message
Zeev Suraski wrote: > Your point doesn't sound right at all. Essentially what you're saying is > 'lets use a really slow data structure because it's very easy to look at'. > I don't accept it. I just said that ease of use comes first. I know from personal experience and from the PHPLIB mailing list that many people have problems with the concept of persistence. They rely on being able to read what the serialization process reads and writes in some form of the other. Either provide an easy to read for of serialized data as the default (with the option of using another, faster format, if explicitly requested; and have the unserialization detect and read either) or provide a nice debugging interface. If the debugging interface is just another phpinfo table, you should consider adding an optional parameter to phpinfo() so that it is possible to have phpinfo() show only selected info boxes (with the default being "show all"). Kristian -- Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00 Using PHP3? See our web development library at http://phplib.shonline.de/ (GPL)

« previous php.version4 (#1527) next »