Async callbacks and closures is an incredible thing about JavaScript. This is what makes environments like nodejs possible, a topic of many blogs to come. Many of the JavaScript frameworks like my favorite framework Dojo have the ability to deal with closures and callbacks. One of the issues that one needs to deal with is getting a handle to the current scope within a closure. We discussed this and how to deal with it in Dojo in a previous blog. http://dominointerface.blogspot.com/2014/03/when-is-this-is-this-and-what-is-this.html The nice thing about Dojo is how extensive the library is. This is also a negative thing since there is so many features that you might not beware of. As I am converting our iPhora library from Dojo 1.53 to Dojo 1.10.0, I realized there is also another method that you can use to get a handle to the current scope within a closure and that is dojo.hitch which has been around for a long time. In our prev...
My personal stuff and my interest in Business Processes Automation and Management, Data Security, No-code/Low-code and User Experience.