| View previous topic :: View next topic |
| Author |
Message |
Luis Villarreal Guest
|
Posted: Thu May 13, 2004 12:47 am Post subject: Hom many DataModules |
|
|
Can somebody tellme how to best organize my development, how many
DataModules to be included in a Delphi application.
TIA
Luis Villerreal
|
|
| Back to top |
|
 |
Bill Todd (TeamB) Guest
|
Posted: Thu May 13, 2004 3:55 am Post subject: Re: Hom many DataModules |
|
|
There is no right or wrong number of data modules just as there is no
right or wrong number of forms. Do what makes sense based on your
application design.
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
George Christoforakis Guest
|
Posted: Thu May 13, 2004 11:26 am Post subject: Re: Hom many DataModules |
|
|
There is no limit. Everything is based on your analysis of the application.
I usually go something like => database server-connection/datamodule.
Or you can go something like... used heavily, used seldom etc...
gluck
George Christoforakis.
"Luis Villarreal" <villarrealluis (AT) hotmail (DOT) com> wrote
| Quote: | Can somebody tellme how to best organize my development, how many
DataModules to be included in a Delphi application.
TIA
Luis Villerreal
|
|
|
| Back to top |
|
 |
Craig van Nieuwkerk Guest
|
Posted: Thu May 13, 2004 10:15 pm Post subject: Re: Hom many DataModules |
|
|
Because my apps tend to have very few (or none) TQuerys and other database
access components, I have very few datamodules. Just really one global one
to contain the database connection and other session information and thats
about it.
Some people try to turn datamodules into some kind of pseudo business
objects with TQuerys and other things scattered on their DtmClient modules
related to that domain, but I dont like that approach.
| Quote: | Can somebody tellme how to best organize my development, how many
DataModules to be included in a Delphi application.
TIA
Luis Villerreal
|
|
|
| Back to top |
|
 |
Luis Villarreal Guest
|
Posted: Fri May 14, 2004 12:28 am Post subject: Re: Hom many DataModules |
|
|
Thanks everybody for the answers.
I will do the better i can with this guide
Luis Villarreal
"Craig van Nieuwkerk" <craigvn (AT) dart (DOT) net.au> wrote
| Quote: | Because my apps tend to have very few (or none) TQuerys and other database
access components, I have very few datamodules. Just really one global one
to contain the database connection and other session information and thats
about it.
Some people try to turn datamodules into some kind of pseudo business
objects with TQuerys and other things scattered on their DtmClient modules
related to that domain, but I dont like that approach.
Can somebody tellme how to best organize my development, how many
DataModules to be included in a Delphi application.
TIA
Luis Villerreal
|
|
|
| Back to top |
|
 |
|