DEV Community

Dominic
Dominic

Posted on • Originally published at Medium

Coldfusion/Lucee/CFML & Cosmos DB

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

Top comments (0)