3. HYBRID APPS?
HTML5 that acts like native
Web wrapped in native layer
Direct access to native APIs
Familiar web dev environment
A single code base (web platform!)
17. STANDING ON GIANT'S SHOULDERS
ANGULAR JS
Extends the HTML vocabulary
Proven for large-scale app development
UI Components using Directives & Services
18. Sass!
CSS generated from the Sass preprocessor
Quickly give your app its own look and feel
CSS designed to be easily overridden
Variables based with default settings
19. HOW IT ALL COMES TOGETHER
Your App
Ionic
Angular
WebView (Cordova)
Native App
20.
21. COLLECTION REPEAT
Replacement for Angular's ng-repeat
Inspired by iOS’s UICollectionView
Scroll through thousands of items
Only renders the viewable items
Smooth scrolling!
<div class="list">
<div collection-repeat="c in contacts">
<h2>{{ c.name }}</h2>
<p>{{ c.email }}</p>
</div>
</div>
A
Patrick Adams
1
JeremyAdams
2
JudyAdams
3
Jessica Adams
4
Gloria Adams
5
Matthew Adams
6
My 3000 Cats
22. NAVIGATION
Uses AngularUI Router
Shows back button when possible
Transitions follow direction of nav
Updates the app's URL
Multi-history stack
<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>
Scientific Facts
Home
Home
23. CACHED VIEWS
View elements left in the DOM
$scope disconnected when cached
State maintained
Scroll positions maintained
Life Cycle events
Highly configurable
24. SWIPE TO GO BACK
Swipe back to previous view
Interactive transition
Benefit of cached views
Still updates the app's URL
WebView (Cordova) only
Page 2
Page 1
25. OTHER COMPONENTS
Side Menus
Actionsheet
Modal
Pull To Refresh
Slidebox
Infinite Scroll
Swipeable List Options
Popup
Popover
Loading Overlay
Inputs
Buttons
etc.
Popups
Item 1
Item 2
Toggle
Checkbox
Lightsaber Green
Components
27. SPINNERS
Animated SVGs
More than just rotating icons
Defaults to platform's spinner
Style with CSS
<ion-spinner></ion-spinner>
<ion-spinner icon="dots"></ion-spinner>
<ion-spinner class="spinner-light"></ion-spinner>
40. IONIC'S ADOPTION
16,000+ Github Stars
Top 40 most starred Github repos
Consistently Top 10 trending JS Github repos
Ionic CLI 70,000 downloads/month
600,000+ Ionic apps have been started from our CLI
Released Alpha: November 2013
Released Beta: March 2014