Project

General

Profile

Feature #6624

Updated by Reynaud Sylvain over 10 years ago

Implementation implementation should rely on XSL and RotatingCacheConnector. 

 *Written by user*: 
 <pre><code class="xml"> 
 <view name="example"> 
     <argument name="arg"/> 
     <connector type="XMLConnector"/> 
     <cache type="RotatingCache"> 
         <parameter name="size">100</parameter> 
         <parameter name="key" eval="$arg"/> 
     </cache> 
 </view> 
 </code></pre> 

 *Generated by Lavoisier*: 
 <pre><code class="xml"> 
 <view name="example_0"> 
     <connector type="XMLConnector"/> 
 </view> 
 <view name="example"> 
     <argument name="arg"/> 
     <connector type="RotatingCacheConnector"> 
         <parameter name="size">100</parameter> 
         <parameter name="key" eval="$arg"/> 
         <parameter name="content" eval="view('example_0', arguments())"/> 
     </connector> 
 </view> 
 </code></pre> RotatingCacheConnector

Back