(Go: >> BACK << -|- >> HOME <<)

SlideShare a Scribd company logo
1© 2014 Virtusa Corporation. All rights reserved
Getting started with the
Ionic Framework
Anuradha Weeraman
Senior Architect
Virtusa
21 Sep 2015
Colombo Mobile
2
What is ionic
GETTING STARTED WITH THE IONIC FRAMEWORK
• The Ionic Framework is a hybrid mobile development technology
• Relative new-comer. version 1.0 released in May 2015
• Allows developers to build mobile optimized apps
• Uses standard technologies like HTML5, CSS3 and Javascript
• Built on top of popular frameworks like Angular and Cordova
• Has a vibrant community and is being enhanced quite steadily
• Has the backing of Drifty, the startup behind ionic
• Ionic is to mobile what Bootstrap is to web applications
3
A few examples of apps built using ionic
GETTING STARTED WITH THE IONIC FRAMEWORK
4
What you need to get started building ionic apps
GETTING STARTED WITH THE IONIC FRAMEWORK
• Linux, Mac or Windows
• NodeJS
• Text Editor
• Web Browser
• Android / iOS SDK and related tools
• Some knowledge on
• Javascript
• CSS3
• HTML5
• AngularJS
5
Essential Tools
GETTING STARTED WITH THE IONIC FRAMEWORK
npm install –g ionic cordova
6
The components of ionic
GETTING STARTED WITH THE IONIC FRAMEWORK
Android iOS
Cordova
Angular
Ionic CSS components and library
Apps Apps
7
Angular JS
GETTING STARTED WITH THE IONIC FRAMEWORK
• Model View Controller (MVC)
• Dependency injection
• Data binding
• HTML templates
• Directives
• Services
• Routing and navigation
• Deep linking
8
Apache Cordova
GETTING STARTED WITH THE IONIC FRAMEWORK
• Contributed to ASF by Adobe
• WebView on steroids
• Consistent JS API across platforms
• Capable of hosting web apps that access the hardware
• 1000+ plugins available in the eco system
• Open source and actively developed
• Foundation for ionic
• Angular-ized by ngCordova
9
Essential Tools – Bower
GETTING STARTED WITH THE IONIC FRAMEWORK
npm install –g bower
10
Demo of ionic
GETTING STARTED WITH THE IONIC FRAMEWORK
• Create a single view app
• Load data to a list using $http
• Render the list using the ionic list component
• Add a Javascript library
• Add a Cordova plugin
11
Ionicons
GETTING STARTED WITH THE IONIC FRAMEWORK
• Bundled with ionic
• 733 scalable icons
• Searchable on the website
12
Essential Tools – Grunt vs Gulp
GETTING STARTED WITH THE IONIC FRAMEWORK
Only difference is the way you configure your tasks and how they
execute the tasks.
Configuration: Grunt is configuration based. Gulp is stream based.
Execution: Grunt is sequential. Gulp runs concurrently.
13
Some best practices
GETTING STARTED WITH THE IONIC FRAMEWORK
• Convert all HTML templates to Angular JS templates (gulp-
angular-templatecache)
• Concatenate files (gulp-useref)
• Minify and obfuscate the code (grunt-contrib-uglify)
• Prevent dependency injection from breaking when the app is
minified (gulp-ng-annotate)
14
Essential Tools – unit testing and code coverage
GETTING STARTED WITH THE IONIC FRAMEWORK
Karma, PhantomJS and Istanbul
For unit testing and code coverage
15
Essential Tools – yeoman
GETTING STARTED WITH THE IONIC FRAMEWORK
Can be used to scaffold an ionic app which incorporates best
practices and tools so you can immediately get to work building the
app and not setting up frameworks. Let’s see a small demo.
16
Essential Tools – Crosswalk
GETTING STARTED WITH THE IONIC FRAMEWORK
10x increase in HTML/CSS rendering.
App size will increase by 10-15 MB.
17
Alternatives
GETTING STARTED WITH THE IONIC FRAMEWORK
Ionic competitor.
Less well known.
Community is not as
active as ionic.
iOS centric UX.
Uses it’s own MVC
framework.
18
Answer the question and win a book!
GETTING STARTED WITH THE IONIC FRAMEWORK
19
Answer the question and win a book!
GETTING STARTED WITH THE IONIC FRAMEWORK
What is the command used to install ionic?
1. bower install ionic
2. apt-get install ionic
3. npm install –g ionic
4. yum install ionic
20© 2014 Virtusa Corporation. All rights reserved
© 2014 Virtusa Corporation. All rights reserved. Virtusa and all other related logos are either
registered trademarks or trademarks of Virtusa Corporation in the United States, the European
Union, and/or India. All other company and service names are the property of their respective holders
and may be registered trademarks or trademarks in the United States and/or other countries.
Anuradha Weeraman
aweeraman@virtusa.comThanks

