I’m still a bit of a n00b with ANT still, but I took the time today to improve my skills with it a tad to help automate a task which has become quite repetitive. Once we are ready to roll changes to our application we first have to minify our JavaScript and CSS files. We [...]
Archive for December, 2009
Automate Compressing JS and CSS with ANT
Posted: 31st December 2009 by Adam Presley in DevelopmentTags: ANT, Development, Javascript
Basic Query Loop and Group in ColdFusion
Posted: 30th December 2009 by Adam Presley in ColdFusion, DevelopmentTags: ColdFusion, Development
While going over the DreamInCode.net forums I came across this question. Good day everyone. I’m hoping someone can point me in the right direction. I’ve been using Coldfusion for awhile, although I admit, I’m not a master at it. I’m pulling my hair out on a project I’m hoping someone can shed some light on. [...]
Webservice WSDL Document Consumption in ColdFusion
Posted: 30th December 2009 by Adam Presley in ColdFusion, DevelopmentTags: ColdFusion, Development, Web Services
This question was posted on the Adobe ColdFusion forums (found here at http://forums.adobe.com/thread/546708?tstart=0). Does anyone know of a service for this compatible with CF? I need to display an amount for Korean Won and USD on a checkout form and the service at http://www.xmethods.net/sd/2001/CurrencyExchangeService.wsdl doesn’t exist anymore. I searched Google for a while but didn’t [...]
Example of jQuery Autocomplete with ColdFusion
Posted: 22nd December 2009 by Adam Presley in ColdFusion, Development, JavascriptTags: AJAX, ColdFusion, Development, Javascript, jQuery
A useful feature, and high “value add” to many sites today is a text box with autocomplete and suggestion as you type. The powerful jQuery JavaScript library makes this really easy to do, especially with the help of the excellent autocomplete plugin from bassistance.de. In this example we will setup a page to search for [...]
Dumbass Code of the Week 12-20-2009
Posted: 21st December 2009 by Adam Presley in ColdFusion, DevelopmentTags: ColdFusion, Development
Please, someone explain to me why this was necessary. The first line of code is just a sample setup. The real code has a loop over some orders, assembles this string, and adds the word “NewOrder” at the end of it. It then executes line #2 with the revers, replace, and reverse. This is the [...]
SES URLs with OpenBD and Google App Engine
Posted: 17th December 2009 by Adam Presley in ColdFusion, DevelopmentTags: ColdFusion, Development, OpenBD
A little tidbit that I though I’d share. While playing with the Google App Engine (GAE) version of the OpenBD CFML engine I noticed that SES friendly URL’s weren’t working for me. After a small search I came across a bug entry on the OpenBD site that suggested that the SES filter is not setup [...]
Setting Cookies then Relocating in ColdFusion
Posted: 15th December 2009 by Adam Presley in ColdFusion, DevelopmentTags: ColdFusion, Development
This question came across the ColdFusion User Group just recently. The developer has some type of login form, followed by a query that validates the user’s information. It then attempts to set a cookie then redirect to another page. The subsequent page checks for the existence of the cookie, and if it is not set [...]
From Gregorian to Julian Dates in JavaScript
Posted: 10th December 2009 by Adam Presley in Development, JavascriptTags: Development, Javascript
I am working on a contract right now where I am having to do some manipulation of dates in a calendar. This particular calendar stores dates in Julian Day Number (JDN) format. This by itself is not a serious issue as PHP has simple functions to handle these conversions. However I have a situation where [...]

