Using StringBind in BoxLang

Ok, to be honest, this is going to be a pretty lightweight post as it’s about a simple little string function in BoxLang, but as I discovered it rather recently and was intrigued by what it did. So first off – how did I find this? In the BoxLang docs, there’s a whole section on built-in functions and a subcategory just for string. I was looking it over and realized there were quite a few that I had not known existed. There are some interesting ones in there like pascalCase and snakeCase. I was pretty sure I knew exactly how these worked, but I went ahead and built a quick demo that demonstrates both: Ok, that works well enough, but let’s talk StringBind. StringBind... more →
Posted in: JavaScript

Building a File-Based Router in BoxLang

Earlier this week I took a look at BoxLang’s new rewriting feature (("URL Rewriting with BoxLang MiniServer")[https://www.raymondcamden.com/2025/08/11/url-rewriting-with-boxlang-miniserver]). It basically boils down to telling the miniserver app, "here is a file I want you to run on a 404", and given that you can write code for anything you would like, it’s really flexible. I like this approach, but it got me thinking, what if BoxLang also supported a non-code based rewriting system, something where you can define paths, and rewrites, in a file? I took a stab at architecting such a feature and thought I’d share. My Inspiration My inspiration for this idea... more →
Posted in: JavaScript

On the Market… again (Hire me!)

Sadly, I find myself in the same situation I did a few months ago. My time at Foxit has abruptly come to an end. While it didn’t work out, I am incredibly proud of what I was able to achieve in such short time. I’m a bit in shock now, but, I love my work, I love helping developers, and I can’t not work if my kids want to eat. (Rudely they tend to get hungry – like every single day.) As always, if you know me, and know of an opportunity, I’d love any introductions you can give. I got through this once, I can get through it again! Raymond Camden… more →
Posted in: JavaScript

Adding Programming Language Detection with Built-in Chrome AI

As I’ve been playing, and thinking, more and more about how to best add Chrome AI support to web apps, I came across an interesting use-case that I think could be helpful, and like in my previous examples, be completely ok if it didn’t actually work. When I write on the developer blog at Foxit, I make use of WordPress plugin for code samples. This editor has a place for you to both paste in your code, and select the language so the proper highlighter is used: This works well enough, but it gets a bit annoying to have to constantly keep selecting Python in the dropdown. Ideally the form would use the last language (simple enough via LocalStorage), but I was curious how well Chrome’s... more →
Posted in: JavaScript

URL Rewriting with BoxLang MiniServer

BoxLang recently released it’s 1.4 version, and one of the cooler parts of that update was many improvements to MiniServer. MiniServer is a lightweight web server that makes it easy to spin up and test BoxLang web applications. Updates in the last version included automatic .env loading (which is coming soon to the boxlang CLI as well), websocket support, health checks, and more, but the one I care the most about is URL Rewriting support. Rewrite support is fairly simple. To turn it on, pass --rewrites when running boxlang-miniserver. This will use the file index.bxm for any request that doesn’t match a file (no matter what the extension). You can also specify a particular file as... more →
Posted in: JavaScript

Links For You (8/9/25)

Hello friends – another two weeks has gone by which means another links post to share. Sometimes, ok, pretty much every time, I’m shocked at how quickly I have to do these posts. It’s like I blink and half a month has flown by. In my last Links post I mentioned dealing with some frustrations, and they’ve gotten better, but I’m now dealing with the start of school which brings its own challenges. That being said – the family is happy and healthy, I’m employed, so I’ll take that as a win. Let’s get to the links! Why Women in Tech isn’t enough First up is pretty important post from Salma Alam-Naylor, "Why Woman in Tech isn’t... more →
Posted in: JavaScript

Building a Comic Book Reader in BoxLang

I’ve been a comic book reader for just about the same amount of time as I’ve been writing code. Any computer using comic book reader (and there’s probably quite a few) will know that electronic versions of comics let you read comics on your devices. These comics typically come in one of two formats, CBR and CBZ, which are literally just RAR and ZIP files, nothing more. Over the years, I’ve had fun building my own web-based readers for this format, with my last one from a bit over three years ago, "Reading Comic Books in the Jamstack". I thought it would be fun to tackle this in BoxLang and see what worked well and what proved difficult. I’ve got a complete... more →
Posted in: JavaScript

Using Chrome AI for Sentiment Analysis (Again)

Every now and then I get an idea for a blog post/demo, prepare to write about it, and realize I’ve actually covered the topic in the past. Sometimes, though, it works out really well especially when the technology has changed quite a bit. Almost a year ago, I blogged about doing sentiment analysis with Chrome’s AI upcoming AI feature. At the time, it worked…. ok. The biggest issue at the time was the inability to provide a system instruction to the model as well as being able to shape the response a particular way. Thankfully, both of those are now supported. As a reminder, the prompt API for the web is still in an origin trial, see the docs for more information and join the... more →
Posted in: JavaScript
1 2 3 4 5 6 104