Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Database connectivity Delphi

I'm using delphi for years, but never for database stuff, but recently started researching and testing.

I must say, i'm impressed, most of things happens automatically, i'm used to write by hand in php and python.

i'm going to develop a commercial system for a friend, (2 layers) 5 user computers, 1 database server.

Database server will be a decent machine with (raid-1) 2 hard drives running (MySql5.1 or Postgre or Firebird, open to suggestions).

ADO

  • Easy to use
  • Easy deployment (only mysqlconnector installer)
  • The slower?

DbExpress

  • Need to ship 4 files [dbxconnections.ini, dbxdrivers.ini, mysqldll, driverdll]
  • The more complex (harder to use)
  • ClientDataSet add complexity, but looks really useful
  • No free Postgre driver?

Zeos

  • Easy deployment (1 dll)
  • Easy to use

As you can see the desired features are:

  • fast
  • easy to use
  • easy to deploy

I can't test all in a real scenario (clients, server), so i hope that you guys with experience can help me out in which one to choose and why.

EDIT: Thanks everyone, i think i will go with ADO (probably) or Zeos

Thanks in advance
Arthur

like image 458
arthurprs Avatar asked Feb 18 '10 04:02

arthurprs


People also ask

What database does Delphi use?

InterBase is an embeddable SQL database that integrates natively to Delphi and C++Builder for client/server or embedded development.

What is FireDAC Delphi?

FireDAC is a Universal Data Access library for developing applications for multiple devices, connected to enterprise databases.


2 Answers

@arthurprs, for you scenario

(2 layers) 5 user computers, 1 > database server.

alt text http://www.techsolusa.com/images/firebird-logo-64.gif The Firebird RDBMS is a very good option , because is very stable, fast, runs on Linux, Windows, and a variety of Unix platforms and meet with you requirements.

alt text http://d.yimg.com/kq/groups/12858579/homepage/name/homepage.jpg Respect to the components for connection i go for ZEOS.

I have used this combination in many small and medium projects, with excellent results.

like image 76
RRUZ Avatar answered Oct 15 '22 19:10

RRUZ


I have worked on many commercial high volume systems using ADO without any problems. Deployment is relatively simple since its included in the OS. Since it has such a wide audience, most of the major issues have been identified and corrected. Getting help with ADO connectivity is very easy. The database support is very deep (connectionstrings.com) which make supporting additional database engines almost trivial (you may need to still install the client drivers, but that would be the same for almost any solution).

Performance isn't much of an issue, it really will come down to database architecture and engine selection.

like image 4
skamradt Avatar answered Oct 15 '22 21:10

skamradt