More Related Content

What's hot

Hybrid vs. Native app - Ionic Framework with AngularJS
Hybrid vs. Native app - Ionic Framework with AngularJSHybrid vs. Native app - Ionic Framework with AngularJS
Hybrid vs. Native app - Ionic Framework with AngularJS
Zvika Epstein
 
Cordova, Angularjs & Ionic @ Codeaholics
Cordova, Angularjs & Ionic @ CodeaholicsCordova, Angularjs & Ionic @ Codeaholics
Cordova, Angularjs & Ionic @ Codeaholics
Eddie Lau
 
Building Mobile Apps with Cordova , AngularJS and Ionic
Building Mobile Apps with Cordova , AngularJS and IonicBuilding Mobile Apps with Cordova , AngularJS and Ionic
Building Mobile Apps with Cordova , AngularJS and Ionic
Kadhem Soltani
 
Hybrid Mobile Development with Apache Cordova,AngularJs and ionic
Hybrid Mobile Development with Apache Cordova,AngularJs and ionicHybrid Mobile Development with Apache Cordova,AngularJs and ionic
Hybrid Mobile Development with Apache Cordova,AngularJs and ionic
Ermias Bayu
 
Use Ionic Framework to develop mobile application
Use Ionic Framework to develop mobile applicationUse Ionic Framework to develop mobile application
Use Ionic Framework to develop mobile application
Lucio Grenzi
 
Hybrid app in ionic framework overview
Hybrid app in ionic framework overviewHybrid app in ionic framework overview
Hybrid app in ionic framework overview
Sanket Devlekar
 
Introduction to the Ionic Framework
Introduction to the Ionic FrameworkIntroduction to the Ionic Framework
Introduction to the Ionic Framework
rrjohnson85
 
Building mobile app with Ionic Framework
Building mobile app with Ionic FrameworkBuilding mobile app with Ionic Framework
Building mobile app with Ionic Framework
Huy Trần
 
Introduction to Ionic framework
Introduction to Ionic frameworkIntroduction to Ionic framework
Introduction to Ionic framework
Shyjal Raazi
 
Build Consumer Apps Using Mobile SDK and Ionic Framework
Build Consumer Apps Using Mobile SDK and Ionic FrameworkBuild Consumer Apps Using Mobile SDK and Ionic Framework
Build Consumer Apps Using Mobile SDK and Ionic Framework
Salesforce Developers
 
Creating an hybrid app in minutes with Ionic Framework
Creating an hybrid app in minutes with Ionic FrameworkCreating an hybrid app in minutes with Ionic Framework
Creating an hybrid app in minutes with Ionic Framework
Julien Renaux
 
Ionic Framework
Ionic FrameworkIonic Framework
Ionic Framework
Thinh VoXuan
 
Creating mobile apps - an introduction to Ionic (Engage 2016)
Creating mobile apps - an introduction to Ionic (Engage 2016)Creating mobile apps - an introduction to Ionic (Engage 2016)
Creating mobile apps - an introduction to Ionic (Engage 2016)
Mark Leusink
 
Mobile Applications with Angular 4 and Ionic 3
Mobile Applications with Angular 4 and Ionic 3Mobile Applications with Angular 4 and Ionic 3
Mobile Applications with Angular 4 and Ionic 3
Oleksandr Tryshchenko
 
Workshop Ionic Framework - CC FE & UX
Workshop Ionic Framework - CC FE & UXWorkshop Ionic Framework - CC FE & UX
Workshop Ionic Framework - CC FE & UX
JWORKS powered by Ordina
 
