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)

PDF
Ionic2 First Lesson of Four
Ahmed Mahmoud Kesha
 
PPTX
Developing Hybrid Applications with IONIC
Fuat Buğra AYDIN
 
PDF
Developing ionic apps for android and ios
gautham_m79
 
PPTX
Hybrid app development frameworks
Squash Apps Pvt Ltd
 
PDF
Cross Platform Mobile Apps with the Ionic Framework
Troy Miles
 
PDF
Why do developers prefer ionic to build progressive web apps
Moon Technolabs Pvt. Ltd.
 
PDF
React Native vs Ionic - The Best Mobile App Framework
Pixlogix Infotech
 
PDF
Building Mobile Apps With Ionic & Loopback
Chibuzor Obiora
 
PDF
6 Best JavaScript Framework for Mobile Apps Trending in 2023.pdf
Baek Yongsun
 
PDF
Important Backend Frameworks To Remember For Businesses In 2023
Netizens Technologies
 
PPTX
Workshop on Hybrid App Development with Ionic Framework
Aayush Shrestha
 
PPTX
Ionic Framework: Key Features
adityakumar2080
 
PPTX
Native - Hybrid - Web Mobile Architectures
Phong Le Duy
 
PDF
Angular JS 2_0 BCS CTO_in_Res V3
Bruce Pentreath
 
PPTX
Real World ionic Development
Chris Griffith
 
PPTX
Angular from Zero to Mastery - Training (Intermediate)
Smail LOUNES
 
PPTX
Ionic framework
Software Infrastructure
 
PDF
Cross Platform Mobile Apps with the Ionic Framework
Troy Miles
 
PDF
iOS App Using cordova
Mitosis Technology
 
PPTX
Building mobile apps using meteorJS
Entrepreneur / Startup
 
Ionic2 First Lesson of Four
Ahmed Mahmoud Kesha
 
Developing Hybrid Applications with IONIC
Fuat Buğra AYDIN
 
Developing ionic apps for android and ios
gautham_m79
 
Hybrid app development frameworks
Squash Apps Pvt Ltd
 
Cross Platform Mobile Apps with the Ionic Framework
Troy Miles
 
Why do developers prefer ionic to build progressive web apps
Moon Technolabs Pvt. Ltd.
 
React Native vs Ionic - The Best Mobile App Framework
Pixlogix Infotech
 
Building Mobile Apps With Ionic & Loopback
Chibuzor Obiora
 
6 Best JavaScript Framework for Mobile Apps Trending in 2023.pdf
Baek Yongsun
 
Important Backend Frameworks To Remember For Businesses In 2023
Netizens Technologies
 
Workshop on Hybrid App Development with Ionic Framework
Aayush Shrestha
 
Ionic Framework: Key Features
adityakumar2080
 
Native - Hybrid - Web Mobile Architectures
Phong Le Duy
 
Angular JS 2_0 BCS CTO_in_Res V3
Bruce Pentreath
 
Real World ionic Development
Chris Griffith
 
Angular from Zero to Mastery - Training (Intermediate)
Smail LOUNES
 
Ionic framework
Software Infrastructure
 
Cross Platform Mobile Apps with the Ionic Framework
Troy Miles
 
iOS App Using cordova
Mitosis Technology
 
Building mobile apps using meteorJS
Entrepreneur / Startup
 
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)

PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PDF
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PDF
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PDF
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 

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