Re: Re: [Zend Engine 2] RE: [PHP-DEV] oo != php
| From: | Dan Hardiker | Date: | Sat, 08 Jun 2002 01:40:44 +0000 |
| Subject: | Re: Re: [Zend Engine 2] RE: [PHP-DEV] oo != php | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85018@lists.php.net to get a copy of this message | ||
> There are two reasons we repeat the 'PHP is not Java mantra':
>
> (a) Many of those requesting these changes actually DO want to see PHP
> as a Java with PHPish syntax.
Anyone wanting PHP to be a "simple" or "more flexable" Java is barking up
the wrong tree... in fact all of the people I know who Im lobbying "better
OO functionality in PHP" for know Java and know PHP - and use both where
each is best. What we are requesting is that PHP expands its OO
capabilities - not change the way it does things, not do anything
outlandish or "stolen" from another language. Think about it - all it
would be is like adding an extra gear to a car. Wouldnt change the
concept, the design or the idea of the car... not the make nor model... it
would however give it added depth and use.
eg: simple db-based shopping cart web site? use PHP... complex internet
backing system? use Java. Easy!
> (b) Java is (so far) the best implemented OO language out there that's
> actually being used. It symbolizes the extreme OO world, if you will.
Agreed - but that doesnt mean that the people on this list are assosiating
more OO in PHP as being one step closer to PHP being PHP-Java. If I wanted
Java's OO implementation in PHP, Id use Java. I dont - I want OO
implementation (not even to the extremeness of Java) put in PHP. Im not
even sure where the issue lies of taking the step - other than "where is
this heading in the long run".
Is this all that much of an issue to implement MI, Pub/Pri/Prot
methods/vars, possibly interfaces? Not to be Java, but to extend PHP...
all those would help PHP as a *web based language* (hell it would help any
language IMHO - given that its optional and not enforced). Isnt that the
long term goal of PHP (or ZE)? To provide a most powerful backend for
scripting languages, and to provide a RAD tool for creating websites (or
web based systems) quickly, easily and powerfully? All the above would
take a step closer to both those goals.
Unless Im missing the mark - for which I appologise. The PHP Group as a
whole seems to have mixed feelings on this issue - could there be some
form of concensus so that I (and many others on this list) can work out if
the requested extra functionality is either ruled out, in for PHP version
x, or undecided and under continued debate. I think all sides have made
their opinions crystal clear.
Appologises for any rambling - its 2:40am heh... thanks for reading :)
--
Dan Hardiker [dhardiker@staff.firstcreative.net]
ADAM Software & Systems Engineer
First Creative Ltd