Ionic Framework
Ionic FrameworkIonic Framework
Ionic Framework
Cristián Cortéz
 
Ionic Framework
Ionic FrameworkIonic Framework
Ionic Framework
Dylan Swartz
 
Workshop on Hybrid App Development with Ionic Framework
Workshop on Hybrid App Development with Ionic FrameworkWorkshop on Hybrid App Development with Ionic Framework
Workshop on Hybrid App Development with Ionic Framework
Aayush Shrestha
 
Hybrid app development with ionic
Hybrid app development with ionicHybrid app development with ionic
Hybrid app development with ionic
Wan Muzaffar Wan Hashim
 
Ionic 2 intro
Ionic 2   introIonic 2   intro
Ionic 2 intro
Wojciech Langiewicz
 

What's hot (20)

Hybrid vs. Native app - Ionic Framework with AngularJS
Hybrid vs. Native app - Ionic Framework with AngularJSHybrid vs. Native app - Ionic Framework with AngularJS
Hybrid vs. Native app - Ionic Framework with AngularJS
 
Cordova, Angularjs & Ionic @ Codeaholics
Cordova, Angularjs & Ionic @ CodeaholicsCordova, Angularjs & Ionic @ Codeaholics
Cordova, Angularjs & Ionic @ Codeaholics
 
Building Mobile Apps with Cordova , AngularJS and Ionic
Building Mobile Apps with Cordova , AngularJS and IonicBuilding Mobile Apps with Cordova , AngularJS and Ionic
Building Mobile Apps with Cordova , AngularJS and Ionic
 
Hybrid Mobile Development with Apache Cordova,AngularJs and ionic
Hybrid Mobile Development with Apache Cordova,AngularJs and ionicHybrid Mobile Development with Apache Cordova,AngularJs and ionic
Hybrid Mobile Development with Apache Cordova,AngularJs and ionic
 
Use Ionic Framework to develop mobile application
Use Ionic Framework to develop mobile applicationUse Ionic Framework to develop mobile application
Use Ionic Framework to develop mobile application
 
Hybrid app in ionic framework overview
Hybrid app in ionic framework overviewHybrid app in ionic framework overview
Hybrid app in ionic framework overview
 
Introduction to the Ionic Framework
Introduction to the Ionic FrameworkIntroduction to the Ionic Framework
Introduction to the Ionic Framework
 
Building mobile app with Ionic Framework
Building mobile app with Ionic FrameworkBuilding mobile app with Ionic Framework
Building mobile app with Ionic Framework
 
Introduction to Ionic framework
Introduction to Ionic frameworkIntroduction to Ionic framework
Introduction to Ionic framework
 
Build Consumer Apps Using Mobile SDK and Ionic Framework
Build Consumer Apps Using Mobile SDK and Ionic FrameworkBuild Consumer Apps Using Mobile SDK and Ionic Framework
Build Consumer Apps Using Mobile SDK and Ionic Framework
 
Creating an hybrid app in minutes with Ionic Framework
Creating an hybrid app in minutes with Ionic FrameworkCreating an hybrid app in minutes with Ionic Framework
Creating an hybrid app in minutes with Ionic Framework
 
Ionic Framework
Ionic FrameworkIonic Framework
Ionic Framework
 
Creating mobile apps - an introduction to Ionic (Engage 2016)
Creating mobile apps - an introduction to Ionic (Engage 2016)Creating mobile apps - an introduction to Ionic (Engage 2016)
Creating mobile apps - an introduction to Ionic (Engage 2016)
 
Mobile Applications with Angular 4 and Ionic 3
Mobile Applications with Angular 4 and Ionic 3Mobile Applications with Angular 4 and Ionic 3
Mobile Applications with Angular 4 and Ionic 3
 
Workshop Ionic Framework - CC FE & UX
Workshop Ionic Framework - CC FE & UXWorkshop Ionic Framework - CC FE & UX
Workshop Ionic Framework - CC FE & UX
 
Ionic Framework
Ionic FrameworkIonic Framework
Ionic Framework
 
Ionic Framework
Ionic FrameworkIonic Framework
Ionic Framework
 
Workshop on Hybrid App Development with Ionic Framework
Workshop on Hybrid App Development with Ionic FrameworkWorkshop on Hybrid App Development with Ionic Framework
Workshop on Hybrid App Development with Ionic Framework
 
