hybrid mobile apps | ionic & angularjs

33
<Hmidi Hamdi> + Hybrid Apps with AngularJS and Ionic Framework

Upload: hamdi-hmidi

Post on 28-Jul-2015

117 views

Category:

Engineering


6 download

TRANSCRIPT

Page 1: Hybrid Mobile Apps | Ionic & AngularJS

<Hmidi Hamdi>

+Hybrid Apps with AngularJS and Ionic

Framework

Page 2: Hybrid Mobile Apps | Ionic & AngularJS

Hmidi HamdiWeb & Mobile DevlopperSoftware Engeneering @ ISSATSoFounder & Member @ IGC JSA @ JCertif Tunisia

Page 3: Hybrid Mobile Apps | Ionic & AngularJS

Do you need Mobile Apps ?

Page 4: Hybrid Mobile Apps | Ionic & AngularJS

More Plateforms ! More Problems

Page 5: Hybrid Mobile Apps | Ionic & AngularJS

Native Apps

● Plateform specific ● Respective Devloppment Tools● Best Performance● Time Consuming● Expensive Devloppement

Page 6: Hybrid Mobile Apps | Ionic & AngularJS

want to support all major plateforms even mobile web

Page 7: Hybrid Mobile Apps | Ionic & AngularJS

You need cool web technologies

Page 8: Hybrid Mobile Apps | Ionic & AngularJS

Hybrid Apps

● All Plateforms(iOS, Android, Windows Phone)● HTML5, CSS3 and JS● Limited Performance● Quick devlopment● Direct Access to Native APIs with Cordova.

Page 9: Hybrid Mobile Apps | Ionic & AngularJS

Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript

Page 10: Hybrid Mobile Apps | Ionic & AngularJS

PlateformsAndroid

Blackberry

FirefoxOS

iOS

Tizen

WebOS

Windows Phone 7

Windows Phone 8

PluginsBattery Status

Camera

Contacts

Device Orientation

Dialogs

File Transfer

Geolocation

Media Capture

Network Information

Splashscreen

Statusbar

Vibration

Page 11: Hybrid Mobile Apps | Ionic & AngularJS

What is Angular JS

Page 12: Hybrid Mobile Apps | Ionic & AngularJS

JavaScript MVW FrameworkFeatures : Directives, Filters, Two-way data

binding, Services, DI and Testability

Page 13: Hybrid Mobile Apps | Ionic & AngularJS

What is Ionic

Page 14: Hybrid Mobile Apps | Ionic & AngularJS

An Open source framework for developing hybrid mobile apps with Angular, Sass and

cordova

Page 15: Hybrid Mobile Apps | Ionic & AngularJS

Best Friend with Angular

● UI Components are Angular Directives● Ready to work with your App

Page 16: Hybrid Mobile Apps | Ionic & AngularJS

Ionicons

Page 17: Hybrid Mobile Apps | Ionic & AngularJS

Lists

Page 18: Hybrid Mobile Apps | Ionic & AngularJS

Complex Lits● Ng Directive● Show by swiping

Page 19: Hybrid Mobile Apps | Ionic & AngularJS

Tabs

Page 20: Hybrid Mobile Apps | Ionic & AngularJS

Side Menu

Page 21: Hybrid Mobile Apps | Ionic & AngularJS

Slide Box

Page 22: Hybrid Mobile Apps | Ionic & AngularJS

Action Sheet

Page 23: Hybrid Mobile Apps | Ionic & AngularJS

Ionic Routing

Page 24: Hybrid Mobile Apps | Ionic & AngularJS
Page 25: Hybrid Mobile Apps | Ionic & AngularJS

Start, Build, Run and emulate

Page 26: Hybrid Mobile Apps | Ionic & AngularJS

Android Building

● Install JDK .● Install Android SDK. ● Add Android SDK tools and plateform-tool to

Path variables.● Install Node JS.● Install Git.● Install Appache Ant.

Page 27: Hybrid Mobile Apps | Ionic & AngularJS

Install Ionic & Cordova Globally

$ npm install -g cordova ionic

Page 28: Hybrid Mobile Apps | Ionic & AngularJS

Ionic Templates

$ ionic start myApp blank $ ionic start myApp tabs $ ionic start myApp sidemenu

Page 29: Hybrid Mobile Apps | Ionic & AngularJS

Clone Demo Project

$ ionic start AppName TemplateName

Page 30: Hybrid Mobile Apps | Ionic & AngularJS

Add Platform, Build & Emulate

$ ionic platform add ios $ ionic build ios $ ionic emulate ios $ ionic serve --lab

Page 31: Hybrid Mobile Apps | Ionic & AngularJS

Let’s Build

Page 32: Hybrid Mobile Apps | Ionic & AngularJS

Q/A

Page 33: Hybrid Mobile Apps | Ionic & AngularJS

Thank You !!!