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 

TBOProvider

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OO design
View previous topic :: View next topic  
Author Message
Aivar Annamaa
Guest





PostPosted: Tue Oct 21, 2003 9:13 am    Post subject: TBOProvider Reply with quote



Hi!

Has anyone made or used or seen a TCustomProvider descendant that can
retrieve data from and post updates back to a Business Object?

How would you value such setup where there is one provider available
for each business object class, that mediates communication between
user interface and BO, creates and loads objects when needed and so
on? User inteface layer could specify what business objects to use via
its params property. Would you use TDataSetProvider and embed a
dataset in BO that provider will use or would you build/find some
custom provider?

Or is it better when UI communicates with BO-s directly? And BO-s have
methods
loadClientDatasetWithPublicData (ds:TDataset)
and
saveUpdatesFromDataset(ds:TDataset)

or ... ? How would you solve this?

Thank you!

Aivar Annamaa
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OO design 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.