Raymond Camden's Blog Rss

New docs for script functions based on CFCs

13

Posted in ColdFusion | Posted on 12-13-2009 | 2,161 views

Part of the improvements in ColdFusion 9 involve the ability to use various CF tags in script. Sometimes this is done by the use of a new keyword. So for example, writeDump and writeLog. Other tags were implemented as CFCs, such as Query and Mail. It can be a bit difficult to find explanations for how to use these new guys. I noticed yesterday that on Livedocs, there is a new section just for these new components: Script Functions Implemented as CFCs. This is the first time I can remember seeing Livedocs have pages not contained within the PDF download.

Comments

[Add Comment] [Subscribe to Comments]

Cool find and lots of useful information.

That chapter is also not included in the installed version of cfdocs (localhost/cfdocs/...) which is what I primarily use.
It's in the PDF, page 1382 in the CFML Reference. I do believe this section has been in there since the release of CF9. I'll have to check the original docs I downloaded when early October, when I get to work tomorrow.
Are you sure? I don't see it.
I'm pretty sure..

http://grab.by/1aCv
What the heck - my C6 is the Flash Form ref.
Well crap. I just downloaded it again and I see it is there. Maybe I had docs from the pre-release, but I swear I remember getting the 'released' docs when CF9 came out.
I think I've got an answer. After talking with Charlie Arehart, he figured it out that I must have had a GMC copy of the docs. GMC (General something Candidate) is a 'pre-final/pretty much final' copy and I must not have ever updated. My fault!
I always thought GMC, in software terms, means Gold Master Candidate.

Definitely one I'd like to throw around from time to time! ;)
Ah yeah, thats it exactly Sam.
They should have included the cfscript ver. of cftranscation and cflock...

http://www.bennadel.com/index.cfm?dax=blog:1663.vi...
No, they shouldn't have. This section specifically states that it is for the tags implemented as CFCs. transaction/lock are not.
Maybe not in the same section, but I can't find the syntax for using cflock and cftranscation in scrpit style anywhere in the CFML Reference nor Developing Adobe ColdFusion 9 Applications guide.

So I googled and found Ben's blog post.
They are mentioned in C4/Extending CF Pages with... but not really detailed. An example there would be helpful.

[Add Comment] [Subscribe to Comments]