It seems to me that it would improve performance to be able to create a "pipe" directly to tpage, but is that possible?
One could create a lightweight persistent perl daemon that listens on a fifo for parameters and a template name that, in turn, builds the resulting pages. In other words, rewrite tpage (which is super simple) as a persist daemon that handles rebuild requests.
Now, you have a "page builder" daemon that can be used by any application.
This is really simple to do (see 'man mknod', perldoc -f open, etc.) and just have a simple "protocol" for speaking over the pipe.
Good luck and hope this helps. Regards. -- Eric Sammer [EMAIL PROTECTED]
_______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
