Re: Subject/Observer design pattern in PEAR
| From: | Stefan Walk | Date: | Wed, 21 Jul 2004 21:24:07 +0000 |
| Subject: | Re: Subject/Observer design pattern in PEAR | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-32223@lists.php.net to get a copy of this message | ||
On Wed, Jul 21, 2004 at 03:42:16PM -0400, Philippe Jausions wrote:
> Hi,
>
> Just wondering if the PEAR group advised about the member and method
> names to be used for the Subject/Observer design pattern?
>
> - Add observer
> - Remove observer
> - Notify observers
> - Constraint on object type for observers
> - ID of observers
>
> Apparently there is no consistency in the PEAR packages that use that
> pattern.
>
> Cheers,
>
> -Philippe
There should be a set of standard interfaces for PHP5 somewhere in PEAR,
as already mentioned on this list. Someone has just to come up with a
proposal :)
--
Regards, Stefan Walk <swalk@prp.physik.tu-darmstadt.de>