With PHP 5, Zend has attempted to move PHP from a run-of-the-mill scripting language to an object oriented web application programming language in the same league as JSP/ASP (albeit not strongly typed). I've been rather dubious for quite some time about PHP's ability to scale to large web applications, and PHP 5 has certainly addressed the majority of my concerns through its new object model. Proper MVC programming is now possible, and errors can be handled elegantly through exceptions. Could this spell the end for JSP, now runner up to ASP(.NET) and PHP?
Announcement
Collapse
No announcement yet.
Php 5
Collapse
X
-
Originally posted by big chopperPHP 4 works fine for larger sites. Just ask Yahoo.com, they've hired most of the PHP team. You don't need OOP to scale!
PHP allows for true web application development in the MVC-esque style pioneered by the Apache foundation (i.e. using Struts for the application framework and Velocity for page generation) No longer need your PHP code be a gigantic mishmash of HTML generation, database access, and input validation.
Performance wise, PHP with Zend goodness has been kicking JSP's ass for quite some time... but then again JSP is ridiculously overcomplicated.45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B0
45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B1
[ redacted ]
Comment
-
Originally posted by basculeBy "scale" I mean code remains readable, comprehensible, and extensible even in large projects. When your codebase is ballooning beyond 10 klocs, OOP helps considerably to ensure your project remains managable.
PHP allows for true web application development in the MVC-esque style pioneered by the Apache foundation (i.e. using Struts for the application framework and Velocity for page generation) No longer need your PHP code be a gigantic mishmash of HTML generation, database access, and input validation.
Performance wise, PHP with Zend goodness has been kicking JSP's ass for quite some time... but then again JSP is ridiculously overcomplicated.
I would be nice if PHP could hook into servlets Struts style, since PHP programmers are a shitload cheaper than Java/JSP developers.
Comment
-
Originally posted by murakamiI suspect that PHP to Java bridging is not trivial.
I would be nice if PHP could hook into servlets Struts style, since PHP programmers are a shitload cheaper than Java/JSP developers.45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B0
45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B1
[ redacted ]
Comment
-
Originally posted by basculeYou should really check out http://php.net/java/
smc+phpman at dogphilosophy dot net
06-May-2004 05:29
It appears Java integration has disappeared as of PHP5. Googling around I keep seeing how the Zend 2 engine should support having a better, faster, more stable version of the java integration, but it doesn't seem to be anything that's being worked on.
If you're using, or want to try out, Java integration, best stick with PHP4 for a while...
Comment
-
Originally posted by murakamiThanks, sigh ...45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B0
45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B1
[ redacted ]
Comment
-
Originally posted by basculeIt's certainly working now. Best not to listen to two month old information about a beta version now that the stable one is out.
Warning
This extension is EXPERIMENTAL. The behaviour of this extension -- including the names of its functions and anything else documented about this extension -- may change without notice in a future release of PHP. Use this extension at your own risk.
Comment
Comment