Coldfusion/Lucee/CFML & Cosmos DB

Dominic Robinson

Last year I experimented with Azure’s Cosmos DB. It didn’t end up getting used but I had a simple proof of concept that worked and I thought others might find it useful as an introduction to using Cosmos DB with Lucee or Coldfusion.

This is a very simple demo and the code is not structured how you would in a real-world project, but the aim was to make the code as simple to understand as I could.

As Cosmos DB is accessed through an API this demo is essentially a function that interacts with its API and its particular requirements. I’ve only covered the basic functions of CosmosDB in this demo but all other functions will be a case of reading the manual and updating the functions.

https://github.com/dominicr/CFCosmosDB

Dominic Robinson

Written by

Solution Architect based in Oslo https://www.linkedin.com/in/dominicrobinson

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade