Empty directories with cfdirectory and cfzip

Categories: Adobe, ColdFusion, ColdFusion 8, Java

Ever work with <cfdirectory> or <cfzip> and notice that they both ignore empty directories? This might make sense with some business logic, where an empty directory can (and should) be ignored. However, what if you want to ensure that empty directories are included in a zip file?

Read More

YUI and the Dom

Categories: Javascript, YUI

In this next installment of the series on using YUI, we are going to learn about YUI and the Dom. Generally speaking, scripting the DOM sucks. That might even be an understatement. Thankfully, we have innerHTML and a variety of tools provided by the YAHOO.util.Dom singleton class as well as the YAHOO.util.Element class.

Read More

Introduction to Design Patterns in ColdFusion

Categories: ColdFusion

As part of the ColdFusion User Group of Central NY CF Object Oriented Programming (OOP) series, I presented design patterns in ColdFusion. The objective of the presentation is to inform people about the basic design pattern principles that guide good OOP Programming.

Read More

Creating a TinyUrl with CF

Categories: ColdFusion

Creating a TinyURL using ColdFusion is super simple, but I thought I would share if you are wondering where to start.

Read More

Getting started with YUI

Categories: Javascript, Web2.0, YUI

The Yahoo User Interface is very extensive JavaScript library that enables a developer to easily create a next generation web application. Why am I using YUI? Well, as you know I like the Ext library, which was originally built as an extension to the YUI library. If you have worked with either Ext or YUI, you can pick up the other one pretty quickly.

Read More

Conditional Inserts in SQL Server

Categories: ColdFusion, SQL

A conditional Insert is often used when inserting a record, and you want to make sure that the record doesn’t already exist. There are several ways to accomplish this task. First, you can rely on Primary Key or Unique constraints to ensure data integrity, which are best-practice and should be implemented. You can also add some logic to your SQL statements to prevent duplicate records.

Read More

Take the CF Jeopardy challenge

Categories: AJAX, ColdFusion, Javascript

At our user group meeting today we had ColdFusion Jeopardy. I think everyone had fun, and hopefully learned some stuff in the process. So, here’s your chance to give it a try…

Read More

Upgrading SVN repository

Categories: ColdFusion

Did you recently upgrade SVN from 1.4x to 1.5x? If so, you may that you cannot merge changes because you will get an error similar to this:

Retrieval of mergeinfo unsupported

The reason for this is because Subversion 1.5 has started the implementation of a new feature called “Merge Tracking”, which means that Subversion is now tracking what changes have been merged where in your code - similar to how it tracks changes made to your files between revisions.

Read More

Subversion Presentation at local CF User Group

Categories: ColdFusion

On Tuesday I have a short presentation on getting started with Subversion (SVN) to the local ColdFusion User Group of Central New York.

The presentation focused on the following key elements:

* Learn about the client-server relationship with SVN
* Learn about setting up a SVN server
* Learn about the actions involved with using SVN
* Learn about the tools and resources

Read More

SVN cheat sheet

Categories: ColdFusion

Here is a link to a great cheat sheet (or reference card/sheet, whichever you prefer to call it):

http://www.cs.put.poznan.pl/csobaniec/Papers/svn-refcard.pdf

Read More