Re: Application Services and Framework Annotations

Babak MASER <[email protected]>
Newsgroups gmane.comp.programming.domain-driven-design
Message-ID <[email protected]>



 
Dear Nikolaos,
You are right, please
pay attention t those projects you have already seen, they have had their
stress on demonstration of DDD concept. In fact the aim was not to make every
things in the project perfect.

If you want to do
Authorization or validation , as per as my knowledge you have to make another
layer such as Validation.Domain.Service (VDS) then process of validation must
be done through mentioned logic implemented in (VDS). So to achieve Logging/security
issues and other stuff you can follow same approach.
Ultimately whatever
approach you are going to take, that must not lead your Core (which includes
entities) to depends on others such as annotation, that is strongly prohibited
due to high coupling.
Greetings,
Babak Maser. 
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.