Creating a Calendar with BoxLang / / No Comments Chalk this up to – "Here’s a simple idea for a quick and dirty blog post" that turned into a few hours of my holiday weekend. Not only that, this is probably the first of three or so blog posts so… buck up, buttercup, this is going to be a fun ride. A while ago I had written down (well, typed in, I use Microsoft To Do to record writing ideas) the idea of demonstrating calendar creation with BoxLang, specifically creating a dynamic calendar, with or without events, either entirely server-side, or using a combination of client-side code with BoxLang providing the API. For today’s post, I’m going to focus on (what I had assumed would be) the simplest version... more → Posted in: JavaScript Tagged with: BoxLang, calendar, creating
Simple Charting with BoxLang / / No Comments Building a BoxLang and want to know how to do charting with it? The answer is simple… don’t! I kid! Sorry, but for many, far too many, years now I’ve argued that ColdFusion should not include a charting library. It’s a server-side language, and in my (definitely not) humble opinion, client-side code doesn’t belong there. (I’m fine not worrying about that though – I trust that team knows their clients better than I do and knows what they’re doing.) The good news (again, imo) is that BoxLang doesn’t ship with an embedded client-side charting library. That being, I can absolutely see cases where you may be building a web app in BoxLang and want... more → Posted in: JavaScript Tagged with: BoxLang, Charting, simple
Extracting Data from Web Pages with AgentQL and BoxLang / / No Comments I discovered AgentQL a few weeks ago and have been thinking about it quite a bit. In a nutshell, it lets you perform queries against a web page. They’ve got a simple query language that kinda reminds me of GraphQL, but simpler. So for example, consider the page you are on right now – if I wanted to get the tags, I could use this query: { tags[] } And it would return: { "tags": [ "#development", "#boxlang" ] } What if I wanted the links? I could change my query to express this: { tags[] { label url } } And then get: { "tags": [ { "label": "#development", "url":... more → Posted in: JavaScript Tagged with: AgentQL, BoxLang, data, Extracting, from, Pages
Creating a Calendar with BoxLang – Part Deux / / No Comments Earlier this week I posted a quick look at building a simple calendar with BoxLang, specifically an HTML one meant for a web page of course. This was a bit complex due to the needs of creating a proper HTML table, but generally I was… ok with the result. Yeah that’s nice and vague, but there’s some code I could state at and think of alternatives for nearly forever and it’s ok to just put it down and walk away. So obviously, I’m returning to it today. Specifically, how to get events on the calendar. Sample Data I started off with some sample data. Initially I thought about finding something online, perhaps a list of holidays, but I really wanted something good for... more → Posted in: JavaScript Tagged with: BoxLang, calendar, creating, Deux, part
Building a CSV Report CLI Tool in BoxLang / / No Comments Remember some time ago (yesterday) when I wrote about CSV parsing in BoxLang using the opencsv Java library and Maven? As I said then, my initial impetus for that post was to recreate my ColdFusion Hackathon project, but once I got it working, it turned out to be really useful for something completely different. The Data If you’re on a desktop machine and look down to your right, you’ll notice I’ve got an ad from from EthicalAds. I’ve been using them as an ad network for a bit over a year now. I’m not going to get rich anytime soon with the money I’ve earned, but it’s the first ad network in a while that felt low key and less "in your face".... more → Posted in: JavaScript Tagged with: BoxLang, building, Report, tool
Parsing CSV in BoxLang – Maven Style / / No Comments I recently did some CSV parsing in ColdFusion while working on my ColdFusion 2025 Hackathon submission, and while I didn’t win, I really enjoyed the little utility I built. That tool made use of CSV parsing support in Adobe ColdFusion and I thought I’d take a look at what I’d need to use to support that in BoxLang. This led me to look for a Java tool and gave me a chance to try something new in BoxLang, Maven support. BoxLang runs on the JVM, but doesn’t really require you to know any Java. Which is good. I’ve been "casually" familiar with Java since it came out, but have never done any real work in it nor really spent any time learning the language. I... more → Posted in: JavaScript Tagged with: BoxLang, Maven, Parsing, Style
Sorting Out Your Monarchs with BoxLang / / No Comments I know what you’re thinking right now – a monarch problem? How did Raymond know I had a monarch problem? What can I say, with great age comes great wisdom, or, more likely, random code challenges. I’ve mentioned "rendezvous with cassidoo" before as one of the newsletters I subscribe to. Authored by the very interesting Cassidy Williams, this short and sweet newsletter always has interesting content and always ends with a basic code challenge, what she calls her ‘interview question of the week’. This weeks question was pretty fun: Given an array of strings representing the names of monarchs and their ordinal numbers, write a function that returns the list... more → Posted in: JavaScript Tagged with: BoxLang, Monarchs, Sorting
Working with the Mastodon API in BoxLang / / No Comments So remember a long time ago (Tuesday), when I blogged about using the Bluesky API with BoxLang? As expected, I’m following that up today with a look at using the Mastodon APIs. Personally, I’m down to just two social networks, Bluesky and Mastodon. Originally I was using Mastodon a lot more, but I’ve been vibing with Bluesky more lately so I tend to check it more often. That being said, whenever I release a new blog post, I’ve got an automated process to post to both, so I thought I should cover both for BoxLang as well. Even better… I already did this in ColdFusion! Way back in October 2023, I blogged about the topic and even shared a simple ColdFusion component... more → Posted in: JavaScript Tagged with: BoxLang, Mastodon, working