Greeting everybody The concept to name the constructor not alike the classname is in my opinion great. So you can change the classname without having to change the constructorfunctionname but still have the classic constructor functionality. The same argument counts for the destructor either.
What is as great as sex is of course multiple inheritance and object dereferencing. Another idea from my side would be to have alike in C# to have the get/set feature for membervariabeles So far. Michael Bruckmeier systemhaus -----Original Mail----- hi all, just finished reading the ZE2 spec doc... I haven't been actively involved in the discussions so I apologize if some of this is duplicative: the __(x) ... i.e. __clone seems ugly. It would be nice to have better syntax, may I suggest: Constructors remain the classname: class Foo { function Foo() {} } Destructors: _Foo() Copy: why not just reserve clone() as a method name? Multiple inheritance is welcome, we could certainly use it in a large project like binarycloud. Exceptions are a huge deal... I'm clapping :) The string offset thing is cool. ------- This looks great. I'm happy to see that you guys are retaining the flexibility of the language (I can still be lazy) and adding power properly. Very cool stuff. Couple more tidbits: -Native, real import support with PHP_CLASSPATH. in binarycloud we use: import('package.sub.ClassName'); and love it. -Real namespaces for class trees. use binarycloud; import(core.Page) or use pear; import(DB); would be great. I think it's a necessity for large projects. Please, please do the latter: I think it will help PHP's entrance into serious enterprise applications. This is totally unrelated, but why hasn't Zend commissioned independent tests of Tomcat, PHP4, and mod_perl to show that PHP whips the pants off both of them re: speed? That would certainly help me sell PHP as a platform (in addition to the capabilities of binarycloud).... potential clients tend to ask "why not java?" of course I have a response: have you ever developed a web application with java? but it would be nice to have some data from a 'known' independent source (not some guys on the web who did ad-hoc tests). I look forward to ZE2, PHP rocks. best, _alex -- Alex Black, CEO [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com binarycloud http://www.binarycloud.com http://binarycloud.tigris.org -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]