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

Поиск
Список
Период
Сортировка
От Uwe C. Schroeder
Тема Re: PHP sucks!! - was: persistent db connections in PHP
Дата
Msg-id 200706161312.49275.uwe@oss4u.com
обсуждение исходный текст
Ответ на Re: PHP sucks!! - was: persistent db connections in PHP  ("John Smith" <jayzee.smith@gmail.com>)
Ответы Re: PHP sucks!! - was: persistent db connections in PHP  (Tom Allison <tom@tacocat.net>)
Список 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@peufeu.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

В списке pgsql-general по дате отправления:

Предыдущее
От: "Andrej Ricnik-Bay"
Дата:
Сообщение: Re: PHP sucks!! - was: persistent db connections in PHP
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: What O/S or hardware feature would be useful for databases?