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

AIR Presentation

Categories: AIR, Adobe

Adobe AIR Presentation thumbnail
I gave a brief presentation on Adobe AIR to my colleagues today for our introducing new technology segment of the Hamilton College ITS department meeting, and thought I would share it.  The presentation was geared towards introducing AIR to technologists who are not web developers, but have a basic understanding of web technologies.  I think the presentation was well accepted, and hopefully inspired some people as to the possibilities that AIR introduces.
 
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

Enumerating with Ext.js

Categories: Javascript

One of the features of the prototype library that I like to use is the Enumerable class.  Although highly debatable in regards to the legitimate necessity for such class, I like the simplicity and beauty of using Prototype’s enumerable class.

So, when using Ext as a base library (not using the Prototype adapter) for JavaScript DOM manipulation I looked into the enumeration methods available, such as Ext.each().  Here is a quick overview of how I used Ext.each to traverse members of a collection of HTML nodes.  I decided to split this up into main topics; first I will talk about why I like to use the enumerable class, and then show you a simple example of using the Ext.each() method.

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

Thawte - I think not!

Categories: Uncategorized

Thinking of developing an Adobe AIR application?  Cool, just don’t think about applying for a code signing certificate through Thawte - the provider of the worse customer service I have experienced this year.

Read More