+ All Categories
Home > Documents > Ionic Framework - Μονάδες...

Ionic Framework - Μονάδες...

Date post: 18-Apr-2020
Category:
Upload: others
View: 11 times
Download: 0 times
Share this document with a friend
29
Ionic Framework Front-end framework for developing hybrid mobile apps with HTML5
Transcript
Page 1: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Ionic FrameworkFront-end framework for developing hybrid mobile apps with HTML5

Page 2: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Mobile development

source: Native mobile apps:The wrong choice for business?

Page 3: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Why Hybrid

source: Hybrid - Applications for Mobile

Page 4: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Open Source Frameworks

Appcelerator titanium http://www.appcelerator.com/titanium/

BridgeIt http://bridgeit.mobi/index.html

ChocolateChip Ui http://chocolatechip-ui.com/

Ionic http://ionicframework.com/

LigerMobile http://reachlocal.github.io/liger/

...

Page 6: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Apache Cordova

● Set of device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript.

Page 7: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Apache Cordova

● Camera○ cordova plugin add org.apache.cordova.camera○ navigator.camera.getPicture( cameraSuccess, cameraError,

cameraOptions );

source: Cordova Camera Plugin

Page 8: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Apache Cordova

● Vibration○ cordova plugin add org.apache.cordova.vibration○ navigator.vibrate(time)

source: Cordova Vibration Plugin

Page 9: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Angular js

● A structural MVC framework for dynamic web apps. It lets you use HTML as your template language and lets you extend HTML's syntax to express your application's components clearly and succinctly

Page 11: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Angular js

source: Everything you need to understand to start with AngularJS

Expressions AngularJS let you execute expressions directly within your HTML pages

Page 12: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Angular js

source: http://mattiash.github.io/angular-presentation/presentation.html

Model - Controller View

Result

Page 13: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Angular js

source: Everything you need to understand to start with AngularJS

DirectivesDirectives are markers on a DOM element that tell AngularJS's HTML compiler to attach a specified behavior to that DOM element ● ng-app: responsible for bootstrapping your app defining its scope. In

AngularJS, you can have multiple apps within the same page● ng-controller: directive defines which controller will be in charge of

your view● ng-repeat: define your template scope when looping through

collections

Page 14: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Angular js

source: A Step-by-Step Guide to Your First AngularJS App

Page 15: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Angular js

source: A Step-by-Step Guide to Your First AngularJS App

controller.js

app.js

The $scope variable is supposed to link your controller and views. In particular, it holds all the data that will be used within your template.

Page 16: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Angular js

source: A Step-by-Step Guide to Your First AngularJS App

Page 17: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Angular js

source: Everything you need to understand to start with AngularJS

FiltersAngularJS let you change the way your data are displayed in your page

Page 18: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Ionic

Ionic is a bunch of UI elements made in HTML5 & CSS3 that covers a lot of the mobile interactions

The big advantage of Ionic is all the UI components are AngularJS Directives

Page 19: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Ionic (Lists)

source: Ionic presentation

Page 20: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Ionic (Complex Lists)

source: Ionic presentation

Page 21: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Ionic (Side menu)

source: Ionic presentation

Page 22: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Ionic (Slide Box)

source: Ionic presentation

Page 23: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Ionic (Pull to refresh)

source: Ionic presentation

Page 24: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Ionic (Pull to refresh)

source: Ionic presentation

Page 25: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Ionic (Pull to refresh)

source: Ionic presentation

Page 26: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Ionic (Installation)

Page 27: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Ionic (Netbeans)

Page 28: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Ionic (Netbeans)

Page 29: Ionic Framework - Μονάδες Αριστείαςma.ellak.gr/documents/2014/10/ionic-framework.pdf · ng-app: responsible for bootstrapping your app defining its scope. In AngularJS,

Ionic (Netbeans)


Recommended