[DDD] Expressing Domain Knowledge Through Models Using Golang

Introduction This is a repost of the article from zenn. This is the 6th day article for Go Advent Calendar 2021. Since there are incredibly understandable books by Eric Evans sensei and predecessors about DDD, I recommend reading these. (laugh) Domain-Driven Design Modeling/Implementation Guide Domain-Driven Design Sample Code & FAQ Introduction to Domain-Driven Design: Understanding from Bottom-Up! Basics of Domain-Driven Design So here, without detailed explanation of DDD, I’ll explain how to incorporate domain knowledge into software using models with Golang, with a simple concrete example. ...

2021/12/05 · joj0hq

[Introduction] Understanding the Redux State Management System

Conclusion First This is a repost of the article from zenn. To understand Redux, if you can understand this diagram (source: Redux Application Data Flow), you’re 90% there. From user input, (ActionCreator) creates an Action Dispatch (send) the Action to Store (where state is managed) Pass the dispatched Action to Reducer (where state is changed) Store saves the new State created by Reducer Reference data from Store and render in View (screen) If there are any corrections like “This is wrong!” or “This mechanism is also used!”, please give me feedback! (That’s partly why I’m writing this!) ...

2021/03/21 · joj0hq

Home Hacking for Houseplants: Automating Temperature Management

Current Situation and Issues I have about 6 staghorn ferns at home, and while they’re relatively easy to care for, since they originally live in warm places without winter, ideally I’d like to somehow maintain around 15-20 degrees Celsius. Recently, it’s become relatively warmer, but since I live in the suburbs, sometimes it gets cold enough to drop below 10 degrees, so I want to create a comfortable environment for them. ...

2021/03/21 · joj0hq

[Implement in 10 minutes!] Create a Static Website with Hugo and Firebase

What We’re Building This time, we’re creating a static website. For a site like this blog that doesn’t expect dynamic updates from multiple users, implementing with static pages allows you to develop a site that loads quickly. Here, we’ll quickly implement it using Firebase and Hugo. What is Hugo? What exactly is HUGO? According to HUGO’s official site, Hugo is one of the most popular open-source static site generators. ...

2019/11/10 · joj0hq