SlideShare a Scribd company logo
INTRODUCTION TO IONIC3
Nitin Arora
Software Consultant
Knoldus Inc
INTRODUCTION TO
Agenda
2
● What is Hybrid mobile application?
● Prerequisites
● What is Ionic framework?
● What’s new in ionic 3?
● Ionic 3 benefits
● Project Structure
● Ionic 3 LifeCycle hook
● Cordova plugin
● Key Components
● Navigation Stack
● UI/UX Experience
● Demo
Hybrid
Application
3
A hybrid application (hybrid app) is one that combines
elements of both native and Web applications. It built
with Javascript, HTML, and CSS and run in something
called Webview, a simplified browser within your app.
Benefits of using Hybrid application:
● One codebase to manage
● save time and money
● Easier to scale
● Provide Offline support
Hybrid Web
Application
Examples
4
Prerequisites
5
IONIC
Framework
6
The dev-friendly app platform for building cross-
platform apps with one codebase, for any device,
with the web.
What is Ionic?
Ionic makes it easy to build high-performance mobile and Progressive
Web Apps (or PWAs) that look and feel beautiful on any platform or
device. You can think of Ionic as the front-end UI framework that
handles all of the look and feel and UI interactions your app needs in
order to be compelling.
What’s New in
Ionic 3
7
● Angular 4.0.0
The upgraded Ionic framework is compatible with Angular 4. This
introduces new updated features, support the new version of
typescript, fast and small applications and many more.
● TypeScript 2.1 and 2.2 compatibility
Typescript acquires all the classes of javascript and therefore
known as the superset of javascript. Ionic works with the latest
version of Typescript same like Angular framework.
What’s New in
Ionic 3
8
● IonicPage Decorator
You can set up deep links into your application using IonicPage
Decorator. This allows an easy way to set up lazy loading in your
application and customize the configuration of each and every
individual page.
● Lazy loading
Ionic 3.0 includes support for lazy loading.The changes affect the
file structure and navigation of your application, but they will
ultimately speed the application up.
Benefits of
Ionic 3
9
● Platform Independent Framework
● Cross-Platform Mobile App Development
● Default User Interface
● Based on Angular
● Utilizes Cordova Plugins
Project
Structure
10
LifeCycle hook
of Ionic 3
11
● ionViewDidLoad
● ionViewWillEnter
● ionViewDidEnter
● ionViewWillLeave
● ionViewDidLeave
● ionViewWillUnload
LifeCycle hook
of Ionic 3
12
Building Blocks
of Ionic 3
13
● Modules
● Pages
● Templates
● Services
● External Resources
IONIC 3
Navigation
14
● It’s a simple stack
● PUSH new pages to go forward
● POP the top page off to go backward
● SETROOT to navigate back to the home page.
● Navigation using Lazy loading.
UI/UX :User
Experience
15
● Platform Specific styles
● Responsive Grids
● Sass Variables
● Theming your Ionic App
● IonIcons
Platform
Specific Styles
16
Ionic uses modes to customize the look of
components. Each platform has a default mode, but
this can be overridden. For example, an app being
viewed on an Android platform will use the md
(Material Design) mode.
Usage
<ion-app class="md">
<ion-app class="ios">
<ion-app class="wp">
Responsive
Grids
17
It is heavily influenced by Bootstrap’s grid system.The
grid is composed of three units — a grid, row(s) and
column(s). Columns will expand to fill their row, and will
resize to fit additional columns. It is based on a 12
column layout with different breakpoints based on the
screen size.
<ion-grid>
<ion-row>
<ion-col>
1 of 3
</ion-col>
<ion-col>
2 of 3
</ion-col></ion-row>
</ion-grid>
Sass Variables
18
Sass Variables allow you to define a value once and
use it in multiple places. Variables begin with dollar
signs and are set like CSS properties.
Example:
$control-height: 40px;
Usage:
let’s assign $control-height to the height attribute of two
selectors:
.header {
height: $control-height;
}
Theming your
app
19
Theme support is baked right into Ionic apps. Changing
the theme is as easy as updating the $colors map in
your src/theme/variables.scss file:
$colors: (
primary: #488aff,
secondary: #32db64,
danger: #f53d3d,
light: #f4f4f4,
dark: #222
);
Cordova
plugins
20
Cordova is a project that provides web access to native plugins. They
allow your app to use native device capabilities beyond what is
available to pure web apps. Using Cordova plugins you app can have
access to Battery, Camera, Dialogs, Geolocation, and more…
It is very easy to manage cordova with ionic:
$ ionic cordova plugin
Synopsis
$ ionic cordova plugin [<action>] [<plugin>]
Cordova
plugins
Description
21
Input Description
action
add or remove a plugin;
Plugin
The name of the plugin (corresponds to add and remove).
Examples:
$ ionic cordova plugin
$ ionic cordova plugin add cordova-plugin-inappbrowser@latest
$ ionic cordova plugin rm cordova-plugin-camera
Quick Start
Commands
22
Make sure you have an up-to-date version of
Node.js installed on your system.
● Install ionic with cordova
npm install -g cordova ionic
● Generating a new Project
ionic start myapp blank
● Enter to your project directory and serve you
app
cd myapp
ionic serve
● Generate a new page
Ionic g page pagename
References
23
● Official IONIC documentation
https://ionicframework.com/docs/
● IONIC Themes Tutorials
https://ionicthemes.com/tutorials/about/building-a-
complete-mobile-app-with-ionic-3
Introduction To Ionic3