Hybrid app development with ionic
Hybrid app development with ionicHybrid app development with ionic
Hybrid app development with ionic
 
Ionic 2 intro
Ionic 2   introIonic 2   intro
Ionic 2 intro
 

Similar to Getting started with the Ionic Framework

Why do developers prefer ionic to build progressive web apps
Why do developers prefer ionic to build progressive web apps  Why do developers prefer ionic to build progressive web apps
Why do developers prefer ionic to build progressive web apps
Moon Technolabs Pvt. Ltd.
 
Building Mobile Apps With Ionic & Loopback
Building Mobile Apps With Ionic & LoopbackBuilding Mobile Apps With Ionic & Loopback
Building Mobile Apps With Ionic & Loopback
Chibuzor Obiora
 
Headlessdrupalcordovaapp
HeadlessdrupalcordovaappHeadlessdrupalcordovaapp
Headlessdrupalcordovaapp
UniMity Solutions
 
Ionic framework
Ionic frameworkIonic framework
Ionic framework
Software Infrastructure
 
Developing Hybrid Applications with IONIC
Developing Hybrid Applications with IONICDeveloping Hybrid Applications with IONIC
Developing Hybrid Applications with IONIC
Fuat Buğra AYDIN
 
Ionic Framework: Key Features
Ionic Framework: Key FeaturesIonic Framework: Key Features
Ionic Framework: Key Features
adityakumar2080
 
Ionic
IonicIonic
Building mobile apps using meteorJS
Building mobile apps using meteorJSBuilding mobile apps using meteorJS
Building mobile apps using meteorJS
Entrepreneur / Startup
 
Introduction to Ionic (SB AngularJS Meetup)
Introduction to Ionic (SB AngularJS Meetup)Introduction to Ionic (SB AngularJS Meetup)
Introduction to Ionic (SB AngularJS Meetup)
Sol Tran
 
Common Ionic Development Mistakes Developers Tend To Make!
Common Ionic Development Mistakes Developers Tend To Make!Common Ionic Development Mistakes Developers Tend To Make!
Common Ionic Development Mistakes Developers Tend To Make!
Techugo
 
Hybrid application development
Hybrid application developmentHybrid application development
Hybrid application development
Knoldus Inc.
 
The Best Alternatives To The Ionic Framework.pdf
The Best Alternatives To The Ionic Framework.pdfThe Best Alternatives To The Ionic Framework.pdf
The Best Alternatives To The Ionic Framework.pdf
Moon Technolabs Pvt. Ltd.
 
Introduction to Cross-Platform Hybrid Mobile App Development
Introduction to Cross-Platform Hybrid Mobile App DevelopmentIntroduction to Cross-Platform Hybrid Mobile App Development
Introduction to Cross-Platform Hybrid Mobile App Development
Özcan Zafer AYAN
 
Significant reasons to choose ionic for crafting progressive web applications!
Significant reasons to choose ionic for crafting progressive web applications!Significant reasons to choose ionic for crafting progressive web applications!
Significant reasons to choose ionic for crafting progressive web applications!
Shelly Megan
 
An overview of Ionic
An overview of IonicAn overview of Ionic
Is Ionic good for Mobile app development?
Is Ionic good for Mobile app development?Is Ionic good for Mobile app development?
Is Ionic good for Mobile app development?
adityakumar2080
 
Your choices for building a mobile app in 2016
Your choices for building a mobile app in 2016Your choices for building a mobile app in 2016
Your choices for building a mobile app in 2016
Jad Salhani
 
Introduction to hybrid application development
Introduction to hybrid application developmentIntroduction to hybrid application development
Introduction to hybrid application development
Kunjan Thakkar
 
Native - Hybrid - Web Mobile Architectures
Native - Hybrid - Web Mobile ArchitecturesNative - Hybrid - Web Mobile Architectures
Native - Hybrid - Web Mobile Architectures
Phong Le Duy
 
