Home > Back-end >  Delphi do three layer development, which is commonly used in the DataSnap server connection
Delphi do three layer development, which is commonly used in the DataSnap server connection

Time:09-17

1, do three layer development Delphi, which is commonly used in connecting the DataSnap server

The inside of the dbExpress SQLConnection1

FireDAC FDConnection1

2, connect to the database which is commonly used in

DbExpress - & gt; SQLConnection1
FireDAC - & gt; FDConnection1
UniDAC - & gt; UniConnection1

Do you do!

CodePudding user response:

The service side DATASETPROVIDER connect to the database
Client CLIENTDATASET registered to the server, to form three layers

CodePudding user response:

DbExpress - & gt; SQLConnection1
FireDAC - & gt; FDConnection1
UniDAC - & gt; UniConnection1

Is only part of the connection mode and control the difference, can connect to the database,
Often use SQLConnection1
High version USES FDConnection1

CodePudding user response:

1, I am a three layer DataSnap application
Connect to the server you will use a SQLConnection1 or FDConnection1 to connect to application server

2, connect to the database with what controls commonly good, the following
DbExpress
FireDAC
UniDAC

How would you choose what is good, thanks for lyhoo163 dzxccsu

CodePudding user response:

1, I use SQLConnection1
2, the service side DATASETPROVIDER connect to the database
3, the client CLIENTDATASET to connect server

CodePudding user response:

FDConnection1 useless this connect to the database, all say this data engine is good, I also never used!

CodePudding user response:

Didn't try???

CodePudding user response:

I have ten years, these three ways can actually, depending on your needs and your palm house procedures of three layers,
The first kind, not too good,
The second and the third just connect to the database have different way too kind, I am using FDAC,
If the company bought UDAC, or use UDAC better, bringing a SQL script tracking tool for mysql, oracle work well,
If you are a junior program, are you driving three layers or some difficulty,

CodePudding user response:

On D7, I use SQLConnection1 or useful,

CodePudding user response:

I have been use SQLConnection connect to the database, will be a problem

CodePudding user response:

references 9 f yisuylm response:
I have been use SQLConnection connect to the database, a problem

CodePudding user response:

1, SQLConnection1
2, the service side DATASETPROVIDER
3, the client CLIENTDATASET can realize land monitoring

CodePudding user response:

Do three layer with RO
Even with UniDAC database
  • Related