Re: [PHP-DEV] aggregation?

2003-06-28 Thread Andrei Zmievski
On Sat, 28 Jun 2003, Sebastian Bergmann wrote: > Wei He wrote: > > Now they are even going to remove aggregation. > > It is gone. And all my amusingly frustrting comments along with it? :) -Andrei Commitment, n.: Commitment can be illustrated by a breakfast of ham and eggs. The chicken was in

Re: [PHP-DEV] aggregation?

2003-06-27 Thread Sebastian Bergmann
Wei He wrote: > Now they are even going to remove aggregation. It is gone. > I think there need to be more discussions between developers and > users on adding or removing an important feature. Users wanted interfaces. PHP 4 could not accomodate that wish. PHP 4 introduced aggregation as a

Re[4]: [PHP-DEV] aggregation?

2003-06-27 Thread Wei He
> > You just found the major disadvantage between interfaces and MI. > The solutionS to that is are very complexand require often more > typing then one would like to. > As I never believed there is any better solution for MI. Now they are even going to remove aggregation. I think there nee

Re[4]: [PHP-DEV] aggregation?

2003-06-27 Thread Marcus Börger
Hello Wei, Friday, June 27, 2003, 12:09:04 PM, you wrote: WH> On Fri, 27 Jun 2003, Marcus Börger wrote: >> Hello Wei, >> >> Friday, June 27, 2003, 3:36:11 AM, you wrote: >> >> WH> On Thu, 26 Jun 2003, Marcus Börger wrote: >> >> >> WH> If so I'll have to copy method codes from parent classes l

Re[3]: [PHP-DEV] aggregation?

2003-06-27 Thread Wei He
On Fri, 27 Jun 2003, Marcus Börger wrote: > Hello Wei, > > Friday, June 27, 2003, 3:36:11 AM, you wrote: > > WH> On Thu, 26 Jun 2003, Marcus Börger wrote: > > >> WH> If so I'll have to copy method codes from parent classes like what I > >> WH> have do so in PHP4 without aggregation. Right? > >

Re[3]: [PHP-DEV] aggregation?

2003-06-27 Thread Marcus Börger
Hello Wei, Friday, June 27, 2003, 3:36:11 AM, you wrote: WH> On Thu, 26 Jun 2003, Marcus Börger wrote: >> WH> If so I'll have to copy method codes from parent classes like what I >> WH> have do so in PHP4 without aggregation. Right? >> >> No, the method implementations are inherited. WH> Got

Re: [PHP-DEV] aggregation?

2003-06-26 Thread Sebastian Bergmann
Wei He wrote: > I just wonder how php5 will implement them. Have you read http://cvs.php.net/co.php/ZendEngine2/ZEND_CHANGES yet? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ http://www.professionelle-softwareentwicklung-mi

Re: [PHP-DEV] aggregation?

2003-06-26 Thread Wei He
On Fri, 27 Jun 2003, Sebastian Bergmann wrote: > Wei He wrote: > > Espscially how MI can be replaced by using of interfaces > > http://csis.pace.edu/~bergin/patterns/multipleinheritance.html > Thanks for the link. I just wonder how php5 will implement them. Or maybe I should ask in Zend Engin

Re: [PHP-DEV] aggregation?

2003-06-26 Thread Sebastian Bergmann
Wei He wrote: > Espscially how MI can be replaced by using of interfaces http://csis.pace.edu/~bergin/patterns/multipleinheritance.html -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ http://www.professionelle-softwareentwicklung-mit-

Re: [PHP-DEV] aggregation?

2003-06-26 Thread Sterling Hughes
This is not a php support channel, either direct your questions to [EMAIL PROTECTED] or look at google. -Sterling On Thu, 2003-06-26 at 23:56, Wei He wrote: > On Fri, 27 Jun 2003, Sebastian Bergmann wrote: > > > Wei He wrote: > > > Can anyone give an example script demostrating how interfaces

Re: [PHP-DEV] aggregation?

