SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Ionic Framework
Introduction to Hybrid Mobile Development
Talking Points
1. About Me
2. Native vs. Hybrid Mobile Development
3. What is Cordova/Phonegap?
4. What is Ionic framework?
5. Features of Ionic
6. Pros and Cons of Native and Hybrid Development
About Me
JS and PHP Developer
Two mobile apps in the App Store and Play
Store (DipQuit and CigQuit).
From NJ now living in St. Petersburg, FL
Native Development
Native Development Problems
Native Development Problems (cont.)
Introduction to Hybrid Mobile Development
But how does it work?
orCordova Phonegap
What is Cordova and Phonegap?
~=
What is Ionic?
A very popular framework to build hybrid
mobile applications.
Built on top of Cordova.
Built with AngularJS.
Custom CSS classes for native-looking
components.
Makes things like transitions, reordering
lists, loading spinners, and many more a
Installing Ionic
npm install -g cordova ionic
Starting a project
Let’s start a project!
ionic start testApp sidemenu
ionic platform add android
ionic run android
Web View
ionic serve
ionic serve --lab
Ionic CSS Components
http://ionicframework.com/docs/components/
http://ionicons.com/
But can Ionic do THAT?
YES
http://ngcordova.com/docs/plugins/
When to use Hybrid vs. Native
Hybrid Native
● Cheaper.
● Less code to write.
● Slower.
● Less learning
curve.
● Can debug in
browser.
● Use common
technologies.
● Faster.
● Can talk directly to
hardware.
● Don’t have to rely
on third party
plugins.
● More code to write.
● More expensive.
● More of a learning
curve.
● Submit to
app
stores.
● Can
access
all of
phones
features
The future of hybrid development
Any questions?

Weitere ähnliche Inhalte

Was ist angesagt?

Cross Platform Mobile Apps with the Ionic Framework
Cross Platform Mobile Apps with the Ionic FrameworkCross Platform Mobile Apps with the Ionic Framework
Cross Platform Mobile Apps with the Ionic Framework
Troy Miles
 

Was ist angesagt? (20)

Cordova, Angularjs & Ionic @ Codeaholics
Cordova, Angularjs & Ionic @ CodeaholicsCordova, Angularjs & Ionic @ Codeaholics
Cordova, Angularjs & Ionic @ Codeaholics
 
Intro to mobile apps with the ionic framework & angular js
Intro to mobile apps with the ionic framework & angular jsIntro to mobile apps with the ionic framework & angular js
Intro to mobile apps with the ionic framework & angular js
 
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
 
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
 
Building mobile app with Ionic Framework
Building mobile app with Ionic FrameworkBuilding mobile app with Ionic Framework
Building mobile app with Ionic Framework
 
Hybrid app in ionic framework overview
Hybrid app in ionic framework overviewHybrid app in ionic framework overview
Hybrid app in ionic framework overview
 
IONIC - Hybrid Mobile App Development
IONIC - Hybrid Mobile App DevelopmentIONIC - Hybrid Mobile App Development
IONIC - Hybrid Mobile App Development
 
Introduction to the Ionic Framework
Introduction to the Ionic FrameworkIntroduction to the Ionic Framework
Introduction to the Ionic Framework
 
Cross-Platform Mobile Development with Ionic Framework and Angular
Cross-Platform Mobile Development with Ionic Framework and AngularCross-Platform Mobile Development with Ionic Framework and Angular
Cross-Platform Mobile Development with Ionic Framework and Angular
 
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
 
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)
 
Ionic Framework
Ionic FrameworkIonic Framework
Ionic Framework
 
Ionic 2 intro
Ionic 2   introIonic 2   intro
Ionic 2 intro
 
Ionic Framework
Ionic FrameworkIonic Framework
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
 
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
 
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
 
Cross Platform Mobile Apps with the Ionic Framework
Cross Platform Mobile Apps with the Ionic FrameworkCross Platform Mobile Apps with the Ionic Framework
Cross Platform Mobile Apps with the Ionic Framework
 
Hybrid app development with ionic
Hybrid app development with ionicHybrid app development with ionic
Hybrid app development with ionic
 

Andere mochten auch

Mobile First Responsive Web Design — BD Conf Oct 2013
Mobile First Responsive Web Design — BD Conf Oct 2013Mobile First Responsive Web Design — BD Conf Oct 2013
Mobile First Responsive Web Design — BD Conf Oct 2013
Jason Grigsby
 

