pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Grant Johnson <grant@amadensor.com>
To: David Siebert <david@eclipsecat.com>
To: pgsql-general@postgresql.org
Subject: Re: Foxpro
Date: Fri, 03 May 2002 15:38:04 -0600
Message-ID: <3CD3033C.4000708@amadensor.com> (raw)
References: <OJEIJALIHAIBMMBFLCOBKECNEHAA.david@eclipsecat.com>



David Siebert wrote:

>Yea I know I am the boss and I did make the rule. This person is a good
>support tech and fancies himself a programer. I am trying to get him to
>understand without saying "Because I said so" He is just so sure that he
>right and all the other programers here don't know what they are talking
>about. Oh well you have to admit that it is a nice change to see the
>management of a company telling a wannabe programer "No you will not use
>Microsofts program. You will use this opensource server instead."
>-----Original Message-----
>
Foxpro is a successor of the old DBase series.  It uses the file 
structure from DBase and Clipper.  This was a fine format, however, it 
was designed with a different era, and different uses in mind.  The 
format best fits single user systems.  The relationships are not binding 
in the same way, and the metadata is not nearly as integrated.  It did 
not support transactions the last I worked with it.  It was designed for 
putting all of the data in one table, and the relational part was bolted 
on later, and not all that cleanly.  The relation function is klunky at 
best to work with.

As for the Foxpro language, which is VERY similar to Clipper (or at 
least was in version 2.6) has a very dificult time supporting one to 
many joins, a fundamental part of normalized relational data.  Whatever 
you do, don't try to understand what it is doing in the case loops it 
generates for event handling, you will hurt your head.  This makes the 
code unmanageable and unmaintainable.

Foxpro tries to be everything.  It is a gui designer, an application 
language, and a database backend all in one package.  This can be nice 
for a small project, but as soon as it grows, and live backups and 
multiple concurrent users become an issue, it falls down.  

PostgreSQL is, on the other hand, just the data backend, but rather than 
being simply a file like Foxpro or Access, it is a service running in a 
central place to allow concurrent requests, and resolve conflicts.  You 
will still need something else to generate the front end interface and 
most of the logic.  Since this is a newbie, I highly reccomend PHP.  It 
is easy, graphical, and gets results very quickly.  It can quickly give 
a sense of accomplishment, while still being strong enough to develop 
real applications with later.  Then he can learn Java, and start the 
other applications.  Just imagine the joy of being able to program in 
any one of MANY languages, by MANY users, and get the SAME data from the 
SAME source at the SAME TIME.




view thread (9+ messages)  latest in thread

Message-ID: <3CD3033C.4000708@amadensor.com>
Permalink:  ../3CD3033C.4000708@amadensor.com/
Also on:    postgresql.org/message-id/3CD3033C.4000708@amadensor.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: grant@amadensor.com, david@eclipsecat.com, pgsql-general@postgresql.org
  Subject: Re: Foxpro
  In-Reply-To: <3CD3033C.4000708@amadensor.com>
  References: <OJEIJALIHAIBMMBFLCOBKECNEHAA.david@eclipsecat.com> <3CD3033C.4000708@amadensor.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox