Click here to Skip to main content
15,888,984 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
QuestionSuggestions or comments needed: Abstracting Data Access Layer Pin
Charles Merighi13-Feb-14 6:02
Charles Merighi13-Feb-14 6:02 
QuestionRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
José Amílcar Casimiro13-Feb-14 6:59
José Amílcar Casimiro13-Feb-14 6:59 
AnswerRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
jschell13-Feb-14 8:56
jschell13-Feb-14 8:56 
AnswerRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
Eddy Vluggen13-Feb-14 9:27
professionalEddy Vluggen13-Feb-14 9:27 
GeneralRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
Charles Merighi13-Feb-14 10:45
Charles Merighi13-Feb-14 10:45 
GeneralRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
jschell14-Feb-14 10:00
jschell14-Feb-14 10:00 
GeneralRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
Eddy Vluggen14-Feb-14 22:53
professionalEddy Vluggen14-Feb-14 22:53 
AnswerRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
V.16-Feb-14 22:51
professionalV.16-Feb-14 22:51 
Have a look at my article[^]


Carlos Merighe wrote:
it appears that the Data Access Object Design Pattern is a good solution to separate a Data Access API from the business objects.

I would even say it is mandatory. It makes you think in smaller problems, which in turn makes you build simple and easy solutions to those problems. If you pile up everything into one problem/solution you'll end up with a huge mess.
Also it enforces re-usability, which leads to robust and stable code.

Carlos Merighe wrote:
What is the best Design Pattern to separate data access from the business layer?

The one that fits you best. I'm not saying that so I can give you an easy answer. There is no "best" solution. Try out different solutions and see what best fits your needs and coding styles. Depending on the technology you can go old school as in my article or go the new way with LINQ or other technologies. Note that if you're in a company you probably want to use their way of working.

hope this helps.
V.

(MQOTD rules and previous solutions)

OriginalGriff wrote:
V is absolutely right

AnswerRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
John D. Sanders28-Feb-14 6:58
John D. Sanders28-Feb-14 6:58 
Questionlooking for design pattern which does continous monitoring Pin
manishakc10-Feb-14 18:55
manishakc10-Feb-14 18:55 
AnswerRe: looking for design pattern which does continous monitoring Pin
Richard MacCutchan10-Feb-14 21:08
mveRichard MacCutchan10-Feb-14 21:08 
GeneralRe: looking for design pattern which does continous monitoring Pin
manishakc10-Feb-14 21:14
manishakc10-Feb-14 21:14 
GeneralRe: looking for design pattern which does continous monitoring Pin
Richard MacCutchan10-Feb-14 21:22
mveRichard MacCutchan10-Feb-14 21:22 
GeneralRe: looking for design pattern which does continous monitoring Pin
manishakc10-Feb-14 21:52
manishakc10-Feb-14 21:52 
GeneralRe: looking for design pattern which does continous monitoring Pin
Richard MacCutchan10-Feb-14 23:47
mveRichard MacCutchan10-Feb-14 23:47 
AnswerRe: looking for design pattern which does continous monitoring Pin
Shameel11-Feb-14 1:56
professionalShameel11-Feb-14 1:56 
GeneralRe: looking for design pattern which does continous monitoring Pin
manishakc16-Feb-14 21:16
manishakc16-Feb-14 21:16 
Questionlooking for appropriate design pattern which will help in decision making Pin
manishakc6-Feb-14 23:00
manishakc6-Feb-14 23:00 
AnswerRe: looking for appropriate design pattern which will help in decision making Pin
Richard MacCutchan7-Feb-14 0:04
mveRichard MacCutchan7-Feb-14 0:04 
AnswerRe: looking for appropriate design pattern which will help in decision making Pin
jschell7-Feb-14 8:18
jschell7-Feb-14 8:18 
AnswerRe: looking for appropriate design pattern which will help in decision making Pin
Shameel11-Feb-14 2:01
professionalShameel11-Feb-14 2:01 
QuestionOne Language to rule them all (About business rules) Pin
Bastien Vandamme4-Feb-14 4:25
Bastien Vandamme4-Feb-14 4:25 
AnswerRe: One Language to rule them all (About business rules) Pin
Eddy Vluggen4-Feb-14 8:25
professionalEddy Vluggen4-Feb-14 8:25 
GeneralRe: One Language to rule them all (About business rules) Pin
Bastien Vandamme18-Jun-14 23:57
Bastien Vandamme18-Jun-14 23:57 
GeneralRe: One Language to rule them all (About business rules) Pin
Bastien Vandamme22-Jun-14 20:26
Bastien Vandamme22-Jun-14 20:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.