Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Designing with the Web
Steve Smith
PRO
April 13, 2013
Design
30
950
Designing with the Web
A heretical guide to creating native software.
Steve Smith
PRO
April 13, 2013
Tweet
Share
More Decks by Steve Smith
See All by Steve Smith
orderedlist
PRO
18
860
orderedlist
PRO
330
36k
orderedlist
PRO
8
460
orderedlist
PRO
57
3.2k
orderedlist
PRO
26
970
orderedlist
PRO
13
1.1k
orderedlist
PRO
9
310k
orderedlist
PRO
8
660
Other Decks in Design
See All in Design
standfm
1
190
nrasoul
3
800
datavisualizationjapan
1
180
samandthezoo
0
150
mollysart
0
170
michalis_art
0
150
ytleoo
1
280
maoto
2
180
haruh
0
210
mimiguri
0
13k
johattori
0
230
andpad
0
380
Featured
See All Featured
colly
66
3k
phodgson
88
4k
destraynor
221
47k
danielanewman
201
20k
afnizarnur
176
14k
denniskardys
220
120k
mojombo
359
62k
paulrobertlloyd
71
3.7k
tammielis
237
23k
revolveconf
201
9.7k
geeforr
333
29k
scottboms
252
11k
Transcript
Designing with the Web A heretical guide to creating native
soware. Steve Smith • @orderedlist
Hello, I’m @orderedlist
This is NOT about... Designing in the browser WebViews Language
wars
This IS about... Designing more than just visuals Try it
before you buy it An easier transition to development
HTML & CSS A Brief Demo A peek under the
kimono...
Using HTML & CSS to mockup native applications
HTML & CSS Real Talk: Just use Webkit
HTML & CSS background-color border box-shadow linear-gradient border-radius outline
HTML & CSS NOPE. background-color border box-shadow linear-gradient border-radius outline
HTML & CSS Avoid drawing with CSS
HTML & CSS Use rendered images you can use in
your real application
HTML & CSS
HTML & CSS background-image
HTML & CSS border-image
HTML & CSS .button { -webkit-border-image: url(image.png) 1 10 repeat
repeat; border-width:1px 10px; }
HTML & CSS .button { -webkit-border-image: url(image.png) 1 10 repeat
repeat; border-width:1px 10px; }
HTML & CSS <a href="#" class="button"> View on GitHub </a>
HTML & CSS But what about Retina?
HTML & CSS -webkit-image-set
HTML & CSS -webkit-image-set( url(button.png) 1x, url(button@2x.png) 2x )
HTML & CSS HTML & CSS buon.png buon@2x.png
HTML & CSS The browser decides which image to use.
HTML & CSS Use -webkit-image-set anywhere you’d use a url
HTML & CSS The benefits of CSS?
HTML & CSS CSS encourages reuse of visual styles.
HTML & CSS CSS is really fast to write.
HTML & CSS CSS can use your final image assets
to create mockups.
HTML & CSS So what’s the big deal? Back to
the demo...
Using JavaScript to mockup native applications
JavaScript Start with jQuery, jQuery UI
JavaScript Next, pick a JS framework
JavaScript I happen to use SpineJS hp://spinejs.com
JavaScript Things it should include... Fast to run, fast to
write Browser local storage-backed models HTML5 history based routing
JavaScript Why is this beer than just a picture of
soware?
JavaScript Design the complete workflow
JavaScript See your design with real data
JavaScript Design animations, loaders, and transitions
JavaScript Evaluate a design in context
JavaScript It removes questions for the developer
JavaScript It hints at complication early in the process
JavaScript Once more, to the demo... So how do I
show this off?
How to deploy your mockup as a web application
Deployment Create a Rails app
Deployment Authentication with oAuth
Deployment Push the app to Heroku
Deployment Push the app to Heroku
Deployment hp://mockup.domain.com/feature/section/id
Deployment Push the code to GitHub
Deployment Send changes in Pull Requests
Start slowly, and build your mockup over time
It doesn’t demand perfection
It’s still just a mockup
It’s a ground for experimentation
Thank you! Steve Smith • @orderedlist
None