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.

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Thanks for posting this...the latest build is up on google code.
# Posted By Brian Rinaldi | 6/28/07 6:45 PM
Looking good :->
# Posted By Peter Bell | 6/28/07 7:47 PM
Heh, yeah! Btw, Peter, I enjoyed your pre-conference class on Tuesday. I got quite a few concepts and ideas that could be further developed within Boeing. Thanks.
# Posted By Kyle Hayes | 6/29/07 5:22 AM
@Kyle, Thanks! It was hard to pitch the level right as some people didn't know MVC and then there were people like yourself . . .

BTW, GREAT job on the Mach-II re-design. It rocks. Very impressive :->
# Posted By Peter Bell | 6/29/07 5:30 AM