2003-06-26 Thread Wei He
On Fri, 27 Jun 2003, Sebastian Bergmann wrote: > Wei He wrote: > > Can anyone give an example script demostrating how interfaces look like > > in PHP5? > > http://www.sebastian-bergmann.de/talks/adam-2003-oop.pdf Thanks. I must have been a very nice presentation. I love PHP Bananas! But the i

Re: [PHP-DEV] aggregation?

2003-06-26 Thread Sebastian Bergmann
Wei He wrote: > Can anyone give an example script demostrating how interfaces look like > in PHP5? http://www.sebastian-bergmann.de/talks/adam-2003-oop.pdf -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ http://www.professionelle-soft

Re[2]: [PHP-DEV] aggregation?

2003-06-26 Thread Wei He
On Thu, 26 Jun 2003, Marcus Börger wrote: > WH> If so I'll have to copy method codes from parent classes like what I > WH> have do so in PHP4 without aggregation. Right? > > No, the method implementations are inherited. Got it. Many thanks. So if I understand correctly this time, it will make

Re[2]: [PHP-DEV] aggregation?

2003-06-26 Thread Marcus Börger
Hello Wei, Thursday, June 26, 2003, 11:16:16 AM, you wrote: WH> On Thu, 26 Jun 2003, Sebastian Bergmann wrote: >> Wei He wrote: >> > How could I live without aggregation or multiple inheritance? >> >> Java developers are very happy without these concepts. Why? Because >> they have interface

Re: [PHP-DEV] aggregation?

2003-06-26 Thread Robert Cummings
Andi Gutmans wrote: > > At 06:38 AM 6/26/2003 +0200, Sebastian Bergmann wrote: > >Wei He wrote: > > > How could I live without aggregation or multiple inheritance? > > > > Java developers are very happy without these concepts. Why? Because > > they have interfaces. Guess what? We have them, to

Re: [PHP-DEV] aggregation?

2003-06-26 Thread Wei He
On Thu, 26 Jun 2003, Sebastian Bergmann wrote: > Wei He wrote: > > How could I live without aggregation or multiple inheritance? > > Java developers are very happy without these concepts. Why? Because > they have interfaces. Guess what? We have them, too. If I understand correctly, using of

Re: [PHP-DEV] aggregation?

2003-06-25 Thread Andi Gutmans
At 06:38 AM 6/26/2003 +0200, Sebastian Bergmann wrote: Wei He wrote: > How could I live without aggregation or multiple inheritance? Java developers are very happy without these concepts. Why? Because they have interfaces. Guess what? We have them, too. Well put :) Andi -- PHP Internals - PHP

Re: [PHP-DEV] aggregation?

2003-06-25 Thread Sebastian Bergmann
Sterling Hughes wrote: > Am I right in assuming that aggregation is going to be removed in PHP5? Does it work with ZE2? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ http://www.professionelle-softwareentwicklung-mit-php5.de/ -- PH

Re: [PHP-DEV] aggregation?

2003-06-25 Thread Sebastian Bergmann
Wei He wrote: > How could I live without aggregation or multiple inheritance? Java developers are very happy without these concepts. Why? Because they have interfaces. Guess what? We have them, too. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker

Re: [PHP-DEV] aggregation?

2003-06-25 Thread Wei He
On 25 Jun 2003, Sterling Hughes wrote: > Hey, > > Am I right in assuming that aggregation is going to be removed in PHP5? How could I live without aggregation or multiple inheritance? I have a choice, I prefer the latter. But not a 100% MI as I know there are a lot of debates on 100% MI. What

[PHP-DEV] aggregation?

2003-06-25 Thread Sterling Hughes
Hey, Am I right in assuming that aggregation is going to be removed in PHP5? -Sterling -- "Reductionists like to take things apart. The rest of us are just trying to get it together." - Larry Wall, Programming Perl, 3rd Edition -- PHP Internals - PHP Runtime Development Mailing List To