Ben Nadel looks at how to use a ColdFusion Closure to perform a depth-first tree traversal in a way that allows the tree traversal logic to be reused in a variety of contexts in Lucee CFML 22.214.171.124. Closures are so freaking powerful!…
Ben Nadel has evolved his understanding of Repositories and Data Access Layers (DAL) over time. While he originally believed these concepts revolved solely around CRUD-type method, he now takes a more simplified and flexible view of these abstractions….
Ben Nadel incorrectly assumes that the isArray() decision function ensures CFML Array member methods in Lucee CFML 126.96.36.199. The problem is one of trust: he had too much trust for data that he did not create….
By Danny Markov
We’re kicking off 2020 with a list of some of our favorite web dev libraries, frameworks and tools that you should use in your next project.
Continue reading on Tutorialzine.
Ben Nadel takes Brad Wood’s original Memory Leak Detector ColdBox module and translates it into a ColdFusion component that can be used in his own application, which uses manually-configured Inversion-of-Control (IoC) and Lucee CFML 188.8.131.52….
Ben Nadel looks at the affects of queue mechanics on depth-first and breadth-first Tree traversal in Lucee CFML 184.108.40.206. This exploration uses a while-loop to walk an arbitrarily deep Tree without recursion or a deep call stack….
Ben Nadel loves recursion. But, in some circumstances, his brain isn’t powerful enough to hold the recursive model in his head. In such cases, he switches from a recursive algorithm to a flat, loop-based algorithm, as demonstrated in Lucee CFML 220.127.116.11….
Ben Nadel demonstrates that null values are included in Struct iteration methods like .each(), .map(), and .filter() in Lucee CFML 18.104.22.168….
By Dr. Axel Rauschmayer
- Update 2020-01-02: Restructured the content to make the introduction easier to understand.
In this blog post, we examine how the RegExp flags
/y work and how they depend on the RegExp property
.lastIndex. We’ll also discover an interesting use case for
.lastIndex that you may not have considered yet.
Ben Nadel uses thoughts from Domain-Driven Design (DDD) and the Ubiquitous Language to help articulate the reasons that he has always felt that the PUT and PATCH HTTP methods can indicate an anemic domain model and a leaky abstraction….