Skip site navigation (1) Skip section navigation (2)

Re: recommended programming language for postgresql

From: Jason Dixon <jason(at)dixongroup(dot)net>
To: "Rodolfo J(dot) Paiz" <rpaiz(at)simpaticus(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org, Ramon Orticio <rporticio(at)yahoo(dot)com>
Subject: Re: recommended programming language for postgresql
Date: 2005-01-25 16:55:33
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
On Jan 25, 2005, at 11:36 AM, Rodolfo J. Paiz wrote:

> On Mon, 2005-01-24 at 21:22 -0500, Jason Dixon wrote:
>> If you have to ask, then you're probably a prime candidate for PHP.  I
>> prefer Perl, but it gives me features you might not need.
> Wanna go into some detail here? Curious. :-)

By the tone of Ramon's post, he hasn't done much programming.  If web 
programming with a database is going to be the extent of his 
programming repertoire, then PHP is a good fit for him.  However, I do 
a lot of other projects that stress complex data structures, regular 
expressions and the ability to craft my own OO frameworks (at times).  
These goals align themselves with the strengths of languages like Perl, 
Python and Ruby.  That's not to say that you can't use PCRE with PHP, 
but the language has some limitations which bother me, in this order:

1) Security - a never-ending series of exploits and patches.  From a 
sysadmin's perspective, it's a PITA.  Rodolfo, I expect you know where 
I'm coming from.
2) No lexical scoping (namespaces within a block)
3) Promotes the interweaving of logic and presentation

There are other things that will remain unmentioned as I could go on 
for hours.  Needless to say, it's a sufficient language for many web 
developers.  Unfortunately, it leaves me with a bad taste in my mouth.  
I'm not going to pretend that you can pick Perl up as quickly as PHP, 
but I can say that it will probably be worth the time investment.

Jason Dixon
DixonGroup Consulting

In response to

pgsql-novice by date

Next:From: Michael FuhrDate: 2005-01-25 17:00:46
Subject: Re: SQL and function reference?
Previous:From: Rodolfo J. PaizDate: 2005-01-25 16:40:48
Subject: Re: Removing a user's password

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group