On Thu, 30 Sep 2004 13:11:59 +0200, Ernst Bunders <[EMAIL PROTECTED]> wrote:
> Hallo
> Is there any documentation on the funcions framework?
Hi 

as outsider I have looked at the functions framework. its current use
at this moment
is mainly making it possible for the bridge to call functions. (if
doesn't help implementing)
but wraps old methods. 

at
http://www.keesj.dds.nl/functions.png
you can see an diagram of the functions framework.


The biggest problem IMHO at current time is that it's not possible to
create a class that "implements" a function and register it in mmbase

for example:
if you want to create a function that operates on a node you MUST
define the function
in the NodeManager (using static stuff), and use the standard public
Object getFunctionValue(Parameters arguments)  to implement the
function.

It's a quite complicated story to tell.

I Would like it if we could make the story a bit simpler. so that if
possible to implement a functions and register that function onto
anything (node, builder, module,set)

In that case implementing a function would look like this:
http://www.keesj.dds.nl/MyFirstFunction.java

(and here the extra code to hook it in a builder)
http://www.keesj.dds.nl/Builder.java

Reply via email to