ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
ELM
101
Vicen? Garc¨ªa Alt¨¦s
@vgaltes
http://vgaltes.com
Elm 101
Elm 101
.elm file
.elm file
.elm file
elm
compiler
HTML
.js file .js file
.css file .css file .css file
BROWSER
? Created by Evan Czaplicki.
? Is a functional language (ML family).
? All values are immutable.
? Statically typed + type inference
? The code is declarative, the virtual DOM
does the job.
? No runtime exceptions.
? Great performance.
Elm 101
Elm 101
? https://github.com/vgaltes/SCBCN_ELM10
1
THE ELM ARCHITECTURE
ELM RUNTIME
Msg
update
Model
Html
view
THE ELM ARCHITECTURE v2
ELM RUNTIME
Msg
update
Model
Html
view
Cmd
Data Flow
ELM RUNTIME
Msg
update
onClick
RANDOM
RANDOM
Cmd Random.generate
Msg
update
UPDATE x
Cmd.none
Resources
? http://elm-lang.org/
? https://www.elm-tutorial.org/en/
? https://guide.elm-lang.org/
? https://www.manning.com/books/elm-in-
action
Thank you
Vicen? Garc¨ªa Alt¨¦s
@vgaltes
http://vgaltes.com

More Related Content

Elm 101