-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
441 lines (351 loc) · 14.1 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Hybrid Mobile Application Development with Ionic Framework</title>
<meta name="description" content="Ionic Framework Presentation: The beautiful, open source framework for developing hybrid mobile apps with HTML5.">
<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>
<img src="img/ionic-logo.png" class="logo" width="296" height="331">
<h4>Hybrid Mobile Application Development with Ionic Framework</h4>
</section>
<section>
<img src="img/me.png" style="position: absolute; top:0; left:0; max-width: 260px; max-height: 260px; border-radius: 30px">
<ul style="position: absolute; top:30px; left:300px;">
<li>Canarıl Bozoluk</li>
<li>Software Developer</li>
<li>Istanbul, Türkiye</li>
<li>Main: Ahri</li>
<li><a href="https://github.com/xelom">github.com/xelom</a></li>
<li><a href="https://xelom.github.io/riot-present">xelom.github.io/riot-present</a></li>
</ul>
</section>
<section>
<h2>Overview</h2>
<ol>
<li>Native vs Hybrid Apps</li>
<li>Intro Ionic</li>
<li>UI Components</li>
<li>Ionic Platform</li>
<li>My Showcase</li>
</ol>
</section>
<section>
<blockquote>
“I want to build an app!”
</blockquote>
</section>
<section>
<h3>More Platforms. More Problems.</h3>
<ul>
<li>Proficiency in each platform required</li>
<li>Entirely separate code bases</li>
<li>Timely & expensive development</li>
</ul>
<p style="margin-top: 60px">
<img src="img/apple.png" class="logo" width="200" height="200" style="margin-right: 10px">
<img src="img/android.png" class="logo" width="200" height="200" style="margin-left: 10px; margin-right: 10px">
<img src="img/windows.png" class="logo" width="200" height="200" style="margin-left: 10px; margin-right: 10px">
<img src="img/blackberry.png" class="logo" width="200" height="200" style="margin-left: 10px;">
</p>
</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">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>400 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>2012</td>
<td>iPhone 5</td>
<td>1.3 GHz dual-core</td>
<td>1 GB</td>
</tr>
<tr>
<td>2015</td>
<td>iPhone 6S</td>
<td>1.84 GHz dual-core</td>
<td>2 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>Don't forget <strong>Crosswalk</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/ios9-adoption.png">
<p style="font-size:10px">https://mixpanel.com/trends/#report/ios_9</p>
</section>
<section data-background="white">
<img src="img/android-adoption-new.png">
<p style="font-size:10px">https://mixpanel.com/trends/#report/android_os_adoption</p>
</section>
<section data-background="img/websdk.png" style="width:100%">
</section>
<section data-background="white">
<img src="img/ionic-logo.svg" style="width:750px;">
</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">Superpowered by</h3>
<h2 style="font-size:90px;">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/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 data-background="img/continuity.png">
</section>
<section>
<div class="col preview demo-frame">
<iframe isrc="demos/list/index.html"></iframe>
</div>
<div class="col code">
<h2>Complex Lists</h2>
<ul style="margin-left: 70px">
<li>AngularJS Directive</li>
<li>Buttons exposed by swiping</li>
<li>Reorder</li>
<li>Delete</li>
</ul>
<pre><code data-trim contenteditable class="xml">
<ion-list>
<ion-item ng-repeat="item in items" item="item">
List Item {{ item.id }}
</ion-item>
</ion-list></code></pre>
</div>
</section>
<section>
<div class="col preview demo-frame">
<iframe isrc="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 isrc="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 preview demo-frame">
<iframe isrc="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>Spinners</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 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>Same hardware, <strong>modern software</strong></p>
<p><strong>Amazing performance</strong> improvements</p>
<p>Don't forget <strong>Crosswalk</strong></p>
</section>
<section data-background="img/ng-cordova.png">
</section>
<section data-background="img/io.png">
</section>
<section data-background="img/ionic-view.png">
</section>
<section data-background="img/ionic-creator.png">
</section>
<section data-background="img/market.png">
</section>
<section data-background="img/ionic-angular-v2.jpg">
</section>
<section>
<h2>My Showcase!</h2>
<br />
<img src="img/ss.png" width="300" height="100%"/>
<img src="img/lades.png" width="300" height="100%"/>
<img src="img/lolespor.png" width="300" height="100%"/>
</section>
<section data-background="img/j4.jpg">
</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 }
]
});
Reveal.addEventListener( 'slidechanged', function( event ) {
// load iframes on page enter to speed up initial load time
console.log(event)
var iframe = event.currentSlide.querySelector('iframe')
if(iframe){
iframe.setAttribute('src',iframe.getAttribute('isrc'));
}
var prevIframe = event.previousSlide.querySelector('iframe');
if(prevIframe){
prevIframe.setAttribute('src','');
}
// event.previousSlide, event.currentSlide, event.indexh, event.indexv
} );
</script>
</body>
</html>