cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <>
Subject Changes in the control flow engine
Date Sat, 17 Aug 2002 06:51:27 GMT

I'm coming back to speed after a really slow summer, so sorry for not
updating the code in the flow engine for such a long time.

I've just committed some changes in the control flow engine which should
improve the usability of the system.

The biggest change is the fact that the global space of the variables is no
longer shared between users. Each user now has his/her own space for the
global variables, and the only way to share information between different
users is by means of the servlet API or Cocoon's Environment object.

Another visible change is the fact that scripts now reload as expected when
they are modified, when they are declared using the file: protocol.
Unfortunately the migration of Source from Cocoon to Avalon broke the reload
of the files declared using the resource: protocol. The problem is that the
getLastModified() method on the Excalibur Source always returns 0, instead
of checking the timestamp of the real file if possible.

The next thing which I'm working on is to have the JavaScript Scope object
saved in the user' session object, if one is available. This will allow
invocations of top level functions (those called using <map:call
function="...">) to share the same values of the global variables. This will
improve even further the functionality of the whole flow engine, as it will
allow applications to invoke top-level functions that implement different
parts of the application in the same global scope context, e.g. with the
same global variables.

Ovidiu Predescu <> (Weblog) (Apache, GNU, Emacs...)

To unsubscribe, e-mail:
For additional commands, email:

View raw message