What Are curators?

Dmitri Dolguikh dmitri at redhat.com
Tue Mar 2 16:18:04 UTC 2010


On 03/02/2010 11:26 AM, Bryan Kearney wrote:
> On 03/02/2010 09:58 AM, Dmitri Dolguikh wrote:
>> On 03/02/2010 10:31 AM, Bryan Kearney wrote:
>>> Questoin for you guys... what are curators? Are they:
>>>
>>> 1) Data Objects which hide the Persistenct Logic?
>>> 2) Business Logic Objects?
>>> 3) Both?
>>>
>>> I ask because I see the entitler.. and I also see logic in the
>>> EntitlementPoolCurator.
>>>
>>>
>>> -- bk
>>> _______________________________________________
>>> candlepin mailing list
>>> candlepin at 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.
>>
>
> Which Object? So.. if I look at he stuff we have today I see the 
> following:
model objects. curators also belong to the model.

-d



More information about the candlepin mailing list