More Related Content

What's hot (20)

DOCX
Welcome to ionic 2
codeandyou forums
 
PPTX
Introduction to Ionic framework
Shyjal Raazi
 
PDF
Ionic2 the the journey continues ng-sydney 02-03-16 and ionicaustralia 23-0...
Sameera Gayan
 
PDF
Ionic 2 intro
Wojciech Langiewicz
 
PPTX
Hybrid Mobile Development with Apache Cordova,AngularJs and ionic
Ermias Bayu
 
PPTX
Ionic - Hybrid Mobile Application Framework
Sanjay Kumar
 
PPTX
Hybrid Mobile Apps - Meetup
Sanjay Patel
 
PDF
Hybrid Apps with Angular & Ionic Framework
Cihad Horuzoğlu
 
PPTX
Hybrid vs. Native app - Ionic Framework with AngularJS
Zvika Epstein
 
ODP
Use Ionic Framework to develop mobile application
Lucio Grenzi
 
PPTX
Getting started with the Ionic Framework
Anuradha Weeraman
 
PPTX
Ionic Framework - Intro to Hybrid Mobile Application Development
Max Kaplan
 
PDF
ReactJS vs React Native
Capital Numbers
 
PPTX
Ionic Framework - get up and running to build hybrid mobile apps
Andreas Sahle
 
PDF
[Lighting Talk] - Ionic 2 Tour
Code Experts Learning
 
PDF
Ionic Framework
Cristián Cortéz
 
PDF
Intro to ionic 2
Jamal Sinclair O'Garro
 
PPTX
Building mobile app with Ionic Framework
Huy Trần
 
PPT
Ionic Framework
Thinh VoXuan
 
Welcome to ionic 2
codeandyou forums
 
Introduction to Ionic framework
Shyjal Raazi
 
Ionic2 the the journey continues ng-sydney 02-03-16 and ionicaustralia 23-0...
Sameera Gayan
 
Ionic 2 intro
Wojciech Langiewicz
 
Hybrid Mobile Development with Apache Cordova,AngularJs and ionic
Ermias Bayu
 
Ionic - Hybrid Mobile Application Framework
Sanjay Kumar
 
Hybrid Mobile Apps - Meetup
Sanjay Patel
 
Hybrid Apps with Angular & Ionic Framework
Cihad Horuzoğlu
 
Hybrid vs. Native app - Ionic Framework with AngularJS
Zvika Epstein
 
Use Ionic Framework to develop mobile application
Lucio Grenzi
 
Getting started with the Ionic Framework
Anuradha Weeraman
 
Ionic Framework - Intro to Hybrid Mobile Application Development
Max Kaplan
 
ReactJS vs React Native
Capital Numbers
 
Ionic Framework - get up and running to build hybrid mobile apps
Andreas Sahle
 
[Lighting Talk] - Ionic 2 Tour
Code Experts Learning
 
Ionic Framework
Cristián Cortéz
 
Intro to ionic 2
Jamal Sinclair O'Garro
 
