Hi

The current WebMacroService has the following method:

public String handleRequest(WebContext wc, String template)

are there any objections if I add the following to WebMacroService (and obviously the
implementation in TurbineWebMacroService) ?

public void handleRequest(WebContext wc, String template, Writer out)

The reason is that I created a XmlSite* a while ago (an old alpha version is current on
www.opticode.co.za under downloads -> optimodules) that is nearing completion now.
Previously Jon suggested that these might be a useful addition to Turbine, but before I
add it to the cvs I'd like to do some optimization and final testing.  Adding the new
method would allow me skip an intermediate String phase which boosts performance in 
both
speed and memory requirements.

Another reason for creating a method that takes a Writer is that I can later maybe use
Piped Input/Output Writer with WM / XSLT.  I don't know if there will be any 
performance
enhancements, but I think it will be interesting to check out :-)

~ Leon




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to