IONIC VS. REACT NATIVE – WHICH FRAMEWORK IS BETTER FOR CROSS-PLATFORM MOBILE ...
IONIC VS. REACT NATIVE – WHICH FRAMEWORK IS BETTER FOR CROSS-PLATFORM MOBILE ...IONIC VS. REACT NATIVE – WHICH FRAMEWORK IS BETTER FOR CROSS-PLATFORM MOBILE ...
IONIC VS. REACT NATIVE – WHICH FRAMEWORK IS BETTER FOR CROSS-PLATFORM MOBILE ...
Laura Miller
 

Similar to Getting started with the Ionic Framework (20)

Why do developers prefer ionic to build progressive web apps
Why do developers prefer ionic to build progressive web apps  Why do developers prefer ionic to build progressive web apps
Why do developers prefer ionic to build progressive web apps
 
Building Mobile Apps With Ionic & Loopback
Building Mobile Apps With Ionic & LoopbackBuilding Mobile Apps With Ionic & Loopback
Building Mobile Apps With Ionic & Loopback
 
Headlessdrupalcordovaapp
HeadlessdrupalcordovaappHeadlessdrupalcordovaapp
Headlessdrupalcordovaapp
 
Ionic framework
Ionic frameworkIonic framework
Ionic framework
 
Developing Hybrid Applications with IONIC
Developing Hybrid Applications with IONICDeveloping Hybrid Applications with IONIC
Developing Hybrid Applications with IONIC
 
Ionic Framework: Key Features
Ionic Framework: Key FeaturesIonic Framework: Key Features
Ionic Framework: Key Features
 
Ionic
IonicIonic
Ionic
 
Building mobile apps using meteorJS
Building mobile apps using meteorJSBuilding mobile apps using meteorJS
Building mobile apps using meteorJS
 
Introduction to Ionic (SB AngularJS Meetup)
Introduction to Ionic (SB AngularJS Meetup)Introduction to Ionic (SB AngularJS Meetup)
Introduction to Ionic (SB AngularJS Meetup)
 
Common Ionic Development Mistakes Developers Tend To Make!
Common Ionic Development Mistakes Developers Tend To Make!Common Ionic Development Mistakes Developers Tend To Make!
Common Ionic Development Mistakes Developers Tend To Make!
 
Hybrid application development
Hybrid application developmentHybrid application development
Hybrid application development
 
The Best Alternatives To The Ionic Framework.pdf
The Best Alternatives To The Ionic Framework.pdfThe Best Alternatives To The Ionic Framework.pdf
The Best Alternatives To The Ionic Framework.pdf
 
Introduction to Cross-Platform Hybrid Mobile App Development
Introduction to Cross-Platform Hybrid Mobile App DevelopmentIntroduction to Cross-Platform Hybrid Mobile App Development
Introduction to Cross-Platform Hybrid Mobile App Development
 
Significant reasons to choose ionic for crafting progressive web applications!
Significant reasons to choose ionic for crafting progressive web applications!Significant reasons to choose ionic for crafting progressive web applications!
Significant reasons to choose ionic for crafting progressive web applications!
 
An overview of Ionic
An overview of IonicAn overview of Ionic
An overview of Ionic
 
Is Ionic good for Mobile app development?
Is Ionic good for Mobile app development?Is Ionic good for Mobile app development?
Is Ionic good for Mobile app development?
 
Your choices for building a mobile app in 2016
Your choices for building a mobile app in 2016Your choices for building a mobile app in 2016
Your choices for building a mobile app in 2016
 
Introduction to hybrid application development
Introduction to hybrid application developmentIntroduction to hybrid application development
Introduction to hybrid application development
 
Native - Hybrid - Web Mobile Architectures
Native - Hybrid - Web Mobile ArchitecturesNative - Hybrid - Web Mobile Architectures
Native - Hybrid - Web Mobile Architectures
 
IONIC VS. REACT NATIVE – WHICH FRAMEWORK IS BETTER FOR CROSS-PLATFORM MOBILE ...
IONIC VS. REACT NATIVE – WHICH FRAMEWORK IS BETTER FOR CROSS-PLATFORM MOBILE ...IONIC VS. REACT NATIVE – WHICH FRAMEWORK IS BETTER FOR CROSS-PLATFORM MOBILE ...
IONIC VS. REACT NATIVE – WHICH FRAMEWORK IS BETTER FOR CROSS-PLATFORM MOBILE ...
 

Recently uploaded

