Difference between revisions of "Implementing Domain Driven Architecture with OSGi"
From Opentaps Wiki
Jump to navigationJump to searchm (Protected "Implementing Domain Driven Architecture with OSGi": Sysop page [edit=sysop:move=sysop]) |
|||
Line 1: | Line 1: | ||
+ | ''This document is not finished yet.'' | ||
+ | |||
Domain classes are the '''nouns''': a Person, a Product, an Order. | Domain classes are the '''nouns''': a Person, a Product, an Order. | ||
Services are '''verbs''': CreateOrder, UpdateProduct. They create or modify the domain classes. Services should be used as [http://helephant.com/2008/08/19/functions-are-first-class-objects-in-javascript/ first class objects] and passed around to perform these actions. | Services are '''verbs''': CreateOrder, UpdateProduct. They create or modify the domain classes. Services should be used as [http://helephant.com/2008/08/19/functions-are-first-class-objects-in-javascript/ first class objects] and passed around to perform these actions. |
Revision as of 17:41, 1 March 2012
This document is not finished yet.
Domain classes are the nouns: a Person, a Product, an Order.
Services are verbs: CreateOrder, UpdateProduct. They create or modify the domain classes. Services should be used as first class objects and passed around to perform these actions.