From: | "Jonathan Bond-Caron" <jbondc(at)openmv(dot)com> |
---|---|
To: | "'Joshua D(dot) Drake'" <jd(at)commandprompt(dot)com>, "'Bill Wordsworth'" <bill(dot)wordsworth(at)gmail(dot)com> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: php + postgresql |
Date: | 2008-07-25 17:41:50 |
Message-ID: | 00b501c8ee7d$b84e6fd0$28eb4f70$@com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri Jul 25 01:03 PM, Joshua D. Drake wrote:
> On Fri, 2008-07-25 at 12:29 -0400, Bill Wordsworth wrote:
>> Obviously he is a newbie out of the woods- couldn't make a connection
>> and print results something that the rest of us have been doing for
>> years. It is newbies like him and fan-boys of Ruby/Python/Perl who
>> give PHP a bad name.
>
> No. It because PHP is developed wrong. If you talk to "engineers" and
> you say to them, "Can you take a look at this code and tell me what
> you think?". Any engineer worth their salt is going to tell you that
> the PHP code is scary. Whereas the PostgreSQL code is nicely done.
> (notice I have not used the word perfect anywhere.)
Uhm, let's not start a PHP debate. Traditionally PHP in terms of design
philosophy is more
like mySQL: "whatever works". PostgreSQL is more an enterprise level
database and cares about
the "enterprise" architecture.
"PHP is just and always was a hack."
I'd say "the Web is just and always was a hack", so for the Web: PHP is an
excellent language and in my opinion the best.
I don't like statements like "is developed wrong", there's no right or wrong
just different approaches to specific problems with advantages and
disadvantages.
You don't see people making hats out of heavily engineered machines do you?
That said PHP is improving and does deserve more "enterprise respect" mostly
thanks to support from Zend (http://www.zend.com/en/) and other companies.
I use .NET, java and PHP and with experience you learn to use/speak the
right language for the job. "hack" languages sometimes get the job done
faster.
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua D. Drake | 2008-07-25 17:43:18 | Re: Problems with pg_dump and -t wildcards |
Previous Message | Bill Thoen | 2008-07-25 17:36:14 | Problems with pg_dump and -t wildcards |