Difference between revisions of "Working with the Domain Driven Architecture"

From Opentaps Wiki
Jump to navigationJump to search
(New page: 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 ...)
 
m (Protected "Working with the Domain Driven Architecture": Sysop page [edit=sysop:move=sysop])
(No difference)

Revision as of 00:47, 5 December 2008

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.