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
69
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
130
Docker 101 Rubyist Edition
danguita
0
120
Desarrolla Ruby como un Ninja
danguita
0
190
Other Decks in Technology
See All in Technology
サイバーセキュリティと認知バイアス:対策の隙を埋める心理学的アプローチ
shumei_ito
0
380
Lambdaと地方とコミュニティ
miu_crescent
2
370
マルチプロダクトな開発組織で 「開発生産性」に向き合うために試みたこと / Improving Multi-Product Dev Productivity
sugamasao
1
300
透過型SMTPプロキシによる送信メールの可観測性向上: Update Edition / Improved observability of outgoing emails with transparent smtp proxy: Update edition
linyows
2
210
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
470
ISUCONに強くなるかもしれない日々の過ごしかた/Findy ISUCON 2024-11-14
fujiwara3
8
860
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
2
280
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
2
230
Amazon Personalizeのレコメンドシステム構築、実際何するの?〜大体10分で具体的なイメージをつかむ〜
kniino
1
100
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
28
12k
ノーコードデータ分析ツールで体験する時系列データ分析超入門
negi111111
0
410
Terraform Stacks入門 #HashiTalks
msato
0
350
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
88
5.7k
Rails Girls Zürich Keynote
gr2m
94
13k
Music & Morning Musume
bryan
46
6.2k
Being A Developer After 40
akosma
86
590k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Practical Orchestrator
shlominoach
186
10k
Typedesign – Prime Four
hannesfritz
40
2.4k
RailsConf 2023
tenderlove
29
900
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
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