The Elm Architecture
This architecture seems to emerge naturally in Elm. We first observed it in the games the Elm community was making. Then in web apps like TodoMVC and too. Now we see it running in production at companies like NoRedInk and . The architecture seems to be a consequence of the design of Elm itself, so it will happen to you whether you know about it or not. This has proven to be really nice for onboarding new developers. Their code just turns out well-architected. It is kind of spooky.
The logic of every Elm program will break up into three cleanly separated parts:
That is really the essence of The Elm Architecture! We will proceed by filling in this skeleton with increasingly interesting logic.