Working with an event-driven architecture, I got stuck wondering how best to structure my Commands, and would love to steal your ideas hear what you think. In this web-app, very much like Pintrest, users create and manage “Galleries” of “GalleryItems”. A “GalleryItem” is just an image with a title, description, and tags. Users can reorder […]
Tag: api
API First
Recently I was writing a small package for data validation (specifically for a web-form). My first attempt was pretty bad, so I want to take a minute to reflect on why that was my first instinct and how not to make those same mistakes again. My first approach was to build a generic Validator object. […]