ColdFusion 9 Application cfc script reference

Yesterday a friend asked me if I knew of an application cfc reference written in all script. I told him that I didn’t know of one but that I could whip one up together pretty quickly. In case anyone else is looking for a script reference here it is.

Categories: ColdFusion

About The Author

My name is Dan Vega and I am a Software Developer based out of Cleveland OH. I love to play with new technologies and write about my experiences here. When I am not busy being a full time geek I love to lift heavy weights and hang out with friends and family. If you have any questions please don't hesitate to contact me.

Follow me on:
  • http://www.remotesynthesis.com Brian Rinaldi

    That friend says thank you :)

  • http://itreminder.blogspot.com Marko Simic

    http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-74fa.html
    This link goes as perfect fit to you reference as additional explanation of each statement from above.
    Thank you.

  • http://www.bennadel.com Ben Nadel

    Dan, really awesome reference! I forgot some of those properties even existed (ex. SMTP properties). Good stuff.

    If I can make only one tiny correction, I believe that OnMissingTemplate() actually returns a boolean. I believe if you return false / void, ColdFusion still sees it as an error.

  • http://therealdanvega.com Dan Vega

    @Ben – Nice catch, thanks for the heads up!

  • http://cfruss.blogspot.com/2009/11/applicationcfc-reference-in-cfscript.html Russ S.
  • Chris Martinez

    Awesome! Thank you!

  • Richard East

    scriptprotect expects "all", "none", or a list of ColdFusion scopes, but it doesn’t error with "yes|no"
    See:
    http://www.coldfusionjedi.com/index.cfm/2005/9/14/ScriptProtect-Gotcha

  • http://therealdanvega.com Dan Vega

    @Richard – Thanks, I updated the entry

  • http://www.PhillipSenn.com Phillip Senn

    Does this need to be updated for cf10?

  • http://therealdanvega.com Dan Vega

    Yes – There are some new things that need to be added to it but you can still use this.