Re: Namespace issues

From: Date: Thu, 16 May 2002 12:04:47 +0000
Subject: Re: Namespace issues
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6138@lists.php.net to get a copy of this message
On Thu, May 16, 2002 at 01:18:16PM +0200, Sebastian Bergmann wrote: > Kristian Koehntopp wrote: > > Should PEAR classes start sessions themselves or should the session > > management configuration be left to the PEAR class user > > (administrator/developer) and only be noted as a requirement? > > Just use session_register('var') and $_SESSION['var'] and you're > fine. Am I? Do I have to call session_start() or should I rely on the class user (administrator/developer) to do this? Should I use persistent objects (creating a class inclusion issue) or should PEAR classes prefer to store their data in classless hashes, which they later integrate - this would greatly save on included code for many pages, and thus speed up PEAR using applications a lot. A style guide should discuss this, and have a recommendation. Kristian -- http://www.amazon.de/exec/obidos/wishlist/18E5SVQ5HJZXG

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