Corey Jewett wrote:
> On Tue, 2002-07-23 at 16:19, Aleksei Valikov wrote:
> 
>>Now I understand - this is clearly my design fault. I've checked the
>>documentation once again. The misuse is that our components also store data.
>>There is, for instance, document editor, which stores document that the user
>>edits. That is, our components are stateful. What are the recommendations to
>>deal with data?
> 
> 
> Is it possible to abstract the data out of your components without a
> complete rewrite, i.e. make document editor into a flyweight[1] class?
> The point being that all of the data is stored under one API (one or
> more classes) and the document editor is rewritten to access the data
> using that API.

I have done such a system in Avalon.
It's under krysalis-monarch CVS module over at the Krysalis project on 
Sourceforge.

If you need anything, peek in there if you find something interesting.

-- 
Nicola Ken Barozzi                   [EMAIL PROTECTED]
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to