Archive for September, 2009

I forgot how friggen funny these guys are. If you’ve ever played an MMO (Massivly Multiplayer Online) game for PC, this music video will have you raving in your computer office!

Don’t know if anyone else has had to do this, and it seems so simple, but it took me a couple of minutes to find this. I have a ColdFusion page with a lot of jQuery magic happening with a popup dialog that allows the user to edit address information. This dialog has a list [...]

Optimize Performance in Eclipse

Posted: 23rd September 2009 by Adam Presley in Development
Tags: ,

Here’s a link to David Salter’s site that talks about some settings you can modify in your eclipse.ini file in Windows to help make Eclipse a bit more palatable for everyday use. Visit his site at http://davidsalter.co.uk/blog/?p=332.

ColdFusion 8 introduced the ability to serialize data structures, arrays, and queries to JSON notation, making building AJAX-enabled applications even easier. There are a couple of annoyances, however, that still persist, and simply drive me nuts. Take the following query as an example. 1 2 3 4 5 6 7 8 9 10 <cfquery name="qryStates" [...]

SES URLs with ColdFusion 8 and Tomcat

Posted: 21st September 2009 by Adam Presley in ColdFusion, Development
Tags: ,

A little tidbit that I had to work on today. To make sure that I am properly testing my applications in both Railo AND ColdFusion, I bundled up ColdFusion 8 as a WAR file and deployed it to Tomcat. That went easily enough. When I browsed to my Coldbox application, however, I was greeted with [...]

Writing C# Functions for SQL Server and CLR Integration

Posted: 15th September 2009 by Adam Presley in C#, Development, SQL
Tags: , ,

An interested problem was presented to me today where a database table in SQL Server 2005 (now moved to 2008) had a trigger attached to a table that would encrypt a credit card number on insert or update. The encryption routine used the sp_OACreate stored procedure to make use of an older Microsoft cryptography library [...]

Basic Example of jQuery Tooltip

Posted: 10th September 2009 by Adam Presley in ColdFusion, Development, Javascript
Tags: , ,

Oftentimes we developers overlook the simplest solutions to a given problem. And I must confess that I am the worst, often looking for the most complex, reusable, scalable solution to something as simple as “How do I display a list of promotions in a tabular format while showing them details of the promo?” As I [...]

Count Lines of Code in a Directory using Groovy

Posted: 9th September 2009 by Adam Presley in Development, Groovy
Tags: ,

So here’s a tasty morsel. I wrote a quick little script to count the number of lines of code in a ColdFusion project. Why? To make stuff look impressive, or course! So here we make use of Groovy’s very powerful extensions to the Java File object, and its ability to easily iterate. Take a look. [...]