Ben Forta

Blog

June 10, 2001

Controlling Graph Colors

Graphs created using are created using a default or supplied color scheme, and colors are assigned in the order that data is used. For more explicit color control, use to provide the graph data, specifying the color to use in the COLOR attribute. (Applies to: ColdFusion 5)

June 9, 2001

Managing Output Flushing Explicitly

is used to flush the generated output buffer so as to send data to the client for processing before page processing has completed. is used in two ways, manually (when needed) or automatically (at intervals specified as a number of bytes). As a rule, never use the INTERVAL method with Web pages, you...

June 8, 2001

Find a Needle in a Log File Haystack

Browsing log files to find specific errors (so as to understand what caused them) can be a daunting task. It is often difficult (if not impossible) to know exactly what a user was doing when an error was generated. The new tag solves this problem by allowing you to embed your own entries in log...

June 7, 2001

Dumping Debugging

When debugging it is often necessary to inspect the contents of variables. Simple variables can be displayed easily, but more complex data requires looping and using special functions. Or rather, it did. The new tag can dump (display) the contents of all variables, even complex variables (queries,...

June 6, 2001

Functions are Faster Than Tags

ColdFusion Custom Tags are powerful, but they are not as fast as functions. As CFML now supports user defined functions, consider rewriting some of your Custom Tags as functions. Functions are not a complete replacement for tags (there are things that functions cannot do), but where appropriate,...

June 5, 2001

Access to Raw Submitted Content

Need access to the raw content as submitted by the Web client? Prior to ColdFusion 5 this was not possible. But using the new GetHTTPRequestData() function you can access a structure containing all that content, as well as HTTP headers, and the submission method and protocol used. (Applies to:...

June 4, 2001

Java Variable Type Casting

If you are passing data from ColdFusion to a Java object (invoked using the tag or the CreateObject() function) then the new JavaCast() function will be of use to you. This function takes a variable and a type (boolean, int, long, double, or string) allowing you to explicitly cast values as needed....

June 3, 2001

Upgrade to ColdFusion 5

ColdFusion 5 is the seventh major edition of ColdFusion, and it's the fastest version yet. Upgrade immediately - the performance gains alone are worth it. (Applies to: ColdFusion 5)

June 2, 2001

Variable Naming

When creating ColdFusion variables remember these rules: use alphanumeric characters anywhere in a variable name except for the first character which must be a letter (not a digit), and don't use any special characters other than the underscore. (Applies to: ColdFusion All)

June 1, 2001

More Efficient File Writes

If you find yourself having to write large amounts of data to a text file using or then you should consider reducing the number of calls you make. File writes are slow operations (and should be locked to prevent concurrent writes to the same file, which could make them even slower). To improve...

Page 463 of 489 (4890 posts)