On 03/02/2010 10:31 AM, Bryan Kearney wrote:
Questoin for you guys... what are curators? Are they:
- Data Objects which hide the Persistenct Logic?
- Business Logic Objects?
- Both?
I ask because I see the entitler.. and I also see logic in the EntitlementPoolCurator.
-- bk _______________________________________________ candlepin mailing list candlepin@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/candlepin
#2. they are 'repositories' in domain-driven-design vernacular (if that helps). ideally they should be used for retrieval/update/persistence of objects. personally, i prefer to keep the rest of the business logic on the object itself.
-d