Skip to main content

Tristan Lee

Member since Jan 8, 2010

Recent Blog Comments By Tristan Lee

  • ColdFusion 10 Beta - Closures And Function Expressions And Threads

    Posted on Oct 24, 2014 at 3:12 PM

    I want to say I experienced this in CF9 as well, but I'm not able to verify that. Silly ACF once again.... read more »

  • ColdFusion 10 Beta - Closures And Function Expressions And Threads

    Posted on Oct 24, 2014 at 12:57 PM

    Ryan, One quirk I found with .equals() (at least in scripting) is that it must be called on a variable and not chained to a method. Otherwise, you will get an "Invalid CFML construct". See this gist for an example: https://gist.github.com/tristanlee85/7e14f12499170d34246c... read more »

  • Running Asynchronous CFThread Tags In Series Using ColdFusion

    Posted on Aug 13, 2012 at 1:24 AM

    @Meenakshi, If you omit the 'name' attribute, it waits until all threads are finished. The attribute is only required if you want to join specific threads.... read more »

  • Running Asynchronous CFThread Tags In Series Using ColdFusion

    Posted on Mar 10, 2011 at 12:08 PM

    @Ben, Great article! I use CFTHREAD pretty regularly on processes that I know I can work with concurrently and most of the time will not cause any race conditions. However, I came across an issue today when I do up to 10 asynchronous CFFTP transactions for uploading files. I do checks to make sure ... read more »

  • Learning ColdFusion 9: EntityNew() vs. The NEW Operator / CreateObject()

    Posted on Oct 18, 2010 at 3:35 PM

    Ahh, another favorite of CF9 is the implicit arguments. If I recall, passing an implicit struct or array as an argument would throw an exception in CF8 (at least I had issues with it) so I had to change some code back, but it seems to work perfectly fine in CF9.... read more »

  • SQL LIKE Clause Case Sensitive in ColdFusion MX Query-of-Query

    Posted on Apr 20, 2010 at 10:45 AM

    @Ben, Well, you wouldn't be the only one that can't get it to work unless Adobe lied in their documentation and said it's possible to do them when really it isn't. In my previous post, I pasted a quote from Adobe's docs, but I have never been able to find an example of doing it (I assumed it was ju... read more »

  • SQL LIKE Clause Case Sensitive in ColdFusion MX Query-of-Query

    Posted on Apr 15, 2010 at 11:49 PM

    @Ben, Actually, according to Adobe's API, sub-selects in an IN conditional are supported... or so it says (you know how that goes): "This conditional lets you specify a comma-delimited list of conditions to match. It is similar in function to the OR conditional. In addition to being more legible w... read more »

  • SQL LIKE Clause Case Sensitive in ColdFusion MX Query-of-Query

    Posted on Apr 13, 2010 at 5:36 PM

    I've come across a similar issue, though not with like. From what I am experiencing, CF doesn't handle distincts unless the case is the same (as with your issue using LIKE). For example, I am doing the following QoQ: <cfquery name="qryUseUnits" dbtype="query"> SELECT OptionDesc,OptionValue F... read more »

  • Learning ColdFusion 9: EntityNew() vs. The NEW Operator / CreateObject()

    Posted on Feb 25, 2010 at 11:08 AM

    Ben, I guess I answered my own question. I got around to playing on our CF9 server and tried to create a File object: <cfset file = new java.io.File("myFile.txt")> With the result of: Could not find the ColdFusion component or interface java.io.File. However, this works with a CFC. Darn.... read more »

  • Learning ColdFusion 9: EntityNew() vs. The NEW Operator / CreateObject()

    Posted on Feb 24, 2010 at 11:30 AM

    Ben, Thanks for the post. While I'm not certalnly in EntityNew(), do you know if the "new" directive supports Java classes as well? For example: <cfset myFile = new java.io.File("myFile.txt")> I haven't had the chance to play with our new CF9 server extensively yet so maybe the functionalit... read more »

  • Mom! Ben Broke My CFInterface!

    Posted on Jan 8, 2010 at 4:26 AM

    @Ben and all: I really enjoyed this discussion as it has opened my eyes in the idea of interfaces. I am much more of a CF developer than a Java developer, but I feel I do like the concept of interfaces for structure reasons. For example, a project I am working on now requires me to create feeds fo... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel