Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSe9cbe5cf462523a02805926a1237efcbfd5-7ffe.htm...
Copy link to clipboard
Copied
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 (listed as the last link above) to learn about them. Also, there is yet another page about what's new in 9.0.1 as well (http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSd160b5fdf5100e8f-4439fdac128193edfd6-7f7b.html).
Sure, those listed on the other pages mentioned are different than the above, in that they are implementations of tags as CFCs, rather than as script statements, but some will come to this page seeking "what cftags have script-oriented equivalents", and the 10 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
Finally, the link here at the bottom should not go just to the page describing what was added in 9 (as again there is another page on which of those was added 9.01), but it should go instead to http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSe9cbe5cf462523a0693d5dae123bcd28f6d-8000.html.
Copy link to clipboard
Copied
The 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 in CF 9, shown in fact just a few lines later.
Also, the list of related CFDIRECTORY functions should add directoryExists (which is in CF9.0).
Finally, the functions listed for equivalent functionality for CFFILE should be increased, to include at least these which offer functionality similar to the tag: filecopy, filemove, fileread, filereadbinary, filereadline, 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.)