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

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

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

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

Switching jobs and more [OT]

Categories: ColdFusion

This announcement is pretty late, as I started the new job the second week in June, but none the less: I recently left my position as the Web Integration Specialist on the Hamilton College Web Services team to join the Webucator team as the Development Manager. I also have been asked to serve as the co-manager for the ColdFusion User Group of Central New York!

Read More

Jpeg resolution via EXIF Metadata

Categories: ColdFusion, ColdFusion 8, Java

I recently worked on a project that required obtaining the resolution of photograph.  The approach I used was to limit the photographs to Jpeg format images only, which I could then use the new imageGetEXIFMetada() function in ColdFusion 8 to obtain the X-Resolution and Y-Resolution tags.  Here is a quick summary of some of my findings and problems.

Read More

Safely upload photos in CF

Categories: Adobe, ColdFusion

Borrowing some code & ideas from Pete Freitag’s CFIMAGE presentation; this is a rather simple, safe, and easy way to upload photos using a User-Defined Function in ColdFusion.  Uploading files is very straight forward in ColdFusion, but I like this function because it takes care of all the little details, so I can concentrate on working with the file afterwards, and moving to the next iteration when programming.

Read More

ColdFusion 8.0.1 updater on linux

Categories: Adobe, ColdFusion, ColdFusion 8

I ran into two small hurdles when installing the ColdFusion 8.0.1 updater on my CentOs Linux server.  Here is a quick overview of what I did to get the installer to work.

Read More

Set cfwindow title from cfgrid

Categories: ColdFusion, ColdFusion 8, Ext, Javascript

If you are using ColdFusion 8’s <cfgrid> tag for a CRUD interface you might be utilizing the editable grid feature or you might be utilizing the <cfwindow> tag.  Because of some of the limitations of inline editing, such as the lack of a rich text editor, I am using <cfwindow> for a project and here is how I am setting the title programmatically from the <cfgrid> binding.

Read More