Author Archives: b.hedge

About b.hedge

i do database stuff and i like to solve business problems with code.

Event Sourcing – Part 3 – Where is my mind with the data?

As far as event sourcing goes, I wanted to pause and collect where my head is on the events that will be emitted from the instantiated models (or aggregates and entities that they are sometimes called).  I will not attempt … Continue reading

Posted in cqrs & event sourcing, mssql | Leave a comment

Event Sourcing – Part 2 – What do we track?

We decided that we will be modeling a fictitious application called “Patient Tracks” and that we were going to use Event Sourcing backed by MS SQL.  We will take the simplest approach possible at first and then add complexity over time … Continue reading

Posted in cqrs & event sourcing, mssql | Leave a comment

Event Sourcing – Part 1 – Beginning with a clean slate

Event Sourcing has come up for a while and it is a really interesting idea but I have never implemented it from “nothing” to “something” to capture my own thoughts and reasons for doing a certain thing or not.  Event sourcing … Continue reading

Posted in cqrs & event sourcing, mssql | Tagged , , | Leave a comment

A recharging vacation and crab traps

It had been a while since me and the family had taken a truly restful vacation.  We were fortunate enough to get away long enough that I was able to unplug from the work items and to truly enjoy the downtime … Continue reading

Posted in random | Leave a comment

Part 4 (Final) – Building a Simple JavaScript Game

To this point we have a hero and we have an enemy… now we need a fight!   We will update the world tick to include a step to evaluate the need to fight // world tick event function tickEvent() … Continue reading

Posted in coding, node js, random | Tagged , | Leave a comment

Part 3 – Build a Simple JavaScript Game

As we continue the progress of this simple JavaScript game we need to add an enemy for our hero to battle.  The first type of enemy that we will construct will be an Orc and will be easy to model … Continue reading

Posted in coding, node js | Tagged | Leave a comment

Part 2 – Building a simple JavaScript game

The thought of creating a game is pretty easy.  Ideas for what to put into the game are easy too…  but the ideas never seem to land in order.  Some of the topics you end up thinking about would come … Continue reading

Posted in coding, node js | Leave a comment