G
Guest
I am building an object oriented application asp.net application which is
accessing a relational database. I am a bit unclear as to the best place for
business logic to appear. My understanding (perhaps imperfect) of object
oriented methods is that the data and operations should be contained together
in business objects. This sort of suggests that data access and business
logic should be combined into the same objects. I am aware of the use of
controller objects but my understanding is that they should sequence the flow
of events of the business objects not actually contain any business logic as
such themselves. I would appreciate anyones ideas on how they stucture their
data access/business logic.
accessing a relational database. I am a bit unclear as to the best place for
business logic to appear. My understanding (perhaps imperfect) of object
oriented methods is that the data and operations should be contained together
in business objects. This sort of suggests that data access and business
logic should be combined into the same objects. I am aware of the use of
controller objects but my understanding is that they should sequence the flow
of events of the business objects not actually contain any business logic as
such themselves. I would appreciate anyones ideas on how they stucture their
data access/business logic.