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: haxe
ZenLog
Sometimes, trace is not enough. When I started working with Haxe, I wasn’t completely satisfied with any of the logging libraries, so of course I made my own. Problem The existing package that most resonated with me was LogShim, but it had one critical issue for me: The selling point of Haxe is that you […]
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. […]