Introducing CF Template
One cfc
Unlimited possibilities . . !
CF Template is a simple open source generator that makes it extremely easy for ColdFusion developers to leverage the power of the ColdFusion language to generate scripts in any language. Use it to create your ColdFusion scripts, XML files, PHP, Ant build files or your end user documentation! With CF Template you only need to remember two things: put “##” around generation time variables and put < < > > around generation time commands. Use those two rules and you get the entire power of the ColdFusion language for generating your templates. No new language or syntax to struggle with, and you have all of the familiar ColdFusion functions, the ability to use UDF’s and you can even make method calls – all in any combination of classic or cfscript formats!
Feel free to download the file (coming soon! ). I’ll be posting proper documentation, conceptual samples and some useful tools over the next few weeks. I’ll also provide additional tools we use. Soon I’ll post a generic iterator for easily generating collections of files. Shortly thereafter I’ll post “include” capabilities for generating complex classes where it is easier to generate the methods using separate templates and metadata and then to use directory structure conventions to include them at generation time into the class file
Everything is up and working in-house (we use them in our in-house application generator), but the scripts need a little refactoring before they’re ready to be shown in public. Right now most of the code smells like two week old fish!



- http://www.remotesynthesis.com/cfopensourcelist/
Will do! A little backed up writing all the stuff on the framework which is more urgent as I have CF template working, but I'll try to clean up my code and put together something on the way down to CF United tomorrow.
Will definitely notify Brian as soon as it goes live for his open source round up!
The bad use is that I have no use for CF Template until I get my metadata a little more locked by firming up my base class APIs, so I haven't worked on it. (It is the templates and the metadata that are the hard part, not the generation itself).
The good news is that (a) my API is nearly done, (b) I can clean up cf template in under a day and (c) I've provide a link to CF Template in my October FA Quarterly article, so it HAS to be done soon.
I REALLY WILL provide a set of "lots of little tools" for generation before I fly back to NYC on Thursday. I have the core CF Template cfc and a bunch of simple wrappers that allow it to do more so I'll get you something on Wednesday if not before.
Sorry for the tardiness!