Andere mochten auch (6)

AngularJS: What's the Big Deal?
AngularJS: What's the Big Deal?AngularJS: What's the Big Deal?
AngularJS: What's the Big Deal?
 
Just Because It’s Ridiculous Doesn’t Mean It’s Stoopid
Just Because It’s Ridiculous Doesn’t Mean It’s StoopidJust Because It’s Ridiculous Doesn’t Mean It’s Stoopid
Just Because It’s Ridiculous Doesn’t Mean It’s Stoopid
 
How to create productive agile teams in uninhabitable organisations
How to create productive agile teams in uninhabitable organisationsHow to create productive agile teams in uninhabitable organisations
How to create productive agile teams in uninhabitable organisations
 
Ionic, react native, native script
Ionic, react native, native scriptIonic, react native, native script
Ionic, react native, native script
 
Mobile First Responsive Web Design — BD Conf Oct 2013
Mobile First Responsive Web Design — BD Conf Oct 2013Mobile First Responsive Web Design — BD Conf Oct 2013
Mobile First Responsive Web Design — BD Conf Oct 2013
 
Webpack Tutorial, Uppsala JS
Webpack Tutorial, Uppsala JSWebpack Tutorial, Uppsala JS
Webpack Tutorial, Uppsala JS
 

Ähnlich wie Ionic Framework - Intro to Hybrid Mobile Application Development

Hybrid Mobile Apps - Meetup
Hybrid Mobile Apps - MeetupHybrid Mobile Apps - Meetup
Hybrid Mobile Apps - Meetup
Sanjay Patel
 

Ähnlich wie Ionic Framework - Intro to Hybrid Mobile Application Development (20)

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
 
Ionic adventures - Hybrid Mobile App Development rocks
Ionic adventures - Hybrid Mobile App Development rocksIonic adventures - Hybrid Mobile App Development rocks
Ionic adventures - Hybrid Mobile App Development rocks
 
Ionic Framework
Ionic FrameworkIonic Framework
Ionic Framework
 
Building Mobile Apps With Ionic & Loopback
Building Mobile Apps With Ionic & LoopbackBuilding Mobile Apps With Ionic & Loopback
Building Mobile Apps With Ionic & Loopback
 
Rapid mobile app development using Ionic framework
Rapid mobile app development using Ionic frameworkRapid mobile app development using Ionic framework
Rapid mobile app development using Ionic framework
 
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 ...
 
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!
 
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
 
Hybrid Mobile Apps - Meetup
Hybrid Mobile Apps - MeetupHybrid Mobile Apps - Meetup
Hybrid Mobile Apps - Meetup
 
Ionic2 jad-salhani
Ionic2 jad-salhaniIonic2 jad-salhani
Ionic2 jad-salhani
 
Why should startups opt for ionic app development
Why should startups opt for ionic app developmentWhy should startups opt for ionic app development
Why should startups opt for ionic app development
 
An overview of Ionic
An overview of IonicAn overview of Ionic
An overview of Ionic
 
Ionic2 First Lesson of Four
Ionic2 First Lesson of FourIonic2 First Lesson of Four
Ionic2 First Lesson of Four
 
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?
 
React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why
 
App developer as a Web developer (ROROSyd - Jul 15)
App developer as a Web developer (ROROSyd - Jul 15)App developer as a Web developer (ROROSyd - Jul 15)
App developer as a Web developer (ROROSyd - Jul 15)
 
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
 
Ionic framework
Ionic frameworkIonic framework
Ionic framework
 
Top Cordova Challenges and How to Tackle Them
Top Cordova Challenges and How to Tackle ThemTop Cordova Challenges and How to Tackle Them
Top Cordova Challenges and How to Tackle Them
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Kürzlich hochgeladen (20)

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 

Ionic Framework - Intro to Hybrid Mobile Application Development

