S
shyj
Unregistered / Unconfirmed
GUEST, unregistred user!
关于在C/S结构时TDatabse构件的使用方法
my ways one:
use one Tdatabse control to manager all tquery like user's
login,visiting data and so on. struct as following:
[Tdatabase] in first TDataModule1
/ | /
/ | /
tquerys in Dmo2 tquerys in Dmo3 ...
advantage:
only link server one times. manage easy.etc..
shortcoming:
link is always open.And I think it is not ideal
every tquery link server only using one link.
can anyone explain it clearly better?
my ways two;
use multi tdatabase(every module use one)
advantage:
dynamic manage sever's link...
shorecoming:
link multi times,it may delay time...
I want to know what is friends here linking ways and
datamudle structure of program.
This discuss' goal is minimum links of server and
enough speed.
thanx all.
my ways one:
use one Tdatabse control to manager all tquery like user's
login,visiting data and so on. struct as following:
[Tdatabase] in first TDataModule1
/ | /
/ | /
tquerys in Dmo2 tquerys in Dmo3 ...
advantage:
only link server one times. manage easy.etc..
shortcoming:
link is always open.And I think it is not ideal
every tquery link server only using one link.
can anyone explain it clearly better?
my ways two;
use multi tdatabase(every module use one)
advantage:
dynamic manage sever's link...
shorecoming:
link multi times,it may delay time...
I want to know what is friends here linking ways and
datamudle structure of program.
This discuss' goal is minimum links of server and
enough speed.
thanx all.