Christopher Oliver wrote:

Stefano Mazzocchi wrote:

Sylvain Wallez wrote:

<snip/>

Being able to structure flow (or JS ?) features in blocks is IMO the key for having a stable foundation without discouraging creativity.


True. I'm all ears on how this can be achieved. Chris? any idea?


Not sure. This is one of the weaknesses of JavaScript. It doesn't have any structuring mechanism for creating libraries or reusable modules (which was one of the things JavaScript 2.0 was supposed to fix). I think Cocoon will have to invent its own mechanisms to describe and manage script libraries.


We could use something like XSP logicsheets, i.e. have the JS libraries be declared in cocoon.xconf. This would allow each user to tailor the available non-core features of its flow engine, and also to automatically build it from a set of blocks and xconf snippets.

Sylvain

--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }




Reply via email to