Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Structuring interactive applications with Elm

No description
by

Dénes Harmath

on 19 August 2015

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Structuring interactive applications with Elm

Structuring interactive applications with Elm
Model
View
Events
Commands
main : Signal Element
-- often union type
-- often record type
Mouse.position
Touch.touches
Keyboard.lastPressed
Time.every
-- etc.
Mailbox
Graphics.Collage
Graphics.Element
Graphics.Input
Signal.mailbox
foldp
.address
.signal
Storage
Custom view
port update = ...
port create = ...
port delete = ...
port sound = ...
-- etc.
port read : Signal Json.Value
Custom events
port gamepad
port accelerometer
port microphone
-- etc.
https://github.com/jcollard/Playground
merge
Focus
http://elm-lang.org/learn/Architecture.elm
Animations
TransitionUtil
http://library.elm-lang.org/catalog/Dandandan-Easing/latest/Easing
Commands
Model
timestamp
for every related attribute: last change
time
old value
View
ease
Full transcript