PHP Scales As Well As Java
mactari writes "Jack Herrington at the O'Reilly Network has had the audacity to claim that
both PHP and J2EE architecture... are converging on the same design [regarding scalability]. Can it be that he's disproven the idea that 'Java scales and scripting languages don't' when he says, 'The idea that PHP does not scale is clearly false at the performance level'?
Even if a little oversimplified (ignores horizontal scaling), it's an interesting comparison that takes a peek at the architecture beneath both hypes."
No Java, no JSP man. Simply use PHP for web development.
Forget Java man and go to PHP!
PHP is 4 times faster than Java technology 'JSP' (Java server pages).
This tallies because compiled "C" program is 4 times faster than Java.
Moreover, PHP is getting the object oriented features of Java language.
The real usefulness of Java is 'Java applets' which run on client browsers but on the server side you simply use PHP.
PHP is a very lightening fast object oriented scripting language. PHP is 100% written in "C" and there is no virtual machine as in Java. Nothing can beat "C" language ("C" is a language which never dies!!)
(Java is just another language. The PHP project needs millions of Java programmers who can add the Java's language features like inner classes, static, private, protected and others to PHP. PHP already has some of java' features).
Java programmers will really "LOVE" PHP as PHP class is identical to Java's class keyword.
Read the benchmars of Java JSP and PHP. PHP tops in the speed!!
Read the doc here and mirrors at [1], [2], [3], [4].
Programmers generally pooh-pooh languages that common folk can understand and use. VB is a very powerful language that many people use to build enterprise class applications, but an idiot can understand and use it as well. The result? "VB SUX". And as an example, a C programmer is essentially a God, and don't even think about reminding people here at Slashdot that Perl has been dead for a few years. But show off something better and easier? Sacrilege.
Now march right into your CTO, CEO, CFO, C*O's office(s) and proclaim, "PHP is good, Java is for suck!" You'll have a corner office and a company car in no time!
And don't think for a minute that that cute secretary won't start talking to you at the next birthday-cake gathering. She WILL! She'll recognize an intellectual. She'll want to be with a man who knows his place in a stupid adovcacy war. She'll be all over you man!!
Repeat it one more time, "PHP R0xx0rz, Java is for Suck"!
uhh... no.
yahoo is switching over to php for SOME things, but the author of php (a yahoo employee) told me personally that the stuff that requires heavy crunching or that needs to be executed more frequently and can not be cached will still be done in a C or C++ layer.
MARIJUANA, SHROOMS, X: ONLINE?! - E
i have a function in php that i pass in values, names and a few parameters for the chart (scale, color, type, etc) and it generates and spits back the path to a brand new .PNG (or .GIF or .JPG or .BMP....)
is one line of code too "kludgey" for you?
if you do anything in C, there is a speed increase. THATS THE POINT.
MARIJUANA, SHROOMS, X: ONLINE?! - E