An event is something that has happened in the past. A domain event is, something that happened in the domain that you want other parts of the same domain (in-process) to be aware of. The notified parts usually react somehow to the events. Domain events: design and implementation Benefits Since domain events are… well, events, it comes with all the benefits and use cases that you would have if you implement some sort of event driven architecture: Reduce coupling between the effect and the consequence: creating a user and notifying that a user was created have different levels of complexity, different responsibilities, different reasons to change… You won’t have a… Read More
Continue ReadingDebug mobile app in both mobile and computer
While we are developing a mobile app that talks to an API on our own, we may want to just put a breakpoint in an API call and see what happens. Although the best way to test and API is with programs like Postman, there are occasions where we need some context about when a call is made and for what reason. This looks difficult considering the fact that we are developing the API in the computer’s localhost, which is different than mobile’s localhost. We usually have an intuition here because we think that, being in the same network, there should be a way to access the computer. If you… Read More
Continue Reading