Click here to Skip to main content
14,329,993 members

Design and Architecture

 
GeneralRe: User Defined Lookups Pin
Gerry Schmitz27-Jun-18 10:28
mveGerry Schmitz27-Jun-18 10:28 
GeneralRe: User Defined Lookups Pin
Kevin Marois27-Jun-18 10:30
professionalKevin Marois27-Jun-18 10:30 
PraiseIdentifying Vulnerable Source Code Pin
David A. Gray5-Jun-18 11:28
groupDavid A. Gray5-Jun-18 11:28 
GeneralData Mapper Pattern Using Events Pin
Paramecium135-Jun-18 7:03
professionalParamecium135-Jun-18 7:03 
GeneralRe: Data Mapper Pattern Using Events Pin
Nathan Minier6-Jun-18 1:40
professionalNathan Minier6-Jun-18 1:40 
GeneralRe: Data Mapper Pattern Using Events Pin
Paramecium137-Jun-18 6:41
professionalParamecium137-Jun-18 6:41 
GeneralRe: Data Mapper Pattern Using Events Pin
Nathan Minier7-Jun-18 6:49
professionalNathan Minier7-Jun-18 6:49 
GeneralRe: Data Mapper Pattern Using Events Pin
Paramecium137-Jun-18 7:12
professionalParamecium137-Jun-18 7:12 
That's fine.

From what I read of the data mapper pattern, all it really says is separate the data logic (CRUD) from the domain object stuff (i.e. don't use the active record pattern), which, while lacking in detail is great advice.

I saw that you mentioned the unit of work and repository patterns in your previous post and took a quick look at them. I don't see how they directly relate to updating domain objects. From what I saw, it seems like the controller or something has to tell the unit of work class to update a domain object. How/where do you deal with determining how/when to update domain objects?

GeneralRe: Data Mapper Pattern Using Events Pin
Nathan Minier7-Jun-18 7:30
professionalNathan Minier7-Jun-18 7:30 
SuggestionRe: Data Mapper Pattern Using Events Pin
Eddy Vluggen6-Jun-18 1:50
mveEddy Vluggen6-Jun-18 1:50 
GeneralRe: Data Mapper Pattern Using Events Pin
Paramecium136-Jun-18 8:16
professionalParamecium136-Jun-18 8:16 
QuestionUnified Naming Conventions Pin
David A. Gray29-May-18 8:53
groupDavid A. Gray29-May-18 8:53 
AnswerRe: Unified Naming Conventions Pin
Eddy Vluggen31-May-18 0:17
mveEddy Vluggen31-May-18 0:17 
GeneralRe: Unified Naming Conventions Pin
David A. Gray31-May-18 14:14
groupDavid A. Gray31-May-18 14:14 
GeneralRe: Unified Naming Conventions Pin
Eddy Vluggen1-Jun-18 0:04
mveEddy Vluggen1-Jun-18 0:04 
GeneralRe: Unified Naming Conventions Pin
David A. Gray1-Jun-18 11:28
groupDavid A. Gray1-Jun-18 11:28 
GeneralRe: Unified Naming Conventions Pin
Eddy Vluggen2-Jun-18 1:19
mveEddy Vluggen2-Jun-18 1:19 
GeneralRe: Unified Naming Conventions Pin
David A. Gray2-Jun-18 6:48
groupDavid A. Gray2-Jun-18 6:48 
GeneralRe: Unified Naming Conventions Pin
Eddy Vluggen3-Jun-18 0:39
mveEddy Vluggen3-Jun-18 0:39 
GeneralRe: Unified Naming Conventions Pin
David A. Gray3-Jun-18 13:08
groupDavid A. Gray3-Jun-18 13:08 
AnswerRe: Unified Naming Conventions Pin
Gerry Schmitz1-Jun-18 7:56
mveGerry Schmitz1-Jun-18 7:56 
GeneralRe: Unified Naming Conventions Pin
David A. Gray1-Jun-18 11:37
groupDavid A. Gray1-Jun-18 11:37 
GeneralRe: Unified Naming Conventions Pin
Gerry Schmitz3-Jun-18 6:22
mveGerry Schmitz3-Jun-18 6:22 
GeneralRe: Unified Naming Conventions Pin
David A. Gray3-Jun-18 13:00
groupDavid A. Gray3-Jun-18 13:00 
QuestionXML Based Blog Pin
Rakanoth28-May-18 1:50
memberRakanoth28-May-18 1:50 

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.