Ben Forta

Blog

January 15, 2001

Simplify Creating Tags

tags require that an image file name be specified in the SRC attribute - all other attributes are optional. But best practices dictate that other attributes be specified too, including HEIGHT and WIDTH (so that the browser can allocate the exact screen space before the image is retrieved)....

January 14, 2001

Monitoring System Performance

Lots of things have an impact on the performance of your applications, and the best way to monitor system performance (both in real-time and ongoing logging) is via ColdFusion's integrated performance monitoring support. If you are running Windows NT and 2000 then the standard Performance Monitor...

January 13, 2001

Executing Apps? Don't Wait Unnecessarily

The tag is used to spawn an application from within CFML code, optionally capturing any generated output. can be used in two ways - ColdFusion can wait until the spawned application has finished processing (synchronous), or it can spawn the application and then continue processing immediately not...

January 12, 2001

Inspect Passed Data Before Using It

Everyone knows to check that URL and FORM variables exist before using them, but too many developers refer to these variables in their code without first checking their contents. Many even use these in SQL statements or other tags without first inspecting them. This is a dangerous practice and one...

January 11, 2001

Testing for True and False

What is the difference between and ? From a functional perspective nothing at all - IsDefined() returns YES or NO (or TRUE or FALSE) and if you don't specify what it is your are comparing against then ColdFusion treats it as if you are checking for TRUE. But from a performance perspective there is...

January 10, 2001

Using Database Drivers Not Supported by CF Admin

ColdFusion provides a Web based interface (in the ColdFusion Administrator) for creating and configuring ODBC data sources, but not all ODBC drivers are supported this way. ColdFusion can use any drivers, even those not supported directly via the Web interface. To use other drivers simply create...

January 9, 2001

You Can Never Have Too Much Help

ColdFusion Studio (and HomeSite) include extensive help documents that may be browsed and searched. In addition, you can add help content yourself (either your own or downloaded from the Web). All you need to do is drop the files (HTML files and supporting images if needed) into a subdirectory...

January 8, 2001

Prevent Unnecessary DNS Lookups

Many ColdFusion tags take server names as attributes - for example, (directly or via the ColdFusion Administrator), , , , and . Every time ColdFusion processes a server name you are forcing a DNS lookup to occur - and while DNS information is cached, eliminating DNS lookups can save precious time....

January 7, 2001

Force Refresh of All Cached Database Connections

Want to force a refresh of all database connections at once? You can as of ColdFusion 4.5. In the ColdFusion Administrator select the "Verify Data Sources" screen - you'll see a button marked Release there which you can click to release all data source connections which will force a complete...

Page 477 of 489 (4885 posts)