Skip to main content

Gert Franz

Member since Jul 12, 2019

Recent Blog Comments By Gert Franz

  • Rediscovering My Love Of ColdFusion And CFML In 2020

    Posted on May 1, 2020 at 12:48 PM

    @Ben, It is a purely script file. We have .cfc where you can either start with cfcomponent or simply write cfscript. And .cfm where you can write tags and move to script with cfscript. .cfs files will be files purely for cfscript. In there, if you wanted to use tags for whatever reason, y... read more »

  • Rediscovering My Love Of ColdFusion And CFML In 2020

    Posted on May 1, 2020 at 3:45 AM

    Hi Ben, thanks for the post, great stuff. You summarize the reasons why we have created and improved Lucee in the first place. The joy of programming. I can tell you the exact reason why we introduced the tag notation in Lucee. The reason is mostly because there are many people out there ... read more »

  • Using ColdFusion Tags In CFScript In Lucee CFML

    Posted on Feb 11, 2020 at 4:51 PM

    It has to do with the comparison in the for construct. When you use a cfloop with fixed values, the comparison is easy when converting to java. So some tags might be faster some equally fast but never slower... Gert... read more »

  • Using ColdFusion Tags In CFScript In Lucee CFML

    Posted on Feb 11, 2020 at 11:53 AM

    It works also with custom tags as well as with built in cfc based custom tags. But this has only been introduced lately say 3 months ago. Originally we defined the feature because we wanted it to be very seamless, when switching from tag to script. That's why we introduced the tag islands a... read more »

  • 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 »

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