Skip to content
Discussion options

You must be logged in to vote

Generally speaking, logically server-side behaviors (such as sending an email) should be implemented in data portal operation methods, and you can inject parameters into those methods.

Logging I see as a potentially different thing, since it seems reasonable to think about logging user interactions with the domain objects when they are running on the logical client. There's no good answer for this at the moment, because constructor injection isn't possible with mobile objects. Nor is property injection, though perhaps that's something to consider. Hmm.

Basically, CSLA controls the lifecycle of domain objects, because it may serialize them to/from the server, or to implement n-level undo, …

Replies: 5 comments 9 replies

Comment options

You must be logged in to vote
2 replies
@sacrejohn
Comment options

@sacrejohn
Comment options

Comment options

You must be logged in to vote
1 reply
@sacrejohn
Comment options

Comment options

You must be logged in to vote
3 replies
@sacrejohn
Comment options

@TheCakeMonster
Comment options

@sacrejohn
Comment options

Comment options

You must be logged in to vote
2 replies
@sacrejohn
Comment options

@rockfordlhotka
Comment options

Answer selected by sacrejohn
Comment options

You must be logged in to vote
1 reply
@sacrejohn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants