Now we have implemented the persistence of our domain and read models, we can start to revisit the implementation so that we can switch over to an event-sourced domain model instead. We need a way to store and retrieve new events so I have added a private property and exposed a read-only collection as well… Continue reading Persisting changes as Events
Tag: learning
Implementing persistence and setting up integration tests along the way
So far, we've used fake repositories in our tests, now it's time to have an actual implementation of how we want to persist our data. The goal is to be able to add entries when our application is running, and even if the application restarts, it should still have this data. In order to be… Continue reading Implementing persistence and setting up integration tests along the way
TDD of the Domain Model, building a registration app
In the last post we did a TDD walk through building the application but we didn't really get into the event sourcing side of things, which was the original intent of this series. I only recently read about Event Sourcing through the book Understanding Eventsourcing by Martin Dilger. It goes into a lot of detail,… Continue reading TDD of the Domain Model, building a registration app
The Value of Value Objects
In my most recent employment, I got to work on refactoring some legacy code and one of things that I've learned to appreciate is the use of Value Objects. The domain focused on money and tax rates of various sorts so the code was filled with decimal variable types. The following is a simplified example: As… Continue reading The Value of Value Objects
Getting started with Phaser
While going through some pre-work for an upcoming bootcamp, I learned about phaser.io, a popular desktop and mobile HTML5 game framework. I wanted to write up some of the resources that I've found useful so I can refer to them in the future. To be updated as I find more interesting links https://gamedevacademy.org/wp-content/uploads/2018/04/How-to-Create-a-Game-with-Phaser-3_v2.pdf https://gamedevacademy.org/how-to-make-a-mario-style-platformer-with-phaser-3/ https://www.emanueleferonato.com/2017/04/19/using-tiled-editor-to-create-levels-and-import-them-as-json-data-in-your-html5-swipe-controlled-sokoban-game-made-with-phaser/… Continue reading Getting started with Phaser
