Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ increment when pressed is very specific.
All of this means that, when we are creating a specific user interface, we don't want to focus on implementing every
familiar widget and its behavior. Instead, we want to leverage widgets as reusable building blocks—independent of our
application and provided by some library—while placing our focus on the application-specific parts of the fundamental
architecture: state, interactions, how the interactions change the state, and how the state dictates the widgets.
architecture:

- __State__
- __Interactions__
- __How the interactions change the state__
- __How the state dictates the widgets__

<div align="center">
<img alt="The application-specific parts of a GUI" src="resources/the-gui-trinity-focused.svg">
Expand Down Expand Up @@ -128,4 +133,4 @@ therefore, can be used interchangeably.

[The Elm Architecture]: https://guide.elm-lang.org/architecture/
[Elm]: https://elm-lang.org/
[referential transparency]: https://en.wikipedia.org/wiki/Referential_transparency
[referential transparency]: https://en.wikipedia.org/wiki/Referential_transparency