Yup. I've focused on using Sitemesh for application development, not wrapping existing code.
If you're using Apache 2 and are interested in Sitemesh-like capability for wrapping legacy data (e.g. raw HTML) or (I think) stuff like PHP, Perl, etc. you might want to check out the Apache 2 filter chain stuff.
http://apache.webthing.com/
http://apache.webthing.com/apachecon.pdf
I haven't used it, but I ran into the guy who gave this speech at ApacheCon and it sounds good. :) |