Re: PHP sucks!! - was: persistent db connections in PHP

From: "Uwe C(dot) Schroeder" <uwe(at)oss4u(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: PHP sucks!! - was: persistent db connections in PHP
Date: 2007-06-16 20:12:49
Message-ID: 200706161312.49275.uwe@oss4u.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Saturday 16 June 2007, John Smith wrote:
> guys,
> love both tools but php @ 2.5 *billion* google results is far more
> popular than postgresql @ 25 million google results. *if* somebody's
> gotto adapt it's not php. php does what it does best in a way that
> stuffy academics don't get.

Mhhh - what does PHP have to do with Postgresql? Lots of pages just end
in .php, which is why the google results are so high - guess what, the
tool "html" hits 3.2 billion :-)

>
> On 6/16/07, PFC <lists(at)peufeu(dot)com> wrote:
> > "PHP: very loosely typed, does whatever it wants"
>
> yeah php got a life of its own! sure be a lazy programmer and blame
> sql injection etc crap on php or try http://www.xdebug.org/ and
> others.
>
> bottomline- people who know other tools better gripe because their's
> isn't as popular.

I doubt popularity has anything to do with it. I've used PHP as it emerged
back in 1990. I liked it back then because it produced faster results than
perl/cgi. The downside was - and IMHO still is - that a lot of application
code is embedded in the pages. Ok, nowadays PHP has advanced to a point where
you don't really have to do that anymore, but still many people do -
resulting in a nice, quickly built but often unmaintainable application.

IMHO there are many other web environments that are much better at separating
the view from the actual code.

In the end, neither of these points has anything to do with postgresql.

Personally I'm more inclined to agree with Joshua on this one...

Uwe

--
Open Source Solutions 4U, LLC 1618 Kelly St
Phone: +1 707 568 3056 Santa Rosa, CA 95401
Cell: +1 650 302 2405 United States
Fax: +1 707 568 6416

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2007-06-16 20:19:01 Re: What O/S or hardware feature would be useful for databases?
Previous Message Andrej Ricnik-Bay 2007-06-16 20:04:35 Re: PHP sucks!! - was: persistent db connections in PHP