RE: [Templates] Using Toolkit w/python

[prev] [thread] [next] [Date index for 2004/08/09]

From: Thomas, Mark - BLS CTR
Subject: RE: [Templates] Using Toolkit w/python
Date: 14:16 on 09 Aug 2004
Eric Sammer wrote:
> Tim Johnson wrote:
> > 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.

Interesting, as I am about to embark on a similar project. I plan to create
a service that accepts input from a few different "data sources" -- XML,
tab-delim text, DB table, etc. and provides the data to one or more
templates.

Users will be able to create "packages" that map a data source to templates,
and also specify an output location (dir, ftp location, etc).

I plan to provide a few different ways to trigger the output: Manual
triggering via a web interface listing the packages with a "Publish" button,
an option to poll the data source on a regular basis and trigger output upon
change, and via some sort of API through which you can request a rebuild of
a particular package.

The idea is to a TT-based publishing engine that Java and Python
applications can use for output.

- Mark


        -- 
        Mark Thomas                    Thomas.Mark@xxx.xxx 
Internet Systems Architect     DigitalNet, Inc. 


_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] Using Toolkit w/python
Tim Johnson 20:15 on 07 Aug 2004

Re: [Templates] Using Toolkit w/python
Eric Sammer 20:18 on 07 Aug 2004

RE: [Templates] Using Toolkit w/python
Thomas, Mark - BLS CTR 14:16 on 09 Aug 2004

Re: [Templates] Using Toolkit w/python
Darren Chamberlain 15:24 on 09 Aug 2004

Re: [Templates] Using Toolkit w/python
Tim Johnson 16:37 on 09 Aug 2004

RE: [Templates] Using Toolkit w/python
Thomas, Mark - BLS CTR 17:11 on 09 Aug 2004

RE: [Templates] Using Toolkit w/python
Franco Bagnoli 06:59 on 10 Aug 2004

Re: [Templates] Using Toolkit w/python
Darren Chamberlain 12:31 on 13 Aug 2004

[Templates] Parrot (was Using Toolkit w/python)
Tim Johnson 16:14 on 19 Aug 2004

RE: [Templates] Using Toolkit w/python
Thomas, Mark - BLS CTR 13:17 on 10 Aug 2004

RE: [Templates] Using Toolkit w/python
Franco Bagnoli 16:08 on 10 Aug 2004

Re: [Templates] Using Toolkit w/python
Tim Johnson 17:39 on 10 Aug 2004

RE: [Templates] Using Toolkit w/python
Thomas, Mark - BLS CTR 17:35 on 10 Aug 2004

Generated at 08:56 on 15 Mar 2005 by mariachi v0.52