Pete Freitag Pete Freitag

BlueDragon adds new Tags and Functions

Updated on December 06, 2023
By Pete Freitag
coldfusion

New Atlanta's CFML engine BlueDragon was just given an upgrade to version 6.2 last week. BlueDragon has added tags that are not supported by Macromedia ColdFusion since version 3 of their product.

Here's a list of tags BlueDragon has added:

  • CFCACHECONTENT - Partial page caching in a file or a database.
  • CFFORWARD - Does a server side redirection (no client side location headers like cflocation)
  • CFIMAP - check email in an IMAP account
  • CFIMAGE - resize an image
  • CFZIP - create and read zip files
  • CFXMLRPC - invoke a method using XML RPC
  • CFTHROTTLE - used to throttle requests, if your db or something can't handle the load.
  • CFASSERT - a debugging tag that you can use to test an assertion (a boolean expression). If the assertion fails an exception is thrown.
  • CFCONTINUE - jumps to the next iteration in a loop
  • CFDEBUGGER - writes a line to a log file for each line CFML code that's has been executed
  • CFBASE - creates an absolute URL that serves as the base for resolving relative URLs within a CFML page
  • CFPAUSE - causes the page to sleep.

Here's a list of BlueDragon specific functions:

  • Render - takes a string of CFML code and executes it.
  • ListRemoveDuplicates - removes dups from a list
  • QueryDeleteRow - removes a row from a query
  • QuerySort - sorts a query
  • GetHttpContext - BlueDragon.NET only - gives you the System.Web.HttpContext object.
  • Assert - same as CFASSERT tag

Some people take issue that BlueDragon is creating tags that begin with CF. I don't have a big problem with it however. If your going to use a BlueDragon specific tag, in most cases your going to know that your doing so, you would also understand that your locking your self in, or going to have to recode it if you switch to Macromedia ColdFusion. It all depends on the application requirements. It would be nice if there were standards in CFML...



bluedragon cfml

BlueDragon adds new Tags and Functions was first published on March 28, 2005.

If you like reading about bluedragon, or cfml then you might also like:

Fixinator

The Fixinator Code Security Scanner for ColdFusion & CFML is an easy to use security tool that every CF developer can use. It can also easily integrate into CI for automatic scanning on every commit.


Try Fixinator

CFBreak
The weekly newsletter for the CFML Community


Comments

Thanks for the kind words ann.

-pete
by Pete Freitag on 03/31/2005 at 6:23:57 PM UTC
I somehow missed this list when you posted it, Pete. Just got pointed to it. Thanks.

To Bill, whose comments argued that CFML is MM's "proprietary language", I'd suggest you check with them. They quite often point out that CFML is "no longer proprietary". Believe me, we wouldn't have built BlueDragon if doing so would have violated any copyright, trademark, or patents of theirs. I realize many are surprised to hear that, but it's the simple truth. (Hey, Linux was built from Unix, today's PCs owe their heritage to IBM architecture. I could go on.) History is replete with examples of companies doing what Microsoft has called "embrace and extend".
by charlie arehart on 05/30/2005 at 4:40:05 PM UTC