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
Designing with the Web
Search
Steve Smith
PRO
April 13, 2013
Design
28
1.1k
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
Git Better
orderedlist
PRO
18
1k
Producing Creativity
orderedlist
PRO
338
39k
Collaborating on Vision
orderedlist
PRO
8
630
Designing with GitHub
orderedlist
PRO
57
3.8k
Design Everything
orderedlist
PRO
25
1.2k
Designing Windowed Web Applications
orderedlist
PRO
13
1.3k
Introduction to Speakerdeck
orderedlist
PRO
9
310k
Real World Data Modeling with Mongo
orderedlist
PRO
8
780
Other Decks in Design
See All in Design
あらゆる場面でデザインを駆使するための技術 / Techniques for Applying Design in Any Situation
akiramotomura
5
2.2k
文化に寄りそうデザイン
recruitengineers
PRO
4
960
20240120_画像生成AI_NovelAI入門・情報収集
doradora09
PRO
0
130
Data+Diversity: Celebrating W.E.B Du Bois through Data Visualization
ajstarks
0
330
Installing and Running decksh/pdfdeck
ajstarks
1
500
現象と向き合うデザイン @Spectrum Tokyo Festival 2023
hirokazu_oda
3
1.4k
Sociotechnical design for software and human systems
xinyao
2
510
デザインを誘発する「イネーブルメント」アプローチ #spectrumfest2023 / 20231203
minamitary
0
600
実案件でのFigmaデータの作り方
xxxkinu
2
240
#コムデナ vol.2 「初めてのデザインカンファレンス協賛!共有したい3つのやらかし」
kiyoshifuwa
1
350
Product-Writing
aguringo
6
2.8k
Web 組版の課題とその解法
yamatoiizuka
0
120
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
60
7.2k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.1k
Being A Developer After 40
akosma
67
580k
What's in a price? How to price your products and services
michaelherold
238
11k
Adopting Sorbet at Scale
ufuk
69
8.6k
Scaling GitHub
holman
457
140k
Side Projects
sachag
451
41k
Making the Leap to Tech Lead
cromwellryan
125
8.6k
Embracing the Ebb and Flow
colly
80
4.2k
Rebuilding a faster, lazier Slack
samanthasiow
74
8.3k
YesSQL, Process and Tooling at Scale
rocio
165
13k
Optimising Largest Contentful Paint
csswizardry
13
2.4k
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(
[email protected]
) 2x )
HTML & CSS HTML & CSS buon.png bu
[email protected]
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