Page 1 of 1

Simple templating system

Posted: Thu Sep 04, 2008 2:07 pm
by andyhoneycutt
Hello all, I've recently found some code I was working on earlier this year. It's a very simple HTML generation script and I was hoping to get a bit of feedback on it. The idea is that you build a document containing all the items you want generated, much like a config file, and load it into this parser and it outputs the proper CSS/HTML. Please take a look and let me know what you think.

I will add the files as attachments now, but would gladly post them in php blocks here if that's preferred.

Thanks much,
Andy.

ETA: I mucked the command file. Resubmitted.

Re: Simple templating system

Posted: Thu Sep 04, 2008 3:09 pm
by Christopher
Well that is the strangest "templating system" I have seen in while. It is in some very ways interesting though. Worth a look. Do you still use this code?

Re: Simple templating system

Posted: Thu Sep 04, 2008 7:31 pm
by andyhoneycutt
I've never used this code in a production format. I wrote it in-between projects at work to fool around with text parsing and object containers. It was fun to write, but I have no use for it. I can imagine there are applications for code like this, with proper modifications.