portal entry

select a category, or use search below
(searches all categories and all time range)
Title:

Asynchronous Programming In ColdFusion (2018)

| View in Portal
July 12, 2018 08:09:04 AM GMT
8 Comments
<p>With advances in computing and transition from single-user desktop application to web-based application, multi-threading emerged as a core feature for all modern programming languages. In ColdFusion, you can implement threads using cfthread. However, to simplify the things further, we have introduced Asynchronous programming in the 2018 release of ColdFusion. Benefits Easy to use syntax with object-oriented styles. In-built chaining capability with then() and error() constructs, therefore, it’s easy to model your workflows. Result of an execution as Future, so easy […]</p>
<p>The post <a rel="nofollow" href="https://coldfusion.adobe.com/2018/07/asynchronous-programming-in-coldfusion-2018-release/">Asynchronous Programming In ColdFusion (2018)</a> appeared first on <a rel="nofollow" href="https://coldfusion.adobe.com">ColdFusion</a>.</p>
Labels: Blog, Uncategorized, cfml coldfusion asynchronous programming async

Comments:

I wish this forum had proper syntax highlighting. Better yet, I wish this was available on GitHub.
Comment by James Mohler
1164 | July 12, 2018 08:20:05 PM GMT
<a href="https://coldfusion.adobe.com/profile/jamesmohler">James Mohler</a> , so no more. https://github.com/AndrewKralovec/ColdFusion2018AsynExample
Comment by codem36518387
1416 | November 18, 2018 04:21:39 PM GMT
https://github.com/AndrewKralovec/ColdFusion2018AsynExample
Comment by codem36518387
1415 | November 18, 2018 04:22:04 PM GMT
I like it. It is an interesting take on the web page crawler.
Comment by James Mohler
1424 | November 19, 2018 03:19:00 PM GMT
Please stop with the tags Adobe! It's embarrassing to see a programming language in 2018 that supports syntax like this. Please deprecate the tags and quit wasting your money adding closures to tags, just delete and move on. There is very little mention on how concurrency and multi-threading conditions will be handled in a high availability application using your asynch functionality
Comment by robbm91839661
1620 | February 05, 2019 02:49:50 AM GMT
I have to agree that the <cfscript> syntax is much more readable. I cringe whenever I see business logic done with tags.
Comment by James Mohler
1626 | February 06, 2019 12:15:43 AM GMT
Seems to be some missing var scoping in the code example. Agree that it's very hard to read the code!
Comment by aliaspooryorik
1664 | February 12, 2019 09:12:09 AM GMT
<a href="https://coldfusion.adobe.com/profile/robbm91839661">robbm91839661</a>  - I much prefer the scripting syntax as well but I couldn't care less what they do regarding the tag syntax.  I'd also like to point out that I'm certain there are people that still use the tag based syntax exclusively and I'm sure they would feel differently.
Comment by Diderot, Esquire
1937 | March 20, 2019 10:17:55 AM GMT