Jeremy Davis
Jeremy Davis
Sitecore, C# and web development
Page printed from: https://blog.jermdavis.dev/

A blog about technology that catches my attention

It's a bit like a swap-file for my brain...

12 years, 374 posts and counting

Using Groups in OrderCloud

A pattern that's been pointed out to me recently

I've been looking at some information architecture stuff for OrderCloud recently, and came across a situation where "groups" were suggested as helpful for the business scenario I needed to model. There didn't seem to be a great deal of documentation about why you might want them for things like this, so I figured it might help others for me to write down what I was looking at. And why groups might be the right answer for you too...

Sitecore OrderCloud ~3 min. read

DevOps wikis are cleverer than I realised

This is a great little bit of trivia

A colleague showed me something I'd not seen before about Azure DevOps wikis the other day, which kind of blew my mind. If you've not realised this either, maybe it can blow yours too...

DevOps Git ~1 min. read

Coding against an OrderCloud sandbox

I've tripped over this at least twice. You don't have to...

If you're experimenting with OrderCloud then getting a sandbox instance is an important part of the discovery process. Unlike most of Sitecore's products, this one is available free to anyone (just register in the portal) - so it's easy to give it a try. But if you want to build an experiment against the sandbox instance you need your code to authenticate with it. And this has tripped me up a couple of times because it's not wildly well documented. So learn from my frustration...

SUGCON's coming! Have you booked yet?

There's something for everyone in this agenda...

Have you thought about attending SUGCON EU this year? We're getting close to the community's big annual get-together which is being held in London this year. And as ever it has a very interesting looking agenda. Still thinking whether you should attend? Here's a few of the reasons why I'll be there...

SUGCON Sitecore ~2 min. read

Nerding out about covariance and immutability

Fun with bits of C# I've never really made use of

I've been working with C# most of my career, but every so often they add bits to the language which for some reason I've never really got to make use of. And "covariance" is one of those things. But I picked up a beta copy of a great new book recently (Eric Lippert's "Fabulous Adventures in Data Structures and Algorithms" from Manning) and it had a simple but fascinating example of a situation where this can work. It taught me something that maybe you might find interesting too...

C# ~3 min. read

Two bits of trivia: Content Types and images in Content Hub

Once you know where to look, things are easier...

I've been looking at some work related to Content Types in Content Hub recently, and while this is a bit like Data Templates in the good old DXP, I had a couple of things I had to spend time researching as part of this work. So maybe if you're looking at using the CMP features, this might help you understand a couple of quirks too...

Content Hub Sitecore ~2 min. read

Text adventures: A worked example

Putting the last three posts together...

Following on from the general framework bits in the previous posts about building a text adventure, what needs doing to create an example game? Here's an explanation of the example repo game to show how it all goes together. [ Spoiler warning - if you want the fun of playing the example game, don't read this post before you play, as it explains some of the puzzles.]

Text adventures: Behaviours for flavour

Where we can put the code that lets the world react to the player?

Last time up we created the very basics of a text adventure where we could look at rooms in the world, and had a way to provide other commands like movement or picking stuff up. So what can we do to let the world react to the user's actions, and create puzzles and atmosphere for a game? Step forward behaviours...

Text adventures: The player's commands

How they tell the game what they want to do

The world model from the previous post is all well and good, but the player needs to be able to interact with it. What do we need to add to allow that? Well we need an abstraction for the things the game is going to allow the player to do.

What a busy Symposium!

A lot got announced - but what caught my eye?

I've had a few days to decompress and think about all the stuff I heard from the various stages at this year's Sitecore Symposium in Orlando. So here's a rundown of the key messages for me, from my viewpoint as a developer and architect in the Sitecore space.