Hinweis der Redaktion

  1. Each mobile operating system has it’s own native language. This native language allows the code to talk directly to the hardware inside the phone. For Android, to develop a native app, you use Java. For iOS, you use Swift or Objective-C.
  2. The problem with native development is you have two completely separate code bases. None of the code is compatible with each other. This means that for any new feature, bug fix, or whatever it may be, you need to write the same thing twice, but in two (or more) separate languages. This causes slower release dates, more work, more possibilities for future bugs, and one giant headache for companies and developers.
  3. With native development, there is also a HUGE learning curve. To develop for iOS you need to learn how to use Xcode (Apple’s IDE), Objective-C, Swift, and Apple’s SDKs and APIs. For Android, you need to learn how to use Android Studio (Android’s IDE), Java, and Android’s SDKs and APIs.
  4. Because of the headache of native development, hybrid development was born. The theory behind hybrid development is that you use HTML, CSS, and JavaScript to write ONE code base that can be used across all platforms for mobile applications. Any IDE can be used, and you don’t have to learn all of the special methods and components with Apple and Android’s API and SDK.
  5. With hybrid mobile development, you write your code in HTML, CSS, and JavaScript. Natively, a mobile device does not understand HTML, CSS, or JavaScript. Thats where Cordova and Phonegap come in (which we will touch on in the next slide). Cordova and Phonegap act as bridges between your HTML, CSS, and JavaScript and the operating system’s main language (Java or Swift). You don’t use Cordova and Phonegap together. You use one or the other. Essentially, they sort of convert your code to native code. What it really does under the hood is Cordova and Phonegap actually call the native API methods so you don’t have to worry about learning what method does what. All you have to worry about is writing your HTML, CSS, and JavaScript.
  6. In a nutshell, Cordova and Phonegap are the tools that let you write hybrid applications with JavaScript. Like I said in the last slide, they act as a bridge between your HTML, CSS, and JavaScript and the native code (Java and Swift). Cordova is maintained by Apache and is open source. Phonegap is owned by Adobe. Right now, they are basically the same thing. You can use one or the other and Cordova plugins are compatible with Phonegap and vice-versa. However, Adobe plans to integrate Phonegap into the Adobe ecosystem later on down the line. What’s really cool about these tools is now with JavaScript, you can write front-end code for websites, back-end code wind Node.js, and mobile applications all with JavaScript. No other language can boast this capability.
  7. Installing Ionic is a breeze. Assuming you already have npm installed (which every JavaScript developer should have installed on their computer) all you need to do is run this command. This will install Ionic and Cordova (remember Ionic is built on top of Cordova not Phonegap) globally onto your machine.
  8. Ionic has three starter templates that you can base your project off of. The first is a blank project where you basically get nothing to start out with. The second project is called tabs where you get an application with a menu at the bottom. The third one is called sidemenu where you get a collapsable menu on the side. To start the project you simply run the command listed below and replace “myApp” with whatever you want to call your app.
  9. Now lets go ahead and actually make an app right here! Since I have an android phone I will be showing you on my android. This is a demo slide.
  10. One of the cool things with Ionic is that you don’t need to install the app on your phone all the time. Since it is really just HTML,CSS, and Javascript, you can run it right in your browser. To do this all you do is cd into your directory and run ionic serve. (DEMO). Whats cool about ionic serve is it features a live reload. So after every change in your code, instead of having to refresh, it automatically refreshes any time you hit save on your code. Ionic serve --lab is another cool feature. It shows you a split view of android and ios (DEMO).
  11. One of the cool parts of Ionic is all of the CSS components it comes with. It allows you to really make native-like components for your app (DEMO). Another cool part is something called ionicons. This allows you to use a lot of cool icons in your app (DEMO).
  12. When I talk about Ionic a lot, people often say, “You know that seems cool and all, but I need my app to access the phone’s camera. Can hybrid apps even do that?” Or, “I need my app to be able to access the phones location. Ionic can’t do that, can it?” The answer to any of these questions is YES. Ionic and hybrid apps overall are capable of doing anything a native application can. Many of the things you are probably looking for are already available in ngCordova (demo). If they are not, you can actually write your own custom plugin to do whatever you want your phone to do.
  13. Currently, Angular 2 is currently in beta. Angular 2 is built around TypeScript, a strictly-typed compiled way to write JavaScript. Ionic 2, also in beta, is obviously based around Angular 2. It features a lot of cool new stuff. Ionic 2 is expected to be released around the fall. For React.js fans out there, React Native has been making a push into the hybrid development scene. What is cool with React.js is it actually uses native components in the SDK to build apps instead of using CSS. This can add a big performance boost. It is still very new, and the community isn’t really developed around it yet, but you should watch out for it.