forked from adamdbradley/ionic-present
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·513 lines (405 loc) · 17.9 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
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Ionic + Angular: Superpowers for Mobile App Development</title>
<meta name="description" content="Ionic Framework Presentation: The beautiful, open source framework for developing hybrid mobile apps with HTML5.">
<meta name="author" content="https://twitter.com/adamdbradley">
<meta name="author" content="https://twitter.com/benjsperry">
<link rel="shortcut icon" href="favicon.ico">
<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">
<!-- 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">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<!-- <section data-background="img/superpower.jpg">
<h1 style="margin-top: 330px;" class="dark-shadow">Superpowers<br>for Mobile App Development</h1>
</section>
<section data-background="img/madison.jpg">
<img src="img/me.jpg" style="width:200px; height: 200px;
max-width:none; max-height: none;
position: absolute; left: 40px; top: -10px;
border-radius: 50%; border: 4px solid black;
box-shadow: 5px 0 10px black;">
<h1 class="left dark-shadow" style="margin-left:300px;">Adam Bradley</h1>
<h3 class="left dark-shadow" style="margin-left:300px;">Lead Ionic Developer</h3>
<ul class="me dark-shadow">
<li style="background:url(img/marker.png) no-repeat 0 8px;">Madison, WI, USA</li>
<li style="background:url(img/twitter.png) no-repeat 0 16px;">
<a href="https://twitter.com/adamdbradley" target="_blank" style="text-decoration:none">@adamdbradley</a>
</li>
<li style="background:url(img/github.png) no-repeat 0 17px;">
<a href="https://github.com/adamdbradley" target="_blank" style="text-decoration:none">
adamdbradley</a>
</li>
</ul>
</section>
<section>
<h3 style="font-size: 80px">Hybrid Apps!</h3>
<p style="font-size: 32px"><strong>HTML5</strong> that acts like native</p>
<p style="font-size: 32px">Web wrapped in <strong>native layer</strong></p>
<p style="font-size: 32px">Direct access to <strong>native APIs</strong></p>
<p style="font-size: 32px">Familiar <strong>web dev</strong> environment</p>
<p style="font-size: 32px">A <strong>single code base</strong> (web platform!)</p>
</section>
<section data-background="img/oldphones.jpg">
<blockquote style="font-size: 80px; font-family:Georgia; text-shadow: 5px 0 15px rgba(0,0,0,.7)">
“It's not 2007 anymore”
</blockquote>
</section>
<section data-background="img/dylan.jpg">
<img src="img/times-changin.png" style="height: 100px; margin: 0 300px 40px 0;">
<table>
<tr>
<th>Year</th>
<th>Device</th>
<th>Processor</th>
<th>RAM</th>
</tr>
<tr>
<td>2007</td>
<td>iPhone</td>
<td>620 MHz</td>
<td>128 MB</td>
</tr>
<tr>
<td>2010</td>
<td>iPhone 4</td>
<td>1 GHz</td>
<td>512 MB</td>
</tr>
<tr>
<td>2015</td>
<td>iPhone 6</td>
<td>1.4 GHz dual-core</td>
<td>1 GB</td>
</tr>
</table>
</section>
<section>
<h4 style="font-size:50px; margin:0;">Web-standards</h4>
<h4 style="font-size:80px;">Have improved!</h4>
<p style="font"><a href="http://caniuse.com/">caniuse.com</a> is lookin' pretty good nowadays</p>
<p>Android is now <strong>Chromium-based</strong></p>
<p>iOS users keep their devices <strong>up-to-date</strong></p>
<p style="text-align:center;">
<img src="img/caniuse-querySelector.png" width=460 class="logo">
<img src="img/caniuse-flexbox.png" width=460 class="logo">
</p>
</section>
<section data-background="white">
<img src="img/ios8-adoption.png">
<p style="font-size:10px">https://mixpanel.com/trends/#report/ios_8/from_date:-141,report_unit:day,to_date:0</p>
</section>
<section data-background="white">
<img src="img/android-adoption.png">
<p style="font-size:10px">https://mixpanel.com/trends/#report/android_os_adoption</p>
</section>
<section>
<h3 style="margin:0">Native SDKs...</h3>
<h2 style="font-size:2.2em;">Are Great!</h2>
<p style="margin:30px auto 20px auto; width: 600px">
Common UI, APIs, views, navigation, stack history, transitions, interactions, gestures, etc.
</p>
<p class="native-logos">
<img src="img/apple.png">
<img src="img/android.png">
<img src="img/windows.png">
<img src="img/blackberry.png" style="opacity:0.8">
<img src="img/firefoxos.png">
</p>
</section>
<section data-background="img/websdk.png">
</section> -->
<section data-background="white">
<img src="img/ionic-logo.svg" style="width:750px;">
</section>
<section data-background="white">
<img src="img/focus-on-app.png">
</section>
<section>
<h3 style="margin:0; font-size:32px">Web Technologies You Already</h3>
<h2 style="font-size: 85px;">Know & Love</h2>
<div style="margin-top: 30px">
<img src="img/html.png" class="logo" width="185" height="260">
<img src="img/css.png" class="logo" width="185" height="260" style="margin-left: 80px; margin-right: 80px;">
<img src="img/js.png" class="logo" width="185" height="260">
</div>
<p style="margin-top: 30px; opacity: 0.6">
(You'll feel right at home)
</p>
</section>
<section data-background="img/angular-bg.png">
<h3 style="font-size:42px; margin:0">Standing on the Shoulders</h3>
<h2 style="font-size:90px;">of Angular</h2>
<p style="margin-top:60px;"><strong>Extends the HTML</strong> vocabulary</p>
<p>Proven for <strong>large-scale</strong> app development</p>
<p>UI Components using <strong>Directives & Services</strong></p>
</ul>
</section>
<section data-background="img/sass.png">
<h2 style="font-size:3em; text-transform: none;">Sass!</h2>
<p>CSS generated from the <strong>Sass preprocessor</strong></p>
<p>Quickly give your app its own <strong>look and feel</strong></p>
<p>CSS designed to be <strong>easily overridden</strong></p>
<p><strong>Variables based</strong> with default settings</p>
</section>
<section data-background="img/continuity.png">
</section>
<section data-background="img/phones-stacked.png">
<h2 style="color:black; margin-bottom: 50px">How it all comes together</h2>
<ul class="stack">
<li style="background: #20ab93">Your App</li>
<li style="background: #4c8df5">Ionic</li>
<li style="background: #d94442">Angular</li>
<li style="background: #3b4854">WebView (Cordova)</li>
<li style="background: #d4deee; color: #3b4854;">Native App</li>
</ul>
</section>
<section>
<div class="col preview demo-frame">
<iframe src="demos/collection-repeat/index.html"></iframe>
</div>
<div class="col code">
<h3>Collection Repeat</h3>
<ul style="margin-left: 70px">
<li>Replacement for Angular's ng-repeat</li>
<li>Inspired by iOS’s UICollectionView</li>
<li>Scroll through thousands of items</li>
<li>Only renders the viewable items</li>
<li>Smooth scrolling!</li>
</ul>
<pre><code data-trim contenteditable class="xml">
<div class="list">
<div collection-repeat="c in contacts">
<h2>{{ c.name }}</h2>
<p>{{ c.email }}</p>
</div>
</div></code></pre>
</div>
</section>
<section>
<div class="col preview demo-frame">
<iframe src="demos/tabs/index.html"></iframe>
</div>
<div class="col code">
<h3>Navigation</h3>
<ul style="margin-left: 70px">
<li>Uses AngularUI Router</li>
<li>Shows back button when possible</li>
<li>Transitions follow direction of nav</li>
<li>Updates the app's URL</li>
<li>Multi-history stack</li>
</ul>
<pre><code data-trim contenteditable class="xml">
<ion-tabs>
<ion-tab title="Home" icon="ion-ios-home">
<ion-nav-view name="home"></ion-nav-view>
</ion-tab>
<ion-tab title="About" icon="ion-ios-information">
<ion-nav-view name="about"></ion-nav-view>
</ion-tab>
<ion-tab title="Contact" icon="ion-ios-world">
<ion-nav-view name="contact"></ion-nav-view>
</ion-tab>
</ion-tabs></code></pre>
</div>
</section>
<section>
<div class="col" style="width:30%">
<img src="img/cached-view.png" class="logo" style="width:100%; margin-top:30px">
</div>
<div class="col" style="width:70%">
<h3>Cached Views</h3>
<ul style="margin-left: 70px">
<li>View elements left in the DOM</li>
<li>$scope disconnected when cached</li>
<li>State maintained</li>
<li>Scroll positions maintained</li>
<li>Life Cycle events</li>
<li>Highly configurable</li>
</ul>
</div>
</section>
<section>
<div class="col preview demo-frame">
<iframe src="demos/swipe-back/index.html"></iframe>
</div>
<div class="col code">
<h3>Swipe To Go Back</h3>
<ul style="margin-left: 70px">
<li>Swipe back to previous view</li>
<li>Interactive transition</li>
<li>Benefit of cached views</li>
<li>Still updates the app's URL</li>
<li>WebView (Cordova) only</li>
</ul>
</div>
</section>
<section>
<div class="col preview demo-frame">
<iframe src="demos/components/index.html"></iframe>
</div>
<div class="col code">
<h3>Other Components</h3>
<ul style="margin-left: 70px">
<li>Side Menus</li>
<li>Actionsheet</li>
<li>Modal</li>
<li>Pull To Refresh</li>
<li>Slidebox</li>
<li>Infinite Scroll</li>
<li>Swipeable List Options</li>
<li>Popup</li>
<li>Popover</li>
<li>Loading Overlay</li>
<li>Inputs</li>
<li>Buttons</li>
<li>etc.</li>
</ul>
</div>
</section>
<section>
<h2>Ionicons</h2>
<img src="img/ionicons.png" class="logo" width="655" height="436">
<p>700+ MIT licensed font-icons included</p>
<p><a href="http://ionicons.com/" target="_blank">ionicons.com</a></p>
</section>
<section>
<div class="col preview demo-frame">
<iframe src="demos/spinner/index.html"></iframe>
</div>
<div class="col code">
<h2>Spinners</h2>
<ul style="margin-left: 70px">
<li>Animated SVGs</li>
<li>More than just rotating icons</li>
<li>Defaults to platform's spinner</li>
<li>Style with CSS</li>
</ul>
<pre><code data-trim contenteditable class="xml">
<ion-spinner></ion-spinner>
<ion-spinner icon="dots"></ion-spinner>
<ion-spinner class="spinner-light"></ion-spinner></code></pre>
</div>
</section>
<section data-background="img/ionitron.png">
<blockquote class="ionic-blue" style=" margin-bottom: 250px; text-align: right;">
...but there's more to Ionic
</blockquote>
</section>
<section data-background="white">
<p><code style="font-size: 1.2em;" class="ionic-blue">npm install -g ionic cordova</code></p>
<img src="img/cli.png" height="220" style="border: 0">
<p class="ionic-blue">Boilerplate <strong>app structure</strong> ready for customization</p>
<p class="ionic-blue"><strong>LiveReload</strong> both local and native builds</p>
<p class="ionic-blue">Build and run <strong>native apps</strong></p>
</section>
<!-- <section data-background="#232323">
<h2 style="color:#32b83b;font-family:Monaco;"><strong>Demo Time!</strong></h2>
<h6 style="color:#32b83b;font-family:Monaco;">May the demo gods be with us</h6>
</section>
<section data-background="img/chromium.jpg">
<h3 style="margin:0; font-size:60px;">Modern</h3>
<h2 style=" font-size:80px;">Chromium!</h2>
<p>Chromium for Android <strong>WebViews</strong></p>
<p><strong>Upgrade Android</strong> 4.0+ and above</p>
<p>Same hardware, <strong>modern software</strong></p>
<p><strong>Amazing performance</strong> improvements</p>
</section> -->
<section data-background="img/ng-cordova.png">
</section>
<section data-background="img/ionicio.png">
</section>
<section data-background="img/ionic-push.png">
</section>
<section data-background="img/ionic-view.png">
</section>
<section data-background="img/ionic-creator.png">
</section>
<section data-background="img/community.jpg">
</section>
<section data-background="img/adoption.png">
<h2 class="ionic-blue">Ionic's Adoption</h2>
<ul class="ionic-blue">
<li>14,000+ Github Stars</li>
<li>Top 50 most starred Github repos</li>
<li>Consistently Top 10 trending JS Github repos</li>
<li>Ionic CLI 70,000 downloads/month</li>
<li>400,000+ Ionic apps have been started from our CLI</li>
<li>Released Alpha: November 2013</li>
<li>Released Beta: March 2014</li>
</ul>
</section>
<!-- <section data-background="white">
<img src="img/v1rc.png">
</section>
<section>
<h2>What's Next!</h2>
<ul>
<li>Removal of JavaScript scrolling</li>
<li>Component Modularity</li>
<li>Customized Animations</li>
<li>Webworkers and Multi-threading</li>
<li>Add more Ionic.io services</li>
<li>...and much more to come ;)</li>
</ul>
</section> -->
<!-- <section data-background="img/ionic-angular-v2.jpg">
</section>
<section>
<h2><code style="font-size: 80px"></html></code></h2>
<h3 style="text-transform:none; font-size: 46px">
<a style="text-decoration:none;" href="https://twitter.com/adamdbradley" target="_blank">@adamdbradley</a>
</h3>
<h4 style="text-transform:none;font-size:36px;margin-top:50px;">
<a style="text-decoration:none;" href="http://adamdbradley.github.io/ionic-present/#/">http://adamdbradley.github.io/ionic-present</a>
</h4>
</section> -->
<section data-background="#232323">
<h2 style="color:#32b83b;font-family:Monaco;"><strong>Let's Get Started</strong></h2>
<h6 style="color:#32b83b;font-family:Monaco;">From 0 Mobile Experience to Running Ionic App</h6>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></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: 'fade', // 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, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true },
{ src: 'plugin/notes/notes.js', async: true }
]
});
</script>
</body>
</html>