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.
Simple templating system
Moderator: General Moderators
- andyhoneycutt
- Forum Contributor
- Posts: 468
- Joined: Wed Aug 27, 2008 10:02 am
- Location: Idaho Falls
Simple templating system
- Attachments
-
- parser.tgz
- parser class(es) and sample command file.
- (6.91 KiB) Downloaded 210 times
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Simple templating system
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?
(#10850)
- andyhoneycutt
- Forum Contributor
- Posts: 468
- Joined: Wed Aug 27, 2008 10:02 am
- Location: Idaho Falls
Re: Simple templating system
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.