0

Ben Nadel's POIUtility is the Coolest Open Source CF Addition This Year

ColdFusion

In the past to create Excel documents I have used the old create as html and use a cfheader tag to fool the browser into thinking an Excel document was coming down the pipe.  It works quite well.  Just the other week though a requirement came through to have a spreadsheet with 20 odd worksheets.  Woah I thought.

Then I looked at Ben Nadel's POIUtility.  Using POIUtility, it actually took me less time to create my 20 odd worksheet Excel file than it used to create one html based Excel file.  Plus it looks like a real Excel file.

Then yesterday I needed to read an Excel document.  In the past this has been some complicated hack-fest of datasources, weird SQL-like syntax, worrying if the user is going to mistakenly add a space to the top row and all sorts of complications.  Using POIUtility I simply asked it to read an Excel file and there in an array of worksheets with a query of the data.  Yes, a query, meaning all I have to do is loop over it and deal with it just like I have done a million times.  I would give examples, but, honestly, the examples Ben gives are great so check them out.

So, a huge thank you to Ben Nadel.

tags:
ColdFusion
Ben Nadel said:
 
Thanks for the kind words! I am always glad when some of the stuff I do is useful. Here is my most up-to-date post of the code:

http://www.bennadel.com/index.cfm?dax=blog:624.vie...

It just fixes some known bugs that other people have pointed out.
 
posted 546 days ago
Add Comment Reply to: this comment OR this thread
 

Search

About Me
I am a 32-year old Web Developer specializing in ColdFusion. I live and work in downtown Washington, DC with my wife and daughter. I work for Interfolio where we help people collect, deliver and showcase their life's work. Read more About Me

2007 CFeMmy Best Newcommer winner
As voted on by fellow CF Bloggers.