Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at CFUNITED 2009 (Lansdowne, VA) with: Mike Brunt
Ben Nadel at CFUNITED 2009 (Lansdowne, VA) with: Mike Brunt@cfwhisperer )

Gert Franz

Member since Jul 12, 2019

Recent Blog Comments By Gert Franz

  • Deeply Nested CFThread Tags Are Permitted In Lucee 5.3.2.77

    Posted on Jul 17, 2019 at 7:13 AM

    @Charles, the default is 10. But you can put in there any number. If you have 8 elements in the array and you pass 4 as the third argument, there will be 4 threads running in parallel until all 8 are handled off. So for example say you cfhttp a website and one of them takes 30s to answer... read more »

  • Deeply Nested CFThread Tags Are Permitted In Lucee 5.3.2.77

    Posted on Jul 17, 2019 at 4:02 AM

    One thing you might also like is the implementation of the each() functions for structs, arrays and queries. When you call the each function, you pass on a closure to handle with the individual element. If you now want to work on those elements in parallel, you just add two arguments to the ... read more »

  • Returning CFQuery / Query Results As Arrays In Lucee 5.3.2.77

    Posted on Jul 12, 2019 at 9:57 AM

    Hey Ben, nice post. I actually love the returntype="struct" way more. Since I use it to lookup values by ID. If you want to have Lucee group your results, you should create a columnkey just for that. I know that overwriting the key is perhaps a problem, but then again, it might b... read more »