8 Writing Reactive GUIs With Elm

 

For many of us, the way that a user perceives our software is the same thing as how our software looks and behaves. Whole software empires have been built on slight edges in usability: “it’s like BlahApp but it’s way nicer to use.” Users will flock to something that’s better in some way because ultimately, they are interested in achieving a goal. That goal could be booking tickets or sharing a picture, whatever. Software exists to fulfill the needs of people; as squishy and unpredictable as that can sometimes make things.

8.1  Elm Language Crash Course

8.1.1  Basic Syntax and Values

8.1.2  Types and Type Aliases

8.1.3  Functions

8.1.4  Records

8.1.5  Commands, Messages, and Subscriptions

8.2  Biking Example

8.2.1  Types and Model

8.2.2  Update

8.2.3  View

8.2.4  Main

8.3  Summary