Tag

cfml

30 articles

Stump the Programmer: The Recursive Shelf

Robert presents a ColdFusion/BoxLang coding challenge to build a recursive function that converts a flat array of hierarchical category data (using `id` and `parent_id` relationships) into a nested tree structure without using loops. The solution uses `arrayFilter()` to find children of each parent and `arrayMap()` to recursively build the `children` array for each node, with an optional bonus feature to alphabetically sort children at each nesting level using a `sortKey` parameter.


RZ
Apr 10, 2026
Read →
Building a better spider

Robert evolved a web scraping service over several years to extract link metadata (Open Graph, Twitter Cards, oEmbed, JSON-LD) for social sharing features, progressively hardening it against bot detection, timeouts, and SSL errors. The latest version uses a multi-layered extraction strategy—rotating user-agents, disabling certificate validation, adding browser headers only for non-bot UAs to maximize successful extraction.


RZ
Mar 24, 2026
Read →
Chunking an Array with ColdFusion Redux

Revisiting chunking ColdFusion arrays in 2025


RZ
Jul 18, 2025
Read →
Shopify GraphQL query example

Robert shows how to query Shopify GraphQL Admin API


RZ
Jan 23, 2025
Read →
Serving static HTML content with CommandBox multi-server

Robert explains configuring CommandBox multi-server to serve HTML files


RZ
Dec 10, 2024
Read →
Parsing and Formatting ISO 8601 Time Intervals with CF

Robert explains using ColdFusion to parse and format ISO 8601 time intervals


RZ
Jun 14, 2024
Read →
Scraping Recipes Using ColdFusion

Robert explains using ColdFusion to scrape recipes and return as API data


RZ
Jun 13, 2024
Read →
Setting up your first BoxLang Server

Robert explains quickly spinning up a BoxLang server


RZ
May 17, 2024
Read →
The Law of Unintended Consequences

Robert explains how he broke XML rendering in commandbox-ssg


RZ
May 3, 2024
Read →
Tidying up HTML with jSoup: Part Deux

Robert shows how to impliment tidy HTML using jSoup, again


RZ
May 1, 2024
Read →
Tidying up HTML with jSoup

Robert shows how to impliment tidy HTML using jSoup


RZ
Apr 24, 2024
Read →
cfdocs-ssg: Using ssg to generate larger sites

Commandbox-ssg is not just for blogs


RZ
Jan 22, 2024
Read →