-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
347 lines (296 loc) · 13.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Progressive Web Apps – HTML Presentation Framework</title>
<meta name="description" content="A simple presentation about progressive web apps">
<meta name="author" content="Fábio Antunes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/moon.css" id="theme">
<!-- Code syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<h1>
<span class="fragment" data-fragment-index="2">Progressive</span>
Web
<span class="fragment" data-fragment-index="1">Apps</span>
</h1>
<p>
<small>Created by <a href="http://fabioantunes.me">Fábio Antunes</a></small>
</p>
</section>
<section>
<blockquote cite="https://twitter.com/beverloo">
<p>
A progressive web app provides an app-like user experience that is low friction and is built using modern web capibilities
</p>
</blockquote>
</section>
<section data-background="/img/wat.jpg"></section>
<section>
<section>
<h2>Unordered list with some definitions</h2>
<ul>
<li class="fragment">PWAs are the future!</li>
<li class="fragment">PWAs aren't packaged, distributed or deployed through app stores</li>
<li class="fragment">PWAs tend to behave, look and feel like Native Apps</li>
<li class="fragment">PWAs request permissions in an incremental way</li>
<li class="fragment">PWAs start as a website and become progressively more “app”</li>
</ul>
</section>
<section>
<h3>Wait! PWAs evolve?</h3>
<blockquote cite="https://infrequently.org/2015/06/progressive-apps-escaping-tabs-without-losing-our-soul/">
<p>
PWAs they’re just websites that took all the right vitamins. Sites that want to send you notifications or be on your home screen have to earn that right over time as you use them more and more.
</p>
</blockquote>
<img class="stretch" src="/img/darwin.jpg" alt="" />
<p class="fragment">
<a href="https://infrequently.org/2015/06/progressive-apps-escaping-tabs-without-losing-our-soul/" target="_blank">
@Charles Darwin
</a>
</p>
</section>
<section>
<h3>Alright, Websites with steroids so what?</h3>
<h4>
Why do we need this?
</h4>
<ul>
<li class="fragment">Cross platform, Chrome and Opera already support it</li>
<li class="fragment">Low friction! Good for users good for Websites</li>
<li class="fragment">Last but not least, Google needs it and so all the web companies</li>
</ul>
<aside class="notes">
If we only had mobile apps, google and other search engines wouldn't be able to track and index information
</aside>
</section>
</section>
<section>
<section>
<h3>Statistics</h3>
<blockquote cite="https://www.youtube.com/watch?v=m2a9hlUFRhg">
<h2>25</h2>
is the average apps used per month by a mobile user
</blockquote>
<blockquote cite="https://www.youtube.com/watch?v=m2a9hlUFRhg">
<h2>100+</h2>
sites navigated to per month by the average Chrome for Android user
</blockquote>
</section>
<section>
<blockquote cite="https://www.youtube.com/watch?v=m2a9hlUFRhg">
<h1>80%</h1>
of time spent is in User's top 3 Apps
</blockquote>
</section>
<section data-state="slideReach">
<h1>Growth</h1>
<svg id="uniqueVisitors"></svg>
<p>
Comparing the reach of the 1000 top Apps to the corresponding 1000 top websites
</p>
</section>
<section>
<blockquote cite="https://www.youtube.com/watch?v=m2a9hlUFRhg">
<h1>2x</h1>
growth in mobile web traffic vs growth in app traffic
</blockquote>
<aside class="notes">
If we narrow down the 1000 top apps only the first twelve generate more traffic on their native apps than their mobile websites. these are the youtube, instagram, pinterest.
</aside>
</section>
</section>
<section>
<section>
<h2>PWAs key features</h2>
<ul>
<li class="fragment">Performance!</li>
<li class="fragment">Background Sync</li>
<li class="fragment">Durable storage</li>
<li class="fragment">Web Bluetooth, WebUSb</li>
<li class="fragment">Web NFC</li>
<li class="fragment">Improved WebRTC</li>
<li class="fragment">Offline</li>
<li class="fragment">Push Notifications!!</li>
</ul>
<aside class="notes">
<ul>
<li>Store and cache the shell of your website</li>
<li>Upload photos or files in the background</li>
<li>Configure and control devices</li>
<li>Transfer data between devices</li>
<li>More Control over camera</li>
<li>Last but not least, Push notifications</li>
</ul>
</aside>
</section>
<section data-background="/img/brent.gif"></section>
</section>
<section>
<section>
<h2>Power of Push Notifications</h2>
<h3>Beyond the Rack</h3>
<div>
<div class="pull-left half-width">
<h1>+72%</h1>
<p>increase in time spent for users visiting via push notifications</p>
</div>
<div class="pull-right half-width">
<h1>+26%</h1>
<p>increase in average spend per visit by users arriving via a push notification</p>
</div>
</div>
<aside class="notes">
users who re-engange with their website through push notifications spend on average 72% more time and they spend 26% more money.<br>
this is possible targetting users.
</aside>
</section>
<section>
<h2>Power of Push Notifications</h2>
<h3>Financial Times</h3>
<div>
<div class="pull-left half-width">
<h1>+17%</h1>
<p>click-through rate</p>
</div>
<div class="pull-right half-width">
<h1>+90%</h1>
<p>retention</p>
</div>
</div>
</section>
<section>
<h2>Summing up:</h2>
<blockquote cite="https://medium.com/@davideast/chrome-developer-summit-recap-1137b022b2dc#.8lqsdq35g">
<p>
Progressive Web Apps are modern, mobile first, offline web apps, that can compete with the best of those on native.
</p>
</blockquote>
<aside class="notes">
Progressive web apps will be a reliable alternative to native mobile apps, in the future the number of native web apps with crazy permissions will be much smaller
</aside>
</section>
<section data-background="/img/cry.gif"></section>
</section>
<section>
<h2>Existing PWAs</h2>
<ul>
<li><a href="https://www.theguardian.com/info/developer-blog" target="_blank">The Guardian developer blog</a></li>
<li><a href="https://m.facebook.com/" target="_blank">Facebook mobile</a></li>
<li><a href="http://www.flipkart.com/" target="_blank">Flipkart</a></li>
<li><a href="https://airhorner.com/" target="_blank">Air Horner</a></li>
</ul>
</section>
<section>
<h2>More info</h2>
<ul>
<li><a href="https://developer.chrome.com/devsummit" target="_blank">Google Chrome Dev Summit 2015</a></li>
<li><a href="https://dev.opera.com/blog/progressive-web-apps-future/" target="_blank">Opera Dev Blog</a></li>
<li><a href="http://tech-blog.flipkart.net/2015/11/progressive-web-app/" target="_blank">Flipkart dev blog</a></li>
<li><a href="http://arc.applause.com/2015/11/30/application-shell-architecture/" target="_blank">arc</a></li>
</ul>
</section>
<section>
<h1>Questions?</h1>
<p>
Slides @ <a href="https://github.com/FabioAntunes/progressive-web-apps">github.com/FabioAntunes/progressive-web-apps</a>
</p>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script src="//d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script>
// Full list of configuration options available at:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom
// Optional reveal.js plugins
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true },
{ src: 'plugin/notes/notes.js', async: true }
]
});
Reveal.addEventListener( 'slideReach', function() {
var data = [3.3,8.9];
var bar_w = 200,
bar_h = 300,
label_padding = 100,
bar_padding = 225;
var x = d3.scale.linear()
.domain([0, 1])
.range([0, bar_w + bar_padding]);
var y = d3.scale.linear()
.domain([0, d3.max(data)])
.rangeRound([0, bar_h - label_padding]); // rangeRound to avoid antialiasing artifacts.
var chart = d3.select("#uniqueVisitors")
.attr("class", "chart")
.attr("width", (bar_w * data.length) + bar_padding)
.attr("height", bar_h);
chart.selectAll("rect")
.data(data)
.enter()
.append("rect")
.attr("x", function(d, i) { return x(i) - .5; })
.attr("y", function(d) { return bar_h - .5; })
.attr("width", bar_w)
.attr("class", function(d,i) {return i==0?'first':'second'})
.transition().delay(function (d,i){ return (i+1) * 1600;})
.duration(800)
.attr("height", function(d) { return y(d); })
.attr("y", function(d) { return bar_h - y(d) - .5; });
chart.selectAll("text")
.data(data)
.enter().append("text")
.attr("width", bar_w)
.attr("class", function(d,i) {return i==0?'first':'second'})
.attr("x", function(d, i) { return x(i) + bar_w/2; })
.attr("y", function(d) { return bar_h - y(d) - 60; })
.attr("text-anchor", "middle")
.transition().delay(function (d,i){ return (i+1) * 1600;})
.duration(800)
.text(function(d) { return d; });
chart.selectAll("label")
.data(data)
.enter().append("text")
.attr("width", bar_w)
.attr("class", function(d,i) {return i==0?'first':'second'})
.attr("x", function(d, i) { return x(i) + bar_w/2; })
.attr("y", function(d) { return bar_h - y(d) - 20; })
.attr("text-anchor", "middle")
.transition().delay(function (d,i){ return (i+1) * 1600;})
.duration(800)
.text(function(d, i) { return i==0?'Mobile Apps':'Websites' });
} );
</script>
</body>
</html>