[PHP] Re: Fastest templating mechanism

2005-05-08 Thread Jens Kleikamp
Evert | Rooftop Solutions wrote: > Hi all, > > I'm working on a template system which works a bit like a text > translation block. The data looks for example like: > > beginblock > endblock > beginauthor > endauthor > > > The list is going to be very large, it will have several overlays an

[PHP] Re: Fastest templating mechanism

2005-05-08 Thread Satyam
You might try using the first pass of a regular C compiler, the pre-compiler, which expands macro definitions. It shouldn't have any problems with the structure of PHP, except for the # comments which it would mistake for its own pre-compiler declarations. Otherwise, may I sugest you check in