New Posts New Posts RSS Feed: Business Context
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Business Context

 Post Reply Post Reply
Author
rbautistaole View Drop Down
Newbie
Newbie


Joined: 01-Apr-2011
Posts: 37
Post Options Post Options   Quote rbautistaole Quote  Post ReplyReply Direct Link To This Post Topic: Business Context
    Posted: 10-Jan-2012 at 5:09pm
Hi.
I´m tryng to follow a DDD to develop my app. A DDD concept is "Bounded contexts" and in apply it i need to have a same business entity (Customer for example) in many models. The question is Can DevForce drive it scenery? Can I to place an Entity with the same Name but different properties in two models? Can i validate different rules in each model?
 
Do you have some comments or advices to follow for this scenery?
 
thanks in advanced.
 
Back to Top
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post Posted: 12-Jan-2012 at 11:52am
Hi rbautistaole,
 
As long as each model is in a different assembly, you will be able to have Entities with the same name and their own validation rules.
 
Regards,
   Silvio.
Back to Top
rbautistaole View Drop Down
Newbie
Newbie


Joined: 01-Apr-2011
Posts: 37
Post Options Post Options   Quote rbautistaole Quote  Post ReplyReply Direct Link To This Post Posted: 13-Jan-2012 at 9:49am
What a simple answer. However i want more help.
 
If i have many models, all about the same database, how configure the Application server? Do i need only one application server with many EntityServer? Do i need many Application server hostin each model?
 
Your modular example using prism use only one model therefore is not help me.
 
by the way, i suggest review your wiki to make it more useful. If I´m reading the Save Interceptor topic i hope that the topic  links to save interceptor samples (full solutions not code snippets).
 
 


Edited by rbautistaole - 13-Jan-2012 at 9:51am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down