145 reputation
5
bio website codexbellator.com
location Mexico
age 34
visits member for 3 years, 7 months
seen Oct 27 at 22:30

MCPD Web developer, interested in software architecture.


Feb
12
comment How to implement DDD in a distributed application with NHibernate?
You can't do that. The change tracking is performed by the session factory, wich in this case lives in the Web service, not in the consuming Web site. The UserRepository is encapsulated in that Web service.
Feb
7
comment How to implement DDD in a distributed application with NHibernate?
OK, let's say you have a method in your domain object named MakeUserPreferred() wich changes the state of the user and thus let us know that certain tax percentage must be applied. You would expose a MakeUserPreferred method in your web service? Or instead you set the DTO property ´UserDTO.IsPreferred = true´ and then call the service method ´_service.PersistChanges(userDTO)´?.
Feb
7
comment How to implement DDD in a distributed application with NHibernate?
Now I realized what is my dilemma: DDD says you must have domain methods pertaining to a single use case. From this point of view,ChangeEmail and ChangeAddress must be distinct operations because they belongs to different use cases. I.e., the user probably doesn't change his email for the same reasons that he changes his address.
Feb
7
awarded  Editor
Feb
7
revised How to implement DDD in a distributed application with NHibernate?
edited body
Feb
7
asked How to implement DDD in a distributed application with NHibernate?
Jul
16
accepted CQRS and validations
Jul
12
asked CQRS and validations
Apr
25
awarded  Supporter
Apr
14
awarded  Scholar
Apr
14
accepted Mimic the functionality of Urban Airship
Apr
14
comment Mimic the functionality of Urban Airship
LOL I thinked the same. If I can "mimic" the functionality of Urban Airship I would selling that damn thing instead of programming!
Apr
14
comment Mimic the functionality of Urban Airship
I understand that the Urban Airship products are succesfull precisely because is not easy achieve what they offer: push notifications in three platforms (Blacberry, iOS and Android) and for I know, there is no alternative commercial or open source to their products. I think hardly a programmer alone can acomplish this, even in a year.
Apr
14
awarded  Student
Apr
14
awarded  Autobiographer
Apr
14
asked Mimic the functionality of Urban Airship