BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Hom many DataModules

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Luis Villarreal
Guest





PostPosted: Thu May 13, 2004 12:47 am    Post subject: Hom many DataModules Reply with 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
Bill Todd (TeamB)
Guest





PostPosted: Thu May 13, 2004 3:55 am    Post subject: Re: Hom many DataModules Reply with quote



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





PostPosted: Thu May 13, 2004 11:26 am    Post subject: Re: Hom many DataModules Reply with quote



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





PostPosted: Thu May 13, 2004 10:15 pm    Post subject: Re: Hom many DataModules Reply with 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.

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





PostPosted: Fri May 14, 2004 12:28 am    Post subject: Re: Hom many DataModules Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.