Illudium PU-36 Gets Updated, Adds CFML Templating
Brian Rinaldi has just updated his Illudium PU-36 Code generator with some new features. One thing some users will like is that you can now do either XSLT or CFML templating.
For those of you that are wondering, the CFML templating engine is custom code written by Brian. This was in response to numerous requests that Brian had from users. There is still some escaping involved as would be expected. Such examples would be:
ACCESSORS
---%>
<cfloop from="1" to="#arrayLen(root.bean.dbtable.xmlChildren)#" index="i">
<%cffunction name="set#root.bean.dbtable.xmlChildren[i].xmlAttributes.name#" access="public" returntype="void" output="false"%>
<%cfargument name="#root.bean.dbtable.xmlChildren[i].xmlAttributes.name#" type="<cfif root.bean.dbtable.xmlChildren[i].xmlAttributes.type eq "uuid">uuid<cfelse>string</cfif>" required="true" /%>
<%cfset variables.instance.#root.bean.dbtable.xmlChildren[i].xmlAttributes.name# = arguments.#root.bean.dbtable.xmlChildren[i].xmlAttributes.name# /%>
<%/cffunction%>
<%cffunction name="get#root.bean.dbtable.xmlChildren[i].xmlAttributes.name#" access="public" returntype="<cfif root.bean.dbtable.xmlChildren[i].xmlAttributes.type eq "uuid">uuid<cfelse>string</cfif>" output="false"%>
<%cfreturn variables.instance.#root.bean.dbtable.xmlChildren[i].xmlAttributes.name# /%>
<%/cffunction%>
</cfloop>
To many people this is easeir to read because the ANSI equivalents to the less than and greater than are not in place for the CF tags that you want to put in the template.
As of this post, Brian did not have a build of the application yet but it is available on the SVN over at Google Code.



BTW, GREAT job on the Mach-II re-design. It rocks. Very impressive :->