What Not to Document and Why_ (North Bay Python 2024)
What Not to Document and Why_ (North Bay Python 2024)What Not to Document and Why_ (North Bay Python 2024)
What Not to Document and Why_ (North Bay Python 2024)
Margaret Fero
 
Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
Emerging Tech
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
UiPathCommunity
 
MYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
MYIR Product Brochure - A Global Provider of Embedded SOMs & SolutionsMYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
MYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
Linda Zhang
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
SynapseIndia
 
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
ArgaBisma
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
shanthidl1
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
Aurora Consulting
 
Performance Budgets for the Real World by Tammy Everts
Performance Budgets for the Real World by Tammy EvertsPerformance Budgets for the Real World by Tammy Everts
Performance Budgets for the Real World by Tammy Everts
ScyllaDB
 
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
jackson110191
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
Stephanie Beckett
 
20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
Matthew Sinclair
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
Vijayananda Mohire
 
How Netflix Builds High Performance Applications at Global Scale
How Netflix Builds High Performance Applications at Global ScaleHow Netflix Builds High Performance Applications at Global Scale
How Netflix Builds High Performance Applications at Global Scale
ScyllaDB
 
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
amitchopra0215
 
What's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdfWhat's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdf
SeasiaInfotech2
 
Data Protection in a Connected World: Sovereignty and Cyber Security
Data Protection in a Connected World: Sovereignty and Cyber SecurityData Protection in a Connected World: Sovereignty and Cyber Security
Data Protection in a Connected World: Sovereignty and Cyber Security
anupriti
 
AI_dev Europe 2024 - From OpenAI to Opensource AI
AI_dev Europe 2024 - From OpenAI to Opensource AIAI_dev Europe 2024 - From OpenAI to Opensource AI
AI_dev Europe 2024 - From OpenAI to Opensource AI
Raphaël Semeteys
 
Hire a private investigator to get cell phone records
Hire a private investigator to get cell phone recordsHire a private investigator to get cell phone records
Hire a private investigator to get cell phone records
HackersList
 

Recently uploaded (20)

What Not to Document and Why_ (North Bay Python 2024)
What Not to Document and Why_ (North Bay Python 2024)What Not to Document and Why_ (North Bay Python 2024)
What Not to Document and Why_ (North Bay Python 2024)
 
Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
 
MYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
MYIR Product Brochure - A Global Provider of Embedded SOMs & SolutionsMYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
MYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
 
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
 
Performance Budgets for the Real World by Tammy Everts
Performance Budgets for the Real World by Tammy EvertsPerformance Budgets for the Real World by Tammy Everts
Performance Budgets for the Real World by Tammy Everts
 
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
 
20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
 
How Netflix Builds High Performance Applications at Global Scale
How Netflix Builds High Performance Applications at Global ScaleHow Netflix Builds High Performance Applications at Global Scale
How Netflix Builds High Performance Applications at Global Scale
 
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
 
What's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdfWhat's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdf
 
Data Protection in a Connected World: Sovereignty and Cyber Security
Data Protection in a Connected World: Sovereignty and Cyber SecurityData Protection in a Connected World: Sovereignty and Cyber Security
Data Protection in a Connected World: Sovereignty and Cyber Security
 
AI_dev Europe 2024 - From OpenAI to Opensource AI
AI_dev Europe 2024 - From OpenAI to Opensource AIAI_dev Europe 2024 - From OpenAI to Opensource AI
AI_dev Europe 2024 - From OpenAI to Opensource AI
 
Hire a private investigator to get cell phone records
Hire a private investigator to get cell phone recordsHire a private investigator to get cell phone records
Hire a private investigator to get cell phone records
 

