On Tue, 1 Feb 2005 22:11:22 +0100, Rob van Maris <[EMAIL PROTECTED]> wrote:
> 
> On Feb 1, 2005, at 9:42 PM, Homeijer, Michael wrote:
> 
> > Using Apache BCEL (Byte Code Engineering Library), I create a
> > BeanFactory that wraps node with classes that can be evaluated using
> > jxpath or EL.
> 
> Great stuff. But for EL both maps and javabeans are suitable, and I
> don't see any particular advantage of the latter. Because of this, I
> prefer the simplest option which is the first, i.e. a single wrapper
> class implementing Map.
The difference being that the BeanFactory allows a lot more then the
map approach.
-editing of a node
-getting the relations

It it was only for the taglibs I would choose for the map approach
since the taglibs are power full enough to get relations etc.
I also see the bean aproach a a possible new way of extending mmbase.
For xjpath the map approach is not an option. I don't think either
needs to make it to the core., But I like the way Michael is thinking
about MMBase and standard apis.
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to