Re: Looking for info on Pear concepts and classes

From: Date: Sun, 29 Jul 2001 15:43:16 +0000
Subject: Re: Looking for info on Pear concepts and classes
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-1118@lists.php.net to get a copy of this message
giancarlo pinerolo wrote: > > > > That article started to clarify me some concepts, but other remain in > > > the darkness, for example about the 'factory' , what the > > > 'destructor' , > > > the installer, etc. > > > If you want to learn about factory methods and other interesting > > techniques, pick up a book about design patterns (see ISBN 0201633612). > > Martin pretty much covered the rest of your questions. > ù > > Looking at the packages, I found that there is no 'factory' method > in the PEAR class. > Does/can not the 'factory' concept apply to other things than the DB? The "factory pattern" is just something you can use in your code design. It's not a feature of PEAR, but some PEAR packages use that way of creating "customized objects". - Stig

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