[Cosmo-dev] Dashboard Plumbing Stuff
Bobby Rullo
br at osafoundation.org
Mon Mar 5 10:22:46 PST 2007
On Mar 2, 2007, at 11:28 AM, Matthew Eernisse wrote:
> Responses inline ...
>
> Bobby Rullo wrote:
>> Well, it depends on what you mean by intelligence. If you are
>> talking about a domain model in which the objects know how to save
>> themselves, and collections are really collections of items, then
>> I think that is out of the question. That's not a re-factoring,
>> that's a complete rewrite almost. I wrote a wiki page on that
>> here: http://wiki.osafoundation.org/Journal/AnemicVersusRich It
>> might be hard to understand though, since I really was just using
>> it for debating with myself.
>
> I have a quick question -- who won the debate? :)
Jury is still out apparently. Seems like Travis is in favor a richer
domain model, having items know how to save themselves, etc. He's
avoided some of the hairier bits (like having collections actually
hold references to all the items in it) but it's still a tad risky
given that it will cost us some re-writing.
Given that we'll be touching all that code anyway though, what's one
more major paradigm shift?
Bobby
More information about the cosmo-dev
mailing list