Re: [PROPOSAL] PHP Component Model

From: Date: Tue, 16 Sep 2003 14:07:44 +0000
Subject: Re: [PROPOSAL] PHP Component Model
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-21565@lists.php.net to get a copy of this message
Hi Sebastian, Examples of implementation would really be great! Anyway, I'm very interested in your component model because I'm currently working on an app framwork which uses a component architecture similar to yours. And I also planned to propose this to pear... ;-) Do you want events to be objects? Why, what do they do? I think events are only messages containing information. They do nothing - why not simply use an array for an event? Hmmm, ok, I think I have to finish my own component model in the next days, so that we can have a nice discussion about components and events and I have additionally another feature: plugins ;-) Regards, Matthias Sebastian Bergmann wrote:
Matthias Nothhaft wrote:
Any component model will bind a programmer, respectively a package to a certain framework!
A framework would be built around the component model.
I don't know if this is really an aim of PEAR or PHP?
The situation, as I see it, is this: PHP 5 allows for proper OOP, SRM makes persistent objects possible. What is missing is a standarf for component-based development. Writing such a standard and developing a reference implementation thereof has nothing to do with the aim of PEAR or PHP.
Component model may be nice for your own projects, but should it be part of PEAR?
Yes.
In this case I think it should be discussed what features are missing ;-)
That is why I made my proposal at the earliest time possible.


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