Blog

ColdFusion Builder Extension Test Creator

September 15, 2009 · No Comments

When I build or debug ColdFusion Builder Extensions I typically do the following:

  • Alter the extension code to write IDE post contents to file
  • Call extension in IDE
  • Alter the extension code to read IDE post contents from file
  • Debug through the browser

I found my self frustrated with this workflow. Instead, what if I created an extension that could capture the IDE content and write it to the disk for me?

That's what I did.

I still have to adjust my extensions to read in the file, but I can make that conditional:

<cfif fileExists(ExpandPath("./sample.xml"))>
   <cffile action="read" file="#ExpandPath("./sample.xml")#" variable="form.ideeventInfo" />
</cfif>

So now much less work for me, and if you're interested, much less work for you. The extension is now up on RIAForge.com: ColdFusion Builder Extension Test Creator.

Tags: ColdFusion · ColdFusion Builder

0 response s so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment