Re: [Developers] post developers meeting(presentation tags)

2005-01-28 Thread Joost Diepenmaat
On Fri, Jan 28, 2005 at 12:43:35PM +0100, Andr? van Toly wrote: > At 11:30 + 28-01-2005, Kees Jongenburger wrote: [ ... ] > >I dislike MVC because it's anty OO and you have to do everything > >3 or more times. This is more of a problem with certain MVC frameworks than others. Struts makes you

[Developers] post developers meeting(lucenes)

2005-01-28 Thread Kees Jongenburger
Hi we saw that the finalist lucene module was improved. One of the enhancements was an updatable index. The differences between the features made avaiable by the implementation of pierre and wouter where small (I think). The aproaches however where totaly different. Pierre used the new functions f

Re: [Developers] Re: [MMBASE CVS]src/org/mmbase/bridge/util MapNode.java

2005-01-28 Thread Michiel Meeuwissen
Homeijer, Michael wrote: >In particular, the piece: >"Additionally, JSP 2.0 allows programmatic access and customization of the >EL evaluator through a set of standard interfaces and abstract classes." >tells me there's more to explore before continuing ideas about >implementati

RE: [Developers] Re: [MMBASE CVS]src/org/mmbase/bridge/util MapNode.java

2005-01-28 Thread Homeijer, Michael
Hi, Have a look at: http://jakarta.apache.org/commons/el/ In particular, the piece: "Additionally, JSP 2.0 allows programmatic access and customization of the EL evaluator through a set of standard interfaces and abstract classes." tells me there's more to explore before continuing ideas ab

Re: [Developers] Re: [MMBASE CVS] src/org/mmbase/bridge/util MapNode.java

2005-01-28 Thread Michiel Meeuwissen
Pierre van Rooden wrote: > >It's only when you want something else which is not aware of MMBase to do > >something with nodes, then you would want it as a Map, for which I figured > >this wrapper would be ideal. > > But one of the uses of the bridge is to allow outside programs to use > it. And h

RE: [Developers] post developers meeting(presentation tags)

2005-01-28 Thread Homeijer, Michael
Hi, My thoughts about MVC: - you could start with adding a controller, which you can bypass if you just use the current way of building mmbase sites - it will be easier to add different all kinds of logic to the mix (handling double submit problems, back button etc). - it is possible to creat

Re: [Developers] Re: [MMBASE CVS] src/org/mmbase/bridge/util MapNode.java

2005-01-28 Thread Pierre van Rooden
It's only when you want something else which is not aware of MMBase to do something with nodes, then you would want it as a Map, for which I figured this wrapper would be ideal. But one of the uses of the bridge is to allow outside programs to use it. And having Nodes behave as Maps would make tha

Re: [Developers] Re: [MMBASE CVS] src/org/mmbase/bridge/util MapNode.java

2005-01-28 Thread Michiel Meeuwissen
Pierre van Rooden wrote: > Michiel Meeuwissen wrote: > >It would perhaps be a little easier to implement (though not actually much > >I > >think). It would though horribly bloat the Node interface, with all map > >methods which already have a counterpart in Node itself > > Still, it might be bett

Re: [Developers] post developers meeting(presentation tags)

2005-01-28 Thread André van Toly
At 11:30 + 28-01-2005, Kees Jongenburger wrote: It was a while ago but V2 proposed to define the data used in view in xml. This would free us from the posrel problem in jsp pages. I think (like rico said) that the "A" current way to do this might be to have separates jsp (or jsp parts) to defin

Re: [Developers] post developers meeting(presentation tags)

2005-01-28 Thread Kees Jongenburger
On Fri, 28 Jan 2005 12:03:54 +0100, Joost Diepenmaat <[EMAIL PROTECTED]> wrote: > On Fri, Jan 28, 2005 at 10:32:53AM +0100, Wouter Heijke wrote: > > To me using "news,posrel,images" notation inside a tag is already > > something that should then be done inside a controller. > > I disagree - this i

Re: [Developers] post developers meeting(presentation tags)

2005-01-28 Thread Joost Diepenmaat
On Fri, Jan 28, 2005 at 10:32:53AM +0100, Wouter Heijke wrote: > To me using "news,posrel,images" notation inside a tag is already > something that should then be done inside a controller. I disagree - this is something that should be done by the model: news.getImages() or something should impleme

Re: [Developers] Re: [MMBASE CVS] src/org/mmbase/bridge/util MapNode.java

2005-01-28 Thread Pierre van Rooden
Michiel Meeuwissen wrote: It would perhaps be a little easier to implement (though not actually much I think). It would though horribly bloat the Node interface, with all map methods which already have a counterpart in Node itself Still, it might be better than having a separate wrapper class. And

Re: [Developers] post developers meeting(presentation tags)

2005-01-28 Thread Michiel Meeuwissen
Kees Jongenburger wrote: > I am not shure , but I did not find how to get the size of the list > and the current index so odd/even was not possible Actually I though I did it alreayd, but turned out that I used mm:index. ... ... Which I tough nicer then taglib code with mm:odd and mm:eve

Re: [Developers] post developers meeting(presentation tags)

2005-01-28 Thread Kees Jongenburger
> > jtsp:forEach tags: > > the forEach tag can be useful. but when people start using it they > > will need the exact functions that are in the mmbase taglib > > -know the size of the list > > -know if the list is not empty > > -know if this is the first / last element > > This partly overlaps wit

Re: [Developers] post developers meeting(presentation tags)

2005-01-28 Thread Wouter Heijke
To me using "news,posrel,images" notation inside a tag is already something that should then be done inside a controller. With this in mind i have been using struts tiles. It puts 'queries' like this in a config file, the query itself is executed by a struts controller accessing MMBase through the

Re: [Developers] post developers meeting(presentation tags)

2005-01-28 Thread Michiel Meeuwissen
Kees Jongenburger wrote: > other examples where false to > > > > > can also be written as > > > > but that is almost never used because it requires to define a test variable. That is not actually possible. The node attribute of field is meant for the following: So, acces

Re: [Developers] post developers meeting(presentation tags)

2005-01-28 Thread Kees Jongenburger
> What i'm missing too is the power of the recent mm:constraint tag and > other tags that reside inside the various container tags like > listnodescontainer. Yes , but RvM made very clear that the taglib is not an all purpose taglib. I think (and het is not completely wrong) that complicated quer

Re: [Developers] Re: [MMBASE CVS] src/org/mmbase/bridge/util MapNode.java

2005-01-28 Thread Michiel Meeuwissen
Pierre van Rooden wrote: > Michiel Meeuwissen wrote: > > MapNode.java > >a node which is also a map. will be used in taglib/casting > > What is this for? Is it needed? It is used to wrap a node to be a map. This is recognized by EL. It is more general, because I figure that there must be a z

Re: [Developers] post developers meeting(presentation tags)

2005-01-28 Thread Wouter Heijke
Hello, What i'm missing too is the power of the recent mm:constraint tag and other tags that reside inside the various container tags like listnodescontainer. Wouter > Hello , > > RvM taglib: > > RvM gave a great presentation about what is possible with the 2.4 servlet > api > his goals where t

[Developers] post developers meeting(presentation tags)

2005-01-28 Thread Kees Jongenburger
Hello , RvM taglib: RvM gave a great presentation about what is possible with the 2.4 servlet api his goals where to use a few simple tags, use jstl and the EL as much as possible. (only 3 tags !!). He also discussed the MVC approach. I missed that part of in the presentation of the presentation