Adobe Solution Partner

October 20, 2008

Subversion hook to verify unit testing?

Filed under: ColdFusion — Tags: , , — Steve Nelson @ 7:07 pm
Ever since last year, we’ve setup subversion to require comments are added before a file can be committed to our SVN repositories. Even just small comments on file commits is helpful. But what I REALLY want is a subversion hook that requires a file is unit tested before it can be submitted to the repository. Think [...]

January 23, 2008

Evils of Global Variables when Unit Testing

Filed under: ColdFusion, Fusebox — Tags: , , , — Steve Nelson @ 6:53 am
Let’s jump right to some code. ::CODECOLORER_BLOCK_1:: versus: ::CODECOLORER_BLOCK_2:: They look pretty similar right? Near identical. Neither is really easier or harder to read. Performance wise, I suspect you couldn’t see much of a difference. If you’re thinking to yourself, “Aww geez Steve Nelson is about to go on a week long rampage about something.” You would be [...]

January 22, 2008

A New Reason to Not use Global Variables

Filed under: ColdFusion — Tags: , , — Steve Nelson @ 5:48 am
It’s been 10 years since I first heard someone say that global variables are bad news. To be truthful I didn’t really understand the reason back then. The most common reason not to use global variables is the namespace argument. Basically the problem is that you can accidentally overwrite another variable. Yeah ok, I guess that’s [...]

Server Down?

Maximize Web application uptime by drawing upon Webapper's years of experience tuning and stabilizing many of the world's largest ColdFusion Web applications. Contact us today!