On Tue, 08 Jul 2003 12:46:44 -0700, RG wrote:
"bb" <bi***********@ verizon.net> wrote in message
news:9d******** ******@nwrdny03 .gnilink.net... I'm not a Perl programmer nor a Linux adherent. What are the advantages of
LAMP vs.the Java model for building data-driven websites? I do a fair
amount of
development using Tomcat/JSP/Servlets with Struts for clients. I see more
and more ads for
LAMP/PHP developers. What are the advantages and tradeoffs? All opinions
welcomed....
PHP is easier to learn, it actually reads like english.
Nearly all Linux servers are offering PHP and MySQL which means cheaper
prices for shared space.
This is of course my biased opinion because I have never even looked into
servlets.
RG
PHP is generally easier. But with PHP5 it's going to become the
Java-Scripting-Language as it's a near replicate minus variable types. I
love PHP and I love Java. Each have their points. Generally PHP can
handle everything from small to mid-size without a problem. It can even
handle some huge sites (at work we're developing a massive community based
system in pure PHP - but we're knocking on the walls pretty hard). For
high-end systems I would suggest Java. It REQUIRES that you truly think
throw your entire systems model and forces you to have everything in place
before you begin and realize you're screwed. Most PHP applications are
hacks, for better or worse (depends on who you ask). And if you ask most
the PHP's creators they'll tell you that PHP should just control template
logic and all control/model patterns should be written as PHP modules in
C. My point is simply this, everyone has an opinion and they're all right
and wrong.
Personally I like the design patterns that most Java applications make use
of. That just happens to be my cup of coffee. But if you like coding
directly in the pages, use PHP, it's far easier than pure JSP.