Building mobile app with Ionic Framework
Huy Trần
 
Ionic Framework
Thinh VoXuan
 

Similar to Introduction To Ionic3 (20)

PPTX
Developing Hybrid Applications with IONIC
Fuat Buğra AYDIN
 
PDF
Hybrid app development with ionic
Wan Muzaffar Wan Hashim
 
PPTX
Intro to Ionic for Building Hybrid Mobile Applications
Sasha dos Santos
 
PDF
Cross Platform Mobile Apps with the Ionic Framework
Troy Miles
 
PDF
Ionic2 First Lesson of Four
Ahmed Mahmoud Kesha
 
PDF
Developing ionic apps for android and ios
gautham_m79
 
PDF
Ionic Hybrid Mobile Application
Al Sayed Gamal
 
PPTX
Introduction to Ionic (SB AngularJS Meetup)
Sol Tran
 
PDF
Ionic - Revolutionizing Hybrid Mobile Application Development
Justin James
 
PPTX
Workshop on Hybrid App Development with Ionic Framework
Aayush Shrestha
 
PPTX
Hybrid Apps in a Snap
Paulina Gallo
 
PDF
Ionic vancouver 201604
Alamusi Alamusi
 
PPTX
Building an Ionic hybrid mobile app with TypeScript
Serge van den Oever
 
PPTX
Ionic framework
Software Infrastructure
 
ODP
Hybrid application development
Knoldus Inc.
 
PDF
Ionic: The Web SDK for Develop Mobile Apps.
Matheus Cardoso
 
PPTX
Rapid mobile app development using Ionic framework
Swaminathan Vetri
 
PPTX
Developing a native mobile apps using Ionic&Cordova
Damir Beylkhanov
 
DOCX
Ionic
BalajiBas1
 
PDF
Common Ionic Development Mistakes Developers Tend To Make!
Techugo
 
Developing Hybrid Applications with IONIC
Fuat Buğra AYDIN
 
Hybrid app development with ionic
Wan Muzaffar Wan Hashim
 
Intro to Ionic for Building Hybrid Mobile Applications
Sasha dos Santos
 
Cross Platform Mobile Apps with the Ionic Framework
Troy Miles
 
Ionic2 First Lesson of Four
Ahmed Mahmoud Kesha
 
Developing ionic apps for android and ios
gautham_m79
 
Ionic Hybrid Mobile Application
Al Sayed Gamal
 
Introduction to Ionic (SB AngularJS Meetup)
Sol Tran
 
Ionic - Revolutionizing Hybrid Mobile Application Development
Justin James
 
Workshop on Hybrid App Development with Ionic Framework
Aayush Shrestha
 
Hybrid Apps in a Snap
Paulina Gallo
 
Ionic vancouver 201604
Alamusi Alamusi
 
Building an Ionic hybrid mobile app with TypeScript
Serge van den Oever
 
Ionic framework
Software Infrastructure
 
Hybrid application development
Knoldus Inc.
 
Ionic: The Web SDK for Develop Mobile Apps.
Matheus Cardoso
 
Rapid mobile app development using Ionic framework
Swaminathan Vetri
 
Developing a native mobile apps using Ionic&Cordova
Damir Beylkhanov
 
Ionic
BalajiBas1
 
Common Ionic Development Mistakes Developers Tend To Make!
Techugo
 
Ad

More from Knoldus Inc. (20)

PPTX
Angular Hydration Presentation (FrontEnd)
Knoldus Inc.
 
PPTX
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Knoldus Inc.
 
PPTX
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
PPTX
Kanban Metrics Presentation (Project Management)
Knoldus Inc.
 
PPTX
Java 17 features and implementation.pptx
Knoldus Inc.
 
PPTX
Chaos Mesh Introducing Chaos in Kubernetes
Knoldus Inc.
 
PPTX
GraalVM - A Step Ahead of JVM Presentation
Knoldus Inc.
 
PPTX
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
PPTX
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
PPTX
DAPR - Distributed Application Runtime Presentation
Knoldus Inc.
 
PPTX
Introduction to Azure Virtual WAN Presentation
Knoldus Inc.
 
PPTX
Introduction to Argo Rollouts Presentation
Knoldus Inc.
 
