[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gzz] 14th
From: |
Tuomas Lukka |
Subject: |
Re: [Gzz] 14th |
Date: |
Mon, 15 Jul 2002 20:26:39 +0300 |
User-agent: |
Mutt/1.4i |
> Now, here's the code to generate the diff:
>
> Set connects = new HashSet(new.entrySet());
> connects.removeAll(old.entrySet());
>
> Set disconnects = new HashSet(old.entrySet());
> disconnects.removeAll(new.entrySet());
>
> Easy, huh?
Ouch!
Except of course that that part of the code should be written
in Jython, as should all high-level (non-loop) stuff.
> 2. Extending and embedding (XML)
No time to go into this deep right now; just
> One last thing: It seems all very easy to implement to me. If it doesn't
> to you, it may be that the explanation is just confusing. Please
> comment, and I'll try to re-explain if I didn't make myself clear.
ModularSpace makes this easy: you can make a pluggable-in XML content module
and put it in. Start it in lava/ and everything will be nice.
Tuomas