Ben Forta

Blog

October 3, 2001

Point to the VTOM App

Within the Main() function in a Studio (or HomeSite) VTOM script the local application object is always made available. This is what must be used to access all other objects. It is advisable for every Main() function to define a reference to the Application object for future use (as opposed to...

October 2, 2001

Don't Forget Main()

When Studio (or HomeSite) executes a VTOM script it looks for a function named Main() as the script entry point. Main() need not be the first (or only) function in the script file, but it must always be present or an error message will be displayed. (Applies to: ColdFusion Studio All)

October 1, 2001

Naming VTOM Scripts

ColdFusion Studio (and HomeSite) VTOM scripts may be written in JScript or VBScript. JScript files should always be named with a .js extension, VBScript files should be named with an extension of either .vbs or .bas. (Applies to: ColdFusion Studio All)

September 30, 2001

RegEx Matching of Nonprintable Characters

The CFML REFind() and REReplace() functions (and related case-insensitive functions) provide access to Regular Expression processing within your CFML code. When writing Regular Expressions you may use the following escape sequences to refer to non-printable characters - n for new-line (ASCII 10), f...

September 29, 2001

cfstat Help

Using cfstat on your Unix box to monitor ColdFusion performance and statistics? Execute cfstat -help to display definitions of the counters and other help. (Applies to: ColdFusion Unix versions)

September 28, 2001

And CF5

The upgrade from CF4 to CF5 is close to painless. The only issue you might run into is if you use the Java controls (for example, and ). The new versions of these controls require a recent Java environment on the client machine - so clients running older browsers might be prompted to perform a one...

September 27, 2001

Faster Code Reuse

Using lots of Custom Tags to facilitate code reuse? That's great, except for the fact that Custom Tags have overhead that you may not need. Look through all your Custom Tags - if any of them format data, extract or manipulate values from other data, or anything like that, consider rewriting them as...

September 26, 2001

Specifying Explicit Graph Colors

graphs may be presented in colors that you specify using both named color or RGB notation. If you use RGB notation make sure to escape the preceding pound sign (so use ##FF0000, not #FF0000). (Applies to: ColdFusion 5)

September 25, 2001

Creating Area Graphs

Want to create an area graph using ? You can, even though there is no TYPE "area". Instead, create a graph of TYPE="line" and set FILL="yes" - will fill the area beneath the line creating an area graph. (Applies to: ColdFusion 5)

September 24, 2001

Numeric Graph Values

The values passed to (or ) for graphing must be numbers and may not include dollar signs, commas, periods, slashes, or any other non-numeric characters. If you have any of these in your data you must remove them before it is passed to . (Applies to: ColdFusion 5)

Page 451 of 489 (4885 posts)