Time Slots and Set Theory

April 06, 2020

Time slots are defined periods of time with a start date and an end date. There are many situations for which we will need to define a section of time in code and, surprisingly, not many tools to do it. Today we will be looking at my implementation of a TimeSlot in Java and doing a teeny tiny bit of set theory in the process. At the end we’ll look at how we might use this implementation to solve some common time slot related interview questions.

GraphQL basics with Spring

February 19, 2020

Designed as an alternative to REST, GraphQL is a fairly recent query language developed by Facebook that specifies a new way for clients to interact with and request data from APIs. Today we’re going to be setting up a basic Spring GraphQL API and in doing so exploring the pros and cons of this new tool. This one is gonna be a bit long, so bring snacks.

Timezones, Grouping, and Saturdays

December 06, 2019

Timezones are a presentation layer problem. It should always be up to the front end application to present UTC time in a user friendly timezone. But this isn’t always possible. Today we’re going to look at one Spring Boot / Angular use case where this is no longer a possibility, and my thoughts about it.

Spring, MongoDb, and Querydsl

December 03, 2019

Front end applications often need to display filtered information to their users, and writing boilerplate endpoints to filter different properties on your collections can get tiresome. Today I’ll take a quick look at how you might use Querydsl to allow your API users to query your MongoDb collections themselves.