Getting started with the Ionic Framework

  • 1. 1© 2014 Virtusa Corporation. All rights reserved Getting started with the Ionic Framework Anuradha Weeraman Senior Architect Virtusa 21 Sep 2015 Colombo Mobile
  • 2. 2 What is ionic GETTING STARTED WITH THE IONIC FRAMEWORK • The Ionic Framework is a hybrid mobile development technology • Relative new-comer. version 1.0 released in May 2015 • Allows developers to build mobile optimized apps • Uses standard technologies like HTML5, CSS3 and Javascript • Built on top of popular frameworks like Angular and Cordova • Has a vibrant community and is being enhanced quite steadily • Has the backing of Drifty, the startup behind ionic • Ionic is to mobile what Bootstrap is to web applications
  • 3. 3 A few examples of apps built using ionic GETTING STARTED WITH THE IONIC FRAMEWORK
  • 4. 4 What you need to get started building ionic apps GETTING STARTED WITH THE IONIC FRAMEWORK • Linux, Mac or Windows • NodeJS • Text Editor • Web Browser • Android / iOS SDK and related tools • Some knowledge on • Javascript • CSS3 • HTML5 • AngularJS
  • 5. 5 Essential Tools GETTING STARTED WITH THE IONIC FRAMEWORK npm install –g ionic cordova
  • 6. 6 The components of ionic GETTING STARTED WITH THE IONIC FRAMEWORK Android iOS Cordova Angular Ionic CSS components and library Apps Apps
  • 7. 7 Angular JS GETTING STARTED WITH THE IONIC FRAMEWORK • Model View Controller (MVC) • Dependency injection • Data binding • HTML templates • Directives • Services • Routing and navigation • Deep linking
  • 8. 8 Apache Cordova GETTING STARTED WITH THE IONIC FRAMEWORK • Contributed to ASF by Adobe • WebView on steroids • Consistent JS API across platforms • Capable of hosting web apps that access the hardware • 1000+ plugins available in the eco system • Open source and actively developed • Foundation for ionic • Angular-ized by ngCordova
  • 9. 9 Essential Tools – Bower GETTING STARTED WITH THE IONIC FRAMEWORK npm install –g bower
  • 10. 10 Demo of ionic GETTING STARTED WITH THE IONIC FRAMEWORK • Create a single view app • Load data to a list using $http • Render the list using the ionic list component • Add a Javascript library • Add a Cordova plugin
  • 11. 11 Ionicons GETTING STARTED WITH THE IONIC FRAMEWORK • Bundled with ionic • 733 scalable icons • Searchable on the website
  • 12. 12 Essential Tools – Grunt vs Gulp GETTING STARTED WITH THE IONIC FRAMEWORK Only difference is the way you configure your tasks and how they execute the tasks. Configuration: Grunt is configuration based. Gulp is stream based. Execution: Grunt is sequential. Gulp runs concurrently.
  • 13. 13 Some best practices GETTING STARTED WITH THE IONIC FRAMEWORK • Convert all HTML templates to Angular JS templates (gulp- angular-templatecache) • Concatenate files (gulp-useref) • Minify and obfuscate the code (grunt-contrib-uglify) • Prevent dependency injection from breaking when the app is minified (gulp-ng-annotate)
  • 14. 14 Essential Tools – unit testing and code coverage GETTING STARTED WITH THE IONIC FRAMEWORK Karma, PhantomJS and Istanbul For unit testing and code coverage
  • 15. 15 Essential Tools – yeoman GETTING STARTED WITH THE IONIC FRAMEWORK Can be used to scaffold an ionic app which incorporates best practices and tools so you can immediately get to work building the app and not setting up frameworks. Let’s see a small demo.
  • 16. 16 Essential Tools – Crosswalk GETTING STARTED WITH THE IONIC FRAMEWORK 10x increase in HTML/CSS rendering. App size will increase by 10-15 MB.
  • 17. 17 Alternatives GETTING STARTED WITH THE IONIC FRAMEWORK Ionic competitor. Less well known. Community is not as active as ionic. iOS centric UX. Uses it’s own MVC framework.
  • 18. 18 Answer the question and win a book! GETTING STARTED WITH THE IONIC FRAMEWORK
  • 19. 19 Answer the question and win a book! GETTING STARTED WITH THE IONIC FRAMEWORK What is the command used to install ionic? 1. bower install ionic 2. apt-get install ionic 3. npm install –g ionic 4. yum install ionic
  • 20. 20© 2014 Virtusa Corporation. All rights reserved © 2014 Virtusa Corporation. All rights reserved. Virtusa and all other related logos are either registered trademarks or trademarks of Virtusa Corporation in the United States, the European Union, and/or India. All other company and service names are the property of their respective holders and may be registered trademarks or trademarks in the United States and/or other countries. Anuradha Weeraman aweeraman@virtusa.comThanks