Ben Forta

Tag: ColdFusion

← All posts
June 21, 2009

Executing Code On Server Startup

ColdFusion can execute code when an application starts and ends, when a session starts and ends, when a request starts and ends, and more. But what if you need to execute code when a server starts up? Granted, this is not a common use case, but when needed, we've had to use onApplicationStart for...

June 20, 2009

The New ColdFusion LOCAL Scope

ColdFusion developers have long known to ensure that local variables remain local by using the "var" keyword to define them. Here's an example: In the above snippet, two variables are created. The first variable uses the var keyword to ensure that the variable is local to the function, and if the...

June 19, 2009

Look, No Datasource

Look at this code snippet. Notice anything odd about it? SELECT * FROM art ORDER BY ArtName Yep, the tag in the above snippet is missing the DATASOURCE attribute. And yet, this code works. Why? Take a look at this Application.cfc file: In ColdFusion Centaur you can now specify an application wide...

June 18, 2009

ColdFusion Functionality Exposed As Services

Have you ever stopped to think about just how much functionality is baked into ColdFusion? We use to work with databases, allowing for highly flexible and dynamic SQL as well as query caching and more, and this is powered by a sophisticated internal engine. We use tags like and expect charts to be...

June 17, 2009

Working With Spreadsheets In ColdFusion

Spreadsheets are key to just about all businesses and organizations, and ColdFusion developers have long sought a way to access and manipulate spreadsheet data programmatically. The truth is, ColdFusion has supported spreadsheet access for a while in a variety of ways, it's been possible to access...

June 9, 2009

Next Up Is NYC

Yesterday's usergroup presentation in Washington, D.C. went very well. Lots of excitement, good (and some tough) questions, and the interactivity I've come to expect from this group. What I did not expect was the poor turnout, this has been one of the best attended groups for over a decade, and...

Page 30 of 156 (1560 posts)