[xwiki-devs] [SUMMARY] Re: [Discussion] Designing the new Rendering/Parsing component/API

Vincent Massol vincent at massol.net
Fri Sep 28 18:31:52 CEST 2007


On Sep 28, 2007, at 12:05 PM, Vincent Massol wrote:

[snip]

>> It seems semi-tangential to ask questions about skin/template
>> rendering, but I feel there is a significant amount of  
>> interdependency
>> between the skin and the content, especially if you consider the
>> #panel macros, for example.  The #panel macros are a) velocity  
>> macros,
>> b) defined in files in the filesystem, and c) are included and  
>> used by
>> every document defining a panel.
>>
>> Do changes to the rendering/parsing API require skin/template *.vm
>> files to be updated with  {velocity} {/velocity} tags? Or would the
>> velocity engine continue to pre-read and cache those files as it does
>> now...
>
> hmm... Are they cached now? I don't see how they could be since it
> would mean the velocity doesn't get executed at each request.
>
> Yes, I would assume we would use {velocity} blocks.

Actually we don't have to do that. The Velocity macro will be able to  
output wiki syntax from any text so we can still keep the templates  
in Velocity exactly as they are now.

[snip]

-Vincent




More information about the devs mailing list