Patrik Nordwall wrote:
> 
> We encourage a rich domain model, with behaviour. Otherwise it wouIdn't be
> much of a DDD ;-).
> 


You can add methods directly in the subclasses of the domain objects. These
are generated only once.


The reason for not including methods in the DSL and code generation is that
it is not much that can be automated. The logic must be written manually
anyway. 

/Patrik


Hi Patrik, 
thanks for the reply.
Of course this was my hope too :-), i am glad you have the same opinion
about the rich model.
I see, i though initially that you are generating interfaces for entities
(like in the services), than i would not be able to add methods to the
interfaces of entites. But sculptor is generating directly classes than
everything is fine.

Denis


-- 
View this message in context: 
http://www.nabble.com/Sculptor%3A-no-methods-within-the-entities-and-value-objects---tp16237398s17564p16257372.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to