PPTX
Intro to Azure Container App Presentation
Knoldus Inc.
 
PPTX
Insights Unveiled Test Reporting and Observability Excellence
Knoldus Inc.
 
PPTX
Introduction to Splunk Presentation (DevOps)
Knoldus Inc.
 
PPTX
Code Camp - Data Profiling and Quality Analysis Framework
Knoldus Inc.
 
PPTX
AWS: Messaging Services in AWS Presentation
Knoldus Inc.
 
PPTX
Amazon Cognito: A Primer on Authentication and Authorization
Knoldus Inc.
 
PPTX
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Knoldus Inc.
 
PPTX
Managing State & HTTP Requests In Ionic.
Knoldus Inc.
 
Angular Hydration Presentation (FrontEnd)
Knoldus Inc.
 
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Knoldus Inc.
 
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
Kanban Metrics Presentation (Project Management)
Knoldus Inc.
 
Java 17 features and implementation.pptx
Knoldus Inc.
 
Chaos Mesh Introducing Chaos in Kubernetes
Knoldus Inc.
 
GraalVM - A Step Ahead of JVM Presentation
Knoldus Inc.
 
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
DAPR - Distributed Application Runtime Presentation
Knoldus Inc.
 
Introduction to Azure Virtual WAN Presentation
Knoldus Inc.
 
Introduction to Argo Rollouts Presentation
Knoldus Inc.
 
Intro to Azure Container App Presentation
Knoldus Inc.
 
Insights Unveiled Test Reporting and Observability Excellence
Knoldus Inc.
 
Introduction to Splunk Presentation (DevOps)
Knoldus Inc.
 
Code Camp - Data Profiling and Quality Analysis Framework
Knoldus Inc.
 
AWS: Messaging Services in AWS Presentation
Knoldus Inc.
 
Amazon Cognito: A Primer on Authentication and Authorization
Knoldus Inc.
 
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Knoldus Inc.
 
Managing State & HTTP Requests In Ionic.
Knoldus Inc.
 
Ad

Recently uploaded (20)

PPTX
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
PDF
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
PPTX
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
PPTX
Java Native Memory Leaks: The Hidden Villain Behind JVM Performance Issues
Tier1 app
 
PPTX
Engineering the Java Web Application (MVC)
abhishekoza1981
 
PPTX
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
PPT
MergeSortfbsjbjsfk sdfik k
RafishaikIT02044
 
PPTX
MiniTool Power Data Recovery Full Crack Latest 2025
muhammadgurbazkhan
 
PDF
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PDF
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
PPTX
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
PDF
Streamline Contractor Lifecycle- TECH EHS Solution
TECH EHS Solution
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
PDF
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
Java Native Memory Leaks: The Hidden Villain Behind JVM Performance Issues
Tier1 app
 
Engineering the Java Web Application (MVC)
abhishekoza1981
 
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
MergeSortfbsjbjsfk sdfik k
RafishaikIT02044
 
MiniTool Power Data Recovery Full Crack Latest 2025
muhammadgurbazkhan
 
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
Streamline Contractor Lifecycle- TECH EHS Solution
TECH EHS Solution
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 

