Skip to content
Discussion options

You must be logged in to vote

Mostly it depends on whether you plan for the DTOs to flow through the data portal or not.

In things like ProjectTracker, the DTOs exist purely within the data access layer, so they never flow through the data portal. As a result, they don't need to be mobile objects. They exist (briefly) within one physical tier, assuming the app is deployed in an n-tier model.

I suppose there could be reasons why you'd flow a DTO over a layer/tier boundary, though that's not really the intent of a CSLA architecture. Maybe (maybe?) you'd flow a DTO to a client instead of using a readonly domain object because you know there are not any authorization rules associated with the data involved? Personally tho…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by Chicagoan2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants