You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_dtcl@tcl.apache.org by David Brancato <Da...@Brancato.com> on 2002/06/07 18:59:59 UTC
Eval a ttml page
EVAL A TTML PAGE
=================
Is there any easy way to eval a ttml page? We store many ttml pages in a
database so we can load one into memory and write it to a temporary file in
order to call the parse command. This allows us to employ a crude but very
effective template/caching mechanism. It would be much less expensive to be
able to eval the script in memory rather than writing the ttml to a
temporary file first. Is there a way to do this?
Thanks,
David
---------------------------------------------------------------------
To unsubscribe, e-mail: mod_dtcl-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_dtcl-help@tcl.apache.org
Re: Eval a ttml page
Posted by "David N. Welton" <da...@dedasys.com>.
"David Brancato" <Da...@Brancato.com> writes:
> EVAL A TTML PAGE
> =================
> Is there any easy way to eval a ttml page? We store many ttml pages
> in a database so we can load one into memory and write it to a
> temporary file in order to call the parse command. This allows us to
> employ a crude but very effective template/caching mechanism. It
> would be much less expensive to be able to eval the script in memory
> rather than writing the ttml to a temporary file first. Is there a
> way to do this?
Hmm... you might have a look at some of the work I've done on
cacheing, at www.dedasys.com/freesoftware/ - click on the
'miscellaneous' link.
That's not what you want, though... I think this feature would be
reasonable easy to add to Rivet, given that the parser is broken into
functional elements.
--
David N. Welton
Consulting: http://www.dedasys.com/
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org
Re: Eval a ttml page
Posted by "David N. Welton" <da...@dedasys.com>.
"David Brancato" <Da...@Brancato.com> writes:
> EVAL A TTML PAGE
> =================
> Is there any easy way to eval a ttml page? We store many ttml pages
> in a database so we can load one into memory and write it to a
> temporary file in order to call the parse command. This allows us to
> employ a crude but very effective template/caching mechanism. It
> would be much less expensive to be able to eval the script in memory
> rather than writing the ttml to a temporary file first. Is there a
> way to do this?
Hmm... you might have a look at some of the work I've done on
cacheing, at www.dedasys.com/freesoftware/ - click on the
'miscellaneous' link.
That's not what you want, though... I think this feature would be
reasonable easy to add to Rivet, given that the parser is broken into
functional elements.
--
David N. Welton
Consulting: http://www.dedasys.com/
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: mod_dtcl-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_dtcl-help@tcl.apache.org