Re: template module
| From: | Chuck Hagenbuch | Date: | Tue, 07 Aug 2001 15:31:18 +0000 |
| Subject: | Re: template module | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1316@lists.php.net to get a copy of this message | ||
Quoting Alexander Merz <alexander.merz@s1999.tu-chemnitz.de>:
> That is the power of the factory pattern - changing the behavior with a
> minimum of rewriting.
>
> There is a idea in my mind - we could create a factory function, which doesn't
> expected the typ of system as parameter, separate a list of needed
> functionality.
If it returns things with different public APIs, it's not really a factory...
doesn't sound like a great idea to me...
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.