On Tue, 6 Mar 2007, Graeme Geldenhuys wrote:

> Hi,
> 
> If you where planning on writing a new online inventory system with a
> Firebird DB as backend. Yes that is what I'm about to do...  What
> would be the best choice of language?

FPC ;-)

> 
> For one I don't know PHP, but was told it is really easy to learn.  I
> know Object Pascal / Delphi very well.

PHP is easy to learn. But it's nothing like Object Pascal.

> What would be the advantages of one over the other.  Currently when I
> write Free Pascal applications I use tiOPF (Object Persistent
> Framework)  to handle all my object persistence. This also allows me
> to switch DB backends without any code changes.  I guess using CGI
> with Free Pascal I can still take advantage of that.

Yes.

> 
> So 1 point to CGI and 0 to PHP.  :-)
> 
> Any more?

Seems you already made your choice :-)

You can also create an apache module with FPC. I would recommend that;
It'll be a lot faster than CGI.

If you want to reuse your existing code, I'd opt for that approach.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to