Jim
Member since Dec 11, 2008
- Profile: /members/665-jim.htm
- Comments: 16
Recent Blog Comments By Jim
-
ColdFusion Bug: Arrays, ArrayLen(), And Implicit Structs
Posted on Mar 26, 2009 at 6:18 PM
Hi Ben, I think you're right, it is a bug. It looks like the array is trying to reference the array at zero. Try this code: <cfset arrData = ['']> <cfset arrData[(arrayLen(arrData)+1) - 1 ] = { Foo = "Bar" }> <cfdump var="#arrData#"><cfabort>... read more »
-
My 1,000th ColdFusion Post - What It Means To Me (And Free Prizes)
Posted on Jan 23, 2009 at 4:18 PM
I write apps in a variety of languages, and I can honestly say that Coldfusion is one of my favourites. It has the most baked in goodness, and makes it easy to roll out new code.... read more »
-
Deleting ColdFusion Scheduled Tasks With CFThread And CFSchedule
Posted on Dec 29, 2008 at 6:46 PM
Hi Ben, I'm wondering if you have had any experience using alternative scheduling software? I recently took a look at Quartz ( http://www.opensymphony.com/quartz/ ), and I may end up using in one of projects. I really like the fact that it solves all the inherent weakness of scheduled tasks, e.g.... read more »
-
Ask Ben: Checking Domain Name Availability Using ColdFusion
Posted on Nov 25, 2008 at 8:08 PM
"Isn't the data they're pulling similar to a screen scrape as far as being subject to change?" The standard output is static, and the registrars are less likely to change the output as say, a website. If you want to shortcut this, and if you're using windows, try downloading the EXE, and parse the... read more »
-
Ask Ben: Checking Domain Name Availability Using ColdFusion
Posted on Nov 25, 2008 at 7:13 PM
Hi Guys, You could always try the free tool from zone edit. link: http://www.zoneedit.com/whois.html source: http://www.zoneedit.com/doc/code/zwhois.cpp Parsing the cfexecute works quite nicely. It's it looks a like a fairly simple task to re-write into CF. If you read the source, you can ... read more »
-
Ask Ben: Hiding Customer-Specific Image Paths
Posted on Nov 13, 2008 at 5:38 PM
Ah, I see now. The author is trying to implement a security model, not a obfuscation model. Having said that, there's no reason the author can't use both tools. Plus it would save the two costly listLast function calls. for instance: Isapi re-write rule: RewriteRule ^/images/(.*) /images/?im... read more »
-
Ask Ben: Hiding Customer-Specific Image Paths
Posted on Nov 13, 2008 at 5:00 PM
Hi Guys, I know CF can do this, but why? It's like using a fork to eat soup. Sure you can do it, but it's slow. Check out Isapi rewrite / mod_rewrite, if you're using IIS / apache. You can set up rules to 'mask' URLs. If you're using isapi rewrite, the rule in this case would be something like... read more »
-
Katie Maher Rocked My World
Posted on Jun 19, 2008 at 1:08 PM
Looks like a good marketing opportunity.... read more »
-
June 1st 2008 - National Regular Expression Day! (Post A Comment, Win A Prize)
Posted on May 28, 2008 at 6:35 PM
I dig the regEx. I'd love to win the 2b regex shirt. -j... read more »
-
Converting A ColdFusion Query To CSV Using QueryToCSV()
Posted on May 19, 2008 at 1:50 PM
Hi Ben, I noticed that you store column values as a struct, as opposed to looping over the list. You stated that you do this for speed reasons. I found this not to be true. I took your example code and re-wrote it to use lists instead of structs. Running the example, there was a no difference... read more »
-
Kinky Solutions Valentine's Day Give Away
Posted on Feb 5, 2008 at 2:59 PM
Melissa, I like teh sex. 2 weeks.... read more »
-
Advice On Balancing Cohesion, Packaging, And God Objects?
Posted on Aug 22, 2007 at 7:05 PM
If you're looking to model it after something, check the cFlicker app. I thought it was a fairly organized way of extending components. http://chris.m0nk3y.net/projects/CFlickr/ Anyone else have code sample they'd like to show?... read more »
-
Sandra Clark Rocked My World
Posted on Jul 11, 2007 at 2:40 PM
If you'd like to learn some of the more advanced features of CSS, and brush up on your XHTML, check out CSS Mastery: Advanced Web Standards Solutions - http://www.friendsofed.com/book.html?isbn=1590596145... read more »