Re: The future of PHP

From: Date: Fri, 24 Aug 2001 22:37:05 +0000
Subject: Re: The future of PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-64345@lists.php.net to get a copy of this message
<opinion> PHP has many OOP features which are easy to use and beneficial, without the constraints of a more heavily OO system like Java </opinion> I think error handling *could* be better in PHP - apparently they're thinking about a try/catch Java-esque setup in the next Zend engine. All is not lost! As a RAD tool, PHP seems to have a pretty good foundation - it's FAST, to execute and to develop, yet flexible enough to accomodate some of the OOP stuff and other Java-like things that will be introduced. Best of both worlds, really. I hate to bring up that eweek article (it's getting old now) but against Tomcat, PHP was 3x as fast. re: scaleability, you have to spend a lot more on hardware or Java middleware to be able to handle similar loads that you could just coding under PHP. Broad generalization, I know, but that math seems pretty basic. Tomcat = 13 pages/sec PHP = 47 pages/sec IMNSHO - "WOW". re: modularity. PHP can be extremely sloppy or coded extremely modularly. I think it's a shame that most tutorials on PHP (and ASP, from what I've experienced) show comingling of code and HTML - far more than we ever do in day-to-day PHP work. People get the impression that that's the only way to do stuff, and it's not. It's often the QUICKEST way for small projects (I needed a quick contact form yesterday and built one in a couple minutes with PHP. I don't think it would have been that painless under Java.) But we use PHP on some very large projects too - it requires you to plan ahead - but that should be the basis for any project, regardless of technology. :) Michael Kimsal http://www.tapinternet.com/php/ PHP Training Courses 734-480-9961 Jeff Lewis wrote:
I would't say that. he says it's modular and easier to code in OOP. Jeff
-----Original Message----- From: Dave [mailto:dave@hawk-systems.com] Sent: Friday, August 24, 2001 6:15 PM To: jeff@hyrum.net; Michael Kimsal Cc: php-general@lists.php.net Subject: RE: [PHP] The future of PHP
He also said he likes how Java is OOP and has great error handling.
sound more of a judgement on the staffs ability to program than the capability of the language. A great language can have crappy error handling if the designed doesn't program it in well. Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#64345) next »