Re: I couldn't understand why PHP is so popular. The PHP code looks so horrible compared with Java.



In our last episode, <67o3n9F2oekueU1@xxxxxxxxxxxxxxxxxx>, the lovely and
talented Kim André Akerø broadcast on comp.lang.php:

tenxian wrote:

Could you put up with the horrible PHP code?

Yes, I can. PHP is a language that's easy to learn and easy to use,
which is why so many choose to use it.

Widely supported has something to do with it. Just about commercial host is
going to have PHP and MySQL.

For web applications, it is sort of like inside-out perl. Lots of
processing and little markup output: perl or C(++). Lots of markup, a
little processing: PHP. Giant dedicated serverzilla for major landmark
site: Java.

IMO, it's not much more horrible than C++ or Java; it all depends on
the programmer who makes use of it.



--
Lars Eighner <http://larseighner.com/> usenet@xxxxxxxxxxxxxxx
Countdown: 266 days to go.
.



Relevant Pages

  • Re: What are the differences between Perl and PHP when handling with Web pages
    ... What are the differences between Perl and PHP? ... anyway for the sake of good programming practice. ... I end up using PHP more for web development than PHP. ...
    (perl.beginners)
  • Re: Can a Perl Programmer Pick up PHP quickly?
    ... PHP is not easier compared to Perl. ... a language with fewer features is going to be easier to ... You can't call documentation guessed after the source not good ...
    (comp.lang.perl.misc)
  • Re: Face lift survey
    ... But PHP, I think, integrates html code a better way. ... you still have to do a perl script and then put ... Perl CGI programming! ...
    (perl.beginners)
  • Re: Coverting perl to php
    ... I am bout ready to convert it to php but wonder if there are ... but there's nothing to match a good perl person porting their ... The reason for the rewrite is because a large chunk of the ancilary ... code to talk to the database, recreating what they did, and having 2 ...
    (comp.lang.php)
  • RE: What are the differences between Perl and PHP when handling with Web pages
    ... I think perl can be used for more applications than PHP. ... You don't really need scripting to build a web site. ... there are people programming in PHP and perl. ...
    (perl.beginners)