Antonio Gallardo wrote:

Upayavira dijo:


Leon Widdershoven wrote:



- move to a generator approach.


Do you mean generator-only approach? I think that would limit the
options of the users quite a bit (and I am one of those). I actually
like the pipeline
approach so that you can build your XML tree dynamically; if one would
move
to a generator only approach other generator-only functionalities
(xsp, though
that appears to be deprecated) can not really be used anymore.

As you notice I am not well enough at home in cocoon core matters to
really have an opinion, but two months ago when I started using cocoon
(and I am working full time with cocoon-2.1.4) the fact that the xsp
was a generator only brought me a lot of trouble so I have a bit of a
phobia about that.


Sylvain is not proposing to scrap pipelining, just to merge a couple of
stages. At present, in CForms, you can have:

JXTemplateGenerator->FormTransformer->XSLT->Serialise

What is being proposed is to use JXMacros in JXTemplateGenerator to
implement the functionality of the FormTransformer, so you get:

JXTemplateGenerator->XSLT->Serialise

So, hopefully this scares you less. The template that is being worked
with is very much an XML one - XML to HTML transformation remains
steadfastly with XSLT.



Will be also able to use the JXTemplateGenerator without CForms?


I think it is more a question of whether you will be able to use JXTemplateGenerator without flow. They are (or were) quite tied to each other.

But there is no specific connection between CForms and the JXTemplateGenerator.

Upayavira



Reply via email to