Working with the Domain Driven Architecture
From Opentaps Wiki
Revision as of 00:47, 5 December 2008 by Sichen (talk | contribs) (Protected "Working with the Domain Driven Architecture": Sysop page [edit=sysop:move=sysop])
Here are some tips for working with the Domain Driven Architecture:
Instantiating Services and Repositories
If you have a domain, the easiest way to instantiate a Service or Repository from your domain is to use the instantiateService or instantiateRepository methods, like this:
This will automatically set up the Infrastructure and User for your Service or Repository.