Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ELM 101
Search
David Anguita
September 08, 2017
Technology
0
65
ELM 101
Sample code at
https://github.com/danguita/elm-workshop
David Anguita
September 08, 2017
Tweet
Share
More Decks by David Anguita
See All by David Anguita
React on Rails
danguita
0
120
Docker 101 Rubyist Edition
danguita
0
110
Desarrolla Ruby como un Ninja
danguita
0
180
Other Decks in Technology
See All in Technology
KubeConにproposalを送りたい人へのアドバイス
sat
PRO
3
250
「スニダン」開発組織の構造に込めた意図 ~組織作りはパッションや政治ではない!~
rinchsan
3
570
一生覚えておきたい「システム開発=コミュニケーション」〜初めての実務案件振り返りLT〜
maimyyym
0
150
Cracking the KubeCon CfP
inductor
2
250
web-application-security
matsuihidetoshi
0
170
競技としてのKaggle、役に立つKaggle
yu4u
3
1.7k
Meta Quest 3 で動く桜マシマシ WebXR アプリを IBM Cloud Code Engine と Babylon.js で作った話
1ftseabass
PRO
0
120
家族アルバム みてねにおけるGrafana活用術 / Grafana Meetup Japan Vol.1 LT
isaoshimizu
1
760
MapLibreとAmazon Location Service
dayjournal
1
160
require(ESM)とECMAScript仕様
uhyo
3
740
本当のAWS基礎
toru_kubota
0
520
JSON攻略法.pdf
miyakemito
8
5.1k
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
187
16k
How STYLIGHT went responsive
nonsquared
92
4.8k
Statistics for Hackers
jakevdp
789
220k
Creatively Recalculating Your Daily Design Routine
revolveconf
210
11k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Designing Experiences People Love
moore
136
23k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
6
1.5k
In The Pink: A Labor of Love
frogandcode
138
21k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
Making the Leap to Tech Lead
cromwellryan
124
8.5k
Transcript
ELM 101 David Anguita @ Jobandtalent
None
The core language
• Purely functional (looks like Haskell) • Expressive syntax •
Statically typed • Immutable data structures • Very nice debugger • Compiles to JavaScript
No more runtime exceptions
How does it look like?
DEMO
The Elm Architecture
Model — the state of your application Update — a
way to update the state View — a way to view your state as HTML
Command — triggers an event identified by a Message type
Subscription — listens for external input
Image credit: https://sporto.github.io/elm-workshop/
VS React + Redux
Elm React + Redux Model State Update Reducer Message Action
(kind of)
DEMO
Where to get started
• http://elm-lang.org/docs/ • http://package.elm-lang.org/packages/elm-lang/core/latest/ • NoRedInk/elm-style-guide + avh4/elm-format • https://guide.elm-lang.org
• isRuslan/awesome-elm
Thank you
Questions?
Jobandtalent, September 2017