Intro.deck.0-1
-
Upload
will-shown -
Category
Documents
-
view
62 -
download
0
Transcript of Intro.deck.0-1
![Page 1: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/1.jpg)
Interaction design sync №1Will Shown 22 January 2014
![Page 2: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/2.jpg)
Scope of this session
• Statecharts; why they rock so hard
• Interaction design for the web: ‘graceful degradation’
![Page 3: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/3.jpg)
Statecharts
![Page 4: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/4.jpg)
Statecharts show:
• The configuration of states
• The transitions between states
Statecharts are the best way to communicate how interactive features are supposed to work.
![Page 5: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/5.jpg)
Every transition in a statechart shows:
• From which state the transition originates
• Which state the transition goes to
• Which events trigger the transition
![Page 6: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/6.jpg)
Types of states, based on the W3C’s spec:
• Simple: contains nothing
• Complex: contains other states
• History: transitions to the most recent sibling state inside a complex state
![Page 7: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/7.jpg)
Types of transitions:
• State-to-state: the most common type
• Initial: points to the ‘default’ state inside a complex state
![Page 8: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/8.jpg)
Some examples of statecharts
![Page 9: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/9.jpg)
Simple microwave
unplugplug in
onidle
cook
startstop
initial
off
![Page 10: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/10.jpg)
Draggable element
idle
touchrelease
touchdown
dragging touchmove
![Page 11: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/11.jpg)
Prime prototype
animating menuopen
menuclosed
hist
prefsopen
prefs closed
openprefs
openprefs
closeprefs
finishopening
finishclosing
closemenu
openmenu
navigate
initial
![Page 12: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/12.jpg)
Let’s make one together.
![Page 13: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/13.jpg)
Things we might not have discussed:
• Parallel states: complex states where all the children occur simultaneously (good for independent features that behave differently in different global states).
• Execution: things can happen on entry into a state, on exit from a state, or during a transition; if execution is relevant, document it as part of the statechart.
![Page 14: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/14.jpg)
Interaction design for the web
![Page 15: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/15.jpg)
Not all interactive designs will work for every user agent.
As with responsive design, build your interactions up from the web’s native interactive elements.
Keep that plan in your back pocket for when the devs need it.
![Page 16: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/16.jpg)
The web’s native interactive elements:
• radio buttons
• checkboxes
• dropdown menus
• input fields
![Page 17: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/17.jpg)
→
![Page 18: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/18.jpg)
→
![Page 19: Intro.deck.0-1](https://reader037.fdocuments.us/reader037/viewer/2022092807/58d1d9441a28ab66108b54c5/html5/thumbnails/19.jpg)
Thanks!