Skip to main content
This topic has been closed for replies.

5 replies

Charlie Arehart
Community Expert
Community Expert
October 7, 2012

The functions listed as offering equivalent functionality for CFFILE should be increased, to include at least these others which also offer functionality similar to the tag: filecopy, filemove, fileread, filereadbinary, and filewrite being those with corresponding functionality in the tag (whereas fileseek and fileskipbytes, while listed here, do not really have equivalent functionality in the tag and should probably be removed from here.)

/Charlie (troubleshooter, carehart. org)
Charlie Arehart
Community Expert
Community Expert
October 7, 2012

The list of related CFDIRECTORY functions should add directoryCopy (new in 10) and directoryExists (which is in CF9.0).

/Charlie (troubleshooter, carehart. org)
Charlie Arehart
Community Expert
Community Expert
October 7, 2012

The following statement (offered next to cfbreak above) saying "CFScript also has a continue statement that has no equivalent CFML tag" should be removed. CFML does now offer a cfcontinue tag, shown in fact just a few lines later.

/Charlie (troubleshooter, carehart. org)
Charlie Arehart
Community Expert
Community Expert
October 7, 2012

The example offered above showing looping over a query (appearing just after the first main table of tags) should be updated to use the new CF10 improvement for looping over queries in CFSCRIPT (as shown at http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea77859461172e0811cbec0a0e0-7fdf.html#WSe61e35da8d318518-6b2724301353e83f33b-8000).

/Charlie (troubleshooter, carehart. org)
Charlie Arehart
Community Expert
Community Expert
October 6, 2012

This page does not list the new cf10 tag/script equivalents: cfcookie/cookie, cfinvoke/invoke, and cfsetting/setting. Also, it seems it should no longer link to what's new in CF9.

/Charlie (troubleshooter, carehart. org)
Charlie Arehart
Community Expert
Community Expert
October 6, 2012

I just found also that in CF 10 there are CFC/function implementations of cfcollection/collection, cfindex/index, and cfsearch/search.

Also, this page really should list here as a table all those tags implemented as functions, rather than force the reader to go read that other page about them. Sure, they are different (implemented as CFCs rather than script statements, but some will come to this page seeking "what cftags have script-oriented equivalents", and these dozen others should be at least listed here:

- from 9.0: ftp, http, mail, pdf, query, storedproc

- from 9.0.1: dbinfo, feed, imap, ldap, and pop

- from 10: cookie, setting, and invoke, as well as collection, index, and search

Finally, the link here at the bottom should not go just to the page describing what was added in 9 (as there is another page on which of those was added 9.01, and should be some day one on which of them were added in 10), but it should go instead to http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSe9cbe5cf462523a0693d5dae123bcd28f6d-8000.html.

/Charlie (troubleshooter, carehart. org)
Charlie Arehart
Community Expert
Community Expert
October 6, 2012

Oops. Just a minor mistake in my last comment: I shouldn't have listed "cookie, setting, and invoke" as being new CFC/function implementations for CF10. As I said more correctly in my first comment, these are rather new script statements (which is the main focus of this page, and again they should properly be listed on this page, even if there is not agreement to list also the cfc/function equivalents.)

/Charlie (troubleshooter, carehart. org)