Introduction To Ionic3

  • 1. INTRODUCTION TO IONIC3 Nitin Arora Software Consultant Knoldus Inc INTRODUCTION TO
  • 2. Agenda 2 ● What is Hybrid mobile application? ● Prerequisites ● What is Ionic framework? ● What’s new in ionic 3? ● Ionic 3 benefits ● Project Structure ● Ionic 3 LifeCycle hook ● Cordova plugin ● Key Components ● Navigation Stack ● UI/UX Experience ● Demo
  • 3. Hybrid Application 3 A hybrid application (hybrid app) is one that combines elements of both native and Web applications. It built with Javascript, HTML, and CSS and run in something called Webview, a simplified browser within your app. Benefits of using Hybrid application: ● One codebase to manage ● save time and money ● Easier to scale ● Provide Offline support
  • 6. IONIC Framework 6 The dev-friendly app platform for building cross- platform apps with one codebase, for any device, with the web. What is Ionic? Ionic makes it easy to build high-performance mobile and Progressive Web Apps (or PWAs) that look and feel beautiful on any platform or device. You can think of Ionic as the front-end UI framework that handles all of the look and feel and UI interactions your app needs in order to be compelling.
  • 7. What’s New in Ionic 3 7 ● Angular 4.0.0 The upgraded Ionic framework is compatible with Angular 4. This introduces new updated features, support the new version of typescript, fast and small applications and many more. ● TypeScript 2.1 and 2.2 compatibility Typescript acquires all the classes of javascript and therefore known as the superset of javascript. Ionic works with the latest version of Typescript same like Angular framework.
  • 8. What’s New in Ionic 3 8 ● IonicPage Decorator You can set up deep links into your application using IonicPage Decorator. This allows an easy way to set up lazy loading in your application and customize the configuration of each and every individual page. ● Lazy loading Ionic 3.0 includes support for lazy loading.The changes affect the file structure and navigation of your application, but they will ultimately speed the application up.
  • 9. Benefits of Ionic 3 9 ● Platform Independent Framework ● Cross-Platform Mobile App Development ● Default User Interface ● Based on Angular ● Utilizes Cordova Plugins
  • 11. LifeCycle hook of Ionic 3 11 ● ionViewDidLoad ● ionViewWillEnter ● ionViewDidEnter ● ionViewWillLeave ● ionViewDidLeave ● ionViewWillUnload
  • 13. Building Blocks of Ionic 3 13 ● Modules ● Pages ● Templates ● Services ● External Resources
  • 14. IONIC 3 Navigation 14 ● It’s a simple stack ● PUSH new pages to go forward ● POP the top page off to go backward ● SETROOT to navigate back to the home page. ● Navigation using Lazy loading.
  • 15. UI/UX :User Experience 15 ● Platform Specific styles ● Responsive Grids ● Sass Variables ● Theming your Ionic App ● IonIcons
  • 16. Platform Specific Styles 16 Ionic uses modes to customize the look of components. Each platform has a default mode, but this can be overridden. For example, an app being viewed on an Android platform will use the md (Material Design) mode. Usage <ion-app class="md"> <ion-app class="ios"> <ion-app class="wp">
  • 17. Responsive Grids 17 It is heavily influenced by Bootstrap’s grid system.The grid is composed of three units — a grid, row(s) and column(s). Columns will expand to fill their row, and will resize to fit additional columns. It is based on a 12 column layout with different breakpoints based on the screen size. <ion-grid> <ion-row> <ion-col> 1 of 3 </ion-col> <ion-col> 2 of 3 </ion-col></ion-row> </ion-grid>
  • 18. Sass Variables 18 Sass Variables allow you to define a value once and use it in multiple places. Variables begin with dollar signs and are set like CSS properties. Example: $control-height: 40px; Usage: let’s assign $control-height to the height attribute of two selectors: .header { height: $control-height; }
  • 19. Theming your app 19 Theme support is baked right into Ionic apps. Changing the theme is as easy as updating the $colors map in your src/theme/variables.scss file: $colors: ( primary: #488aff, secondary: #32db64, danger: #f53d3d, light: #f4f4f4, dark: #222 );
  • 20. Cordova plugins 20 Cordova is a project that provides web access to native plugins. They allow your app to use native device capabilities beyond what is available to pure web apps. Using Cordova plugins you app can have access to Battery, Camera, Dialogs, Geolocation, and more… It is very easy to manage cordova with ionic: $ ionic cordova plugin Synopsis $ ionic cordova plugin [<action>] [<plugin>]
  • 21. Cordova plugins Description 21 Input Description action add or remove a plugin; Plugin The name of the plugin (corresponds to add and remove). Examples: $ ionic cordova plugin $ ionic cordova plugin add cordova-plugin-inappbrowser@latest $ ionic cordova plugin rm cordova-plugin-camera
  • 22. Quick Start Commands 22 Make sure you have an up-to-date version of Node.js installed on your system. ● Install ionic with cordova npm install -g cordova ionic ● Generating a new Project ionic start myapp blank ● Enter to your project directory and serve you app cd myapp ionic serve ● Generate a new page Ionic g page pagename
  • 23. References 23 ● Official IONIC documentation https://ionicframework.com/docs/ ● IONIC Themes Tutorials https://ionicthemes.com/tutorials/about/building-a- complete-mobile-app-with-ionic-3