![]() |
|
|
CF Template
Project Home • Blog • Forums • Wiki • Known Issues • Contact Project
Author: Peter Bell (All RIAForge projects by this author) Description:
Why use XSLT or Velocity when ColdFusion already has a much more powerful and extensible templating language built in?
CFTemplate is a templating language built on ColdFusion that allows you to use the power of ColdFusion to generate anything from documentation to ColdFusion code (or Ruby, Java, XML . . .). It allows you to use any type of data (recordset, iterating business object, XML, etc.) and any valid ColdFusion code within your templates. For generation time tags just replace < with <<, > with >> and for generation time variables just replace # with % (and as with # signs, if you need a real % sign, just escape it by putting %%). CF Template is a single cfc that just takes a template filepath, a destination filepath, a scratchpad filepath (for performing the transformation) and metadata (any data type - object, struct, array, XML, etc.) and performs the transformation. Simple, but very useful. This can be used on its own or as part of cfgen for a complete application generation solution. Issue Tracker: There are no issues for this project. To enter issues for this (or any other) project, you must be logged in. Subversion Access: You may access this project's Subversion repository with your client here: http://svn.riaforge.org/cftemplate. To view this repository with your browser, go here: http://cftemplate.riaforge.org/index.cfm?event=page.svnbrowse. You may download the latest set of files from Subversion as a zip file. Anonymous users have read access to the repository while the administrator has write access. This project is sharing its code via Subversion. Subversion is an open source source control method. You may find more information about Subversion here: http://subversion.tigris.org/ |
||||||||||||||||||||||||||||
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.