SlideShare uma empresa Scribd logo
1 de 28
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
Native, Hybrid, and Web
Mobile Architectures
Phong Le
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
Agenda
• What is Hybrid Mobile?
• What are the different Mobile architectures?
• What are frameworks used for Hybrid Mobile Application?
• Overview of the user interface for Native and Hybrid Mobile
• Understanding Hybrid Mobile Architectures
• Building Hybrid Mobile Application
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
What is Hybrid Mobile?
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
What are the different mobile architectures?
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
What are the different mobile architectures?
How they’re structured
When it comes to building
your mobile application
How they run
It all comes down to how an
application’s code is written,
structured, and run on a
device
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
What are the different mobile architectures?
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
What are the different mobile architectures?
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
What are frameworks used for Hybrid Mobile
• React Native
• Facebook’s popular ReactJS JavaScript library is running under the hood of this mobile
framework, built specifically to design natively rendered UIs for iOS and Android. Any
developer who knows JavaScript can work with React Native, and it’s fast, streamlined, and
feels more native—without requiring a WebView. Instead, native components are built with
web technology
• IONIC Framework
• This HTML5 hybrid mobile framework has the added bonus of AngularJS components, a
robust JavaScript framework and support Cordova or trigger.io that allows Ionic to power
some really complex, scalable apps. Ionic is free, open-source, and all of its components—
HTML, CSS, JavaScript and support for SAAS—have been optimized for mobile
• KENDO UI
• Kendo UI is an impressive platform for building both hybrid and native mobile apps, with a
unique capability: developers can use client-side technology like HTML and JavaScript, or they
can build an app with server-side technology like Java, PHP, and ASP.NET to use their existing
skills, tools and languages to write code from which the wrappers automatically generate the
necessary HTML5 code and spit out the related Kendo UI JavaScript.
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
• Framework 7
• Framework 7 is that it is completely framework agnostic (doesn’t have external
dependencies like Angular or React) and still manages to make apps look and feel
native, with properly styled components and animations. Anyone who understands
HTML, CSS and JavaScript can create an app without making the code convoluted.
Framework 7 doesn’t include any tools for emulation or app packaging so you will
need to combine it with Cordova or PhoneGap.
• Famous
• Famous has a unique approach to web and mobile development. It combines the
DOM tree (your HTML) with WebGL, displaying everything in a canvas, similar to what
HTML game engines
What are frameworks used for Hybrid Mobile
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
Overview of the user interface for iOS Mobile
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
Overview of the user interface for Android Mobile
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
Overview of the user interface for iOS Mobile
Navigation Bar – Use Storyboard in Xcode
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
Overview of the user interface for Android Mobile
Navigation Drawer – Use .xml File In Android Studio
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent”>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical”>
<LinearLayout
android:id="@+id/container_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical”>
<include
android:id="@+id/toolbar"
layout="@layout/toolbar" />
</LinearLayout>
<FrameLayout
android:id="@+id/container_body"
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="1" />
</LinearLayout>
<fragment
android:id="@+id/fragment_navigation_drawer"
android:name="info.androidhive.materialdesign.activity.FragmentDrawer"
android:layout_width="@dimen/nav_drawer_width"
android:layout_height="match_parent"
android:layout_gravity="start"
app:layout="@layout/fragment_navigation_drawer"
tools:layout="@layout/fragment_navigation_drawer" />
</android.support.v4.widget.DrawerLayout>
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
<ion-navbar *navbar>
<ion-title>
Hello World
</ion-title>
</ion-navbar>
<ion-content class="home">
<ion-card>
<ion-card-content>
Hello Andrew
</ion-card-content>
</ion-card>
</ion-content>
Overview of the user interface for Hybrid Mobile
Navigation Bar– Ionic Framework
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
class Navigation extends React.Component{
render() {
return (
<NavigatorIOS
style={styles.container}
initialRoute={{
title: 'first',
component: First
}} />
);
}
}
iOS
class Navigation extends React.Component{
render() {
return (
<Navigator
style={styles.container}
initialRoute={{id: 'first'}}
renderScene={this.navigatorRenderScene}/>
);
}
navigatorRenderScene(route, navigator) {
_navigator = navigator;
switch (route.id) {
case 'first':
return (<First navigator={navigator} title="first"/>);
case 'second':
return (<Second navigator={navigator} title="second" />);
}
}
}
Android
Overview of the user interface for Hybrid Mobile
Navigation Bar– React Native
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
Understanding Hybrid Mobile Architecture
Ionic Framework – React Native
• HTML / CSS + JS - UIs
• Small learning curve
• Performance limit
• Shared code with web
• Use Webview
• Javascript – libraries
• Large learning curve
• As Native
• Less shared code with web
• Not HTML / CSS
• Duplicate Coding
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
Understanding Hybrid Mobile Architecture
Ionic Framework
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
Understanding Hybrid Mobile Architecture
Ionic Framework – Plugins in Cordova
• Battery Status
• Camera
• Barcode
Scanner
• Contacts
• Device
Orientation
• Dialogs
• File Transfer
• Background
Geoloc
• HealthKit
• iBeacon
• Media Capture
• Network Information
• Statusbar
• Vibration
• 3D Touch
• TouchID
• Google Analytics
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
Understanding Hybrid Mobile Architecture
Ionic Framework – Project Structure
• WWW– what will be copied over to your app
• Use ionic lib update to update ionic version
• Index.html – all style sheet and script
references
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
• JS bridge class is the role of the developer's
call to join the Native React module call
queue, while generating a callback ID.
• Native bridging role is a queue of calling
behavior taken out according to the module
to find function corresponds to the native
UI or local capacity to perform, and the
implementation of the results by the ID of
the callback gradually transferred to the
developers of JS callback function
Understanding Hybrid Mobile Architecture
React Native
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
Understanding Hybrid Mobile Architecture
React Native – UI Components
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
Understanding Hybrid Mobile Architecture
React Native – Project Structure
• Android - Open your project in Android
Studio and build.
• iOS - Open your project in Xcode and build
• The node modules needed for your React
Native project to run.
• Flow - Adds static typechecking for
JavaScript, use this file to configure your
project's flow settings.
• Watchman - the file watcher used by the
React Native packager.
• Package.json - Describes this project and
lists its npm dependencies.
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
Building Hybrid Mobile Application
Ionic Framework - Technologies
• gulp - Javascript code build tool
• bower - Responsible to fetch the dependencies ( AngualarJS )
• sass - CSS look and feel.
• travis CI - For test and deploy the code.
• Node JS
• Cordova
• Chrome Debugger
• Xcode, Android Studio
• Ionic
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
• Installation
1. $ curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - sudo apt-get
install -y nodejs
2. $ npm install -g ionic
3. $ ionic start demo --v2
4. $ cd demo
5. $ ionic serve
• Building to a device
1. $ npm install -g cordova
2. $ ionic platform add ios
3. $ ionic emulate ios - you’ll need to install xcode
4. $ ionic platform add android
5. $ ionic run android - you’ll need to install android SDK and Genymotion
Building Hybrid Mobile Application
Ionic Framework
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
• JSX - JavaScript syntax extension that looks similar to HTML and XML.
• Flow - typechecker (errors inline, autocomplete)
• Node JS
• NPM
• Chrome Debugger
• Xcode, Android Studio
• React JS
• React Native
Building Hybrid Mobile Application
React Native - Technologies
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
• Installation
1. You will need Xcode, Android Studio, node.js, the React Native command line tools,
and Watchman
2. $ brew install node
3. $ brew install watchman
4. $ brew install flow - Flow is a static type checker that will help make your JavaScript
more stable.
5. $ npm install -g react-native-cli
• Building to a device
1. $ react-native init AwesomeProject
2. $ cd AwesomeProject
3. $ react-native run-ios
4. $ react-native run-android
Building Hybrid Mobile Application
React Native
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
References
• https://www.apptentive.com/blog/2016/05/19/6-hybrid-mobile-app-
frameworks-for-uiux-designers/
• http://jsfiddle.net/prud/dnebx02p/
• http://caniuse.com/#feat=geolocation
• http://ngcordova.com/docs/plugins/launchNavigator/
• https://rnplay.org/
• http://www.tamas.io/getting-started-with-ionic/
• http://www.objectivetruth.ca/projects/2015/08/30/ionic-post-review.html
• http://ionicframework.com/docs/v2/getting-started/installation/
• https://facebook.github.io/react-native/docs/getting-started.html#content
• http://ngcordova.com/docs/plugins
© 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential.
Thank You!
Questions & Answers
WEB DEVELOPERS ARE NOW
MOBILE APP DEVELOPERS

Mais conteúdo relacionado

Mais procurados

Hybrid App Development with PhoneGap
Hybrid App Development with PhoneGapHybrid App Development with PhoneGap
Hybrid App Development with PhoneGapDotitude
 
Coding for Desktop and Mobile with HTML5 and Java EE 7
Coding for Desktop and Mobile with HTML5 and Java EE 7Coding for Desktop and Mobile with HTML5 and Java EE 7
Coding for Desktop and Mobile with HTML5 and Java EE 7Petr Jiricka
 
App forum2015 London - Building RhoMobile Applications with Ionic
App forum2015 London - Building RhoMobile Applications with IonicApp forum2015 London - Building RhoMobile Applications with Ionic
App forum2015 London - Building RhoMobile Applications with Ionicrobgalvinjr
 
Hybrid Mobile Applications
Hybrid Mobile ApplicationsHybrid Mobile Applications
Hybrid Mobile ApplicationsRuwan Ranganath
 
Introduction to Hybrid Application Development
Introduction to Hybrid Application DevelopmentIntroduction to Hybrid Application Development
Introduction to Hybrid Application DevelopmentDotitude
 
Hybrid app in ionic framework overview
Hybrid app in ionic framework overviewHybrid app in ionic framework overview
Hybrid app in ionic framework overviewSanket Devlekar
 
Hybrid mobile app development
Hybrid mobile app developmentHybrid mobile app development
Hybrid mobile app developmentChamil Madusanka
 
Mobile App Development
Mobile App DevelopmentMobile App Development
Mobile App DevelopmentChris Morrell
 
Mobile Drupal
Mobile DrupalMobile Drupal
Mobile DrupalTwinbit
 
Ionic 2: Mobile apps with the Web
Ionic 2: Mobile apps with the WebIonic 2: Mobile apps with the Web
Ionic 2: Mobile apps with the WebMike Hartington
 
移动端Web app开发
移动端Web app开发移动端Web app开发
移动端Web app开发Zhang Xiaoxue
 
Introduction to the Ionic Framework
Introduction to the Ionic FrameworkIntroduction to the Ionic Framework
Introduction to the Ionic Frameworkrrjohnson85
 
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 jsHector Iribarne
 
Building Hybrid Apps with AngularJS and Ionic
Building Hybrid Apps with AngularJS and IonicBuilding Hybrid Apps with AngularJS and Ionic
Building Hybrid Apps with AngularJS and IonicYounes Adounis
 
Making Sense of Hypermedia APIs – Hype or Reality?
Making Sense of Hypermedia APIs – Hype or Reality?Making Sense of Hypermedia APIs – Hype or Reality?
Making Sense of Hypermedia APIs – Hype or Reality?Akana
 
Building Native Mobile Applications with PhoneGap
Building Native Mobile Applications with PhoneGapBuilding Native Mobile Applications with PhoneGap
Building Native Mobile Applications with PhoneGapSimon MacDonald
 
Open Source World : Using Web Technologies to build native iPhone and Android...
Open Source World : Using Web Technologies to build native iPhone and Android...Open Source World : Using Web Technologies to build native iPhone and Android...
Open Source World : Using Web Technologies to build native iPhone and Android...Jeff Haynie
 
Ionic Framework: Let's build amazing apps. No Excuses!
Ionic Framework: Let's build amazing apps. No Excuses!Ionic Framework: Let's build amazing apps. No Excuses!
Ionic Framework: Let's build amazing apps. No Excuses!Matheus Cardoso
 
Java Edge.2008.Web.Frameworks.Catagorized
Java Edge.2008.Web.Frameworks.CatagorizedJava Edge.2008.Web.Frameworks.Catagorized
Java Edge.2008.Web.Frameworks.Catagorizedroialdaag
 
SD Forum Java SIG - Service Oriented UI Architecture
SD Forum Java SIG - Service Oriented UI ArchitectureSD Forum Java SIG - Service Oriented UI Architecture
SD Forum Java SIG - Service Oriented UI ArchitectureJeff Haynie
 

Mais procurados (20)

Hybrid App Development with PhoneGap
Hybrid App Development with PhoneGapHybrid App Development with PhoneGap
Hybrid App Development with PhoneGap
 
Coding for Desktop and Mobile with HTML5 and Java EE 7
Coding for Desktop and Mobile with HTML5 and Java EE 7Coding for Desktop and Mobile with HTML5 and Java EE 7
Coding for Desktop and Mobile with HTML5 and Java EE 7
 
App forum2015 London - Building RhoMobile Applications with Ionic
App forum2015 London - Building RhoMobile Applications with IonicApp forum2015 London - Building RhoMobile Applications with Ionic
App forum2015 London - Building RhoMobile Applications with Ionic
 
Hybrid Mobile Applications
Hybrid Mobile ApplicationsHybrid Mobile Applications
Hybrid Mobile Applications
 
Introduction to Hybrid Application Development
Introduction to Hybrid Application DevelopmentIntroduction to Hybrid Application Development
Introduction to Hybrid Application Development
 
Hybrid app in ionic framework overview
Hybrid app in ionic framework overviewHybrid app in ionic framework overview
Hybrid app in ionic framework overview
 
Hybrid mobile app development
Hybrid mobile app developmentHybrid mobile app development
Hybrid mobile app development
 
Mobile App Development
Mobile App DevelopmentMobile App Development
Mobile App Development
 
Mobile Drupal
Mobile DrupalMobile Drupal
Mobile Drupal
 
Ionic 2: Mobile apps with the Web
Ionic 2: Mobile apps with the WebIonic 2: Mobile apps with the Web
Ionic 2: Mobile apps with the Web
 
移动端Web app开发
移动端Web app开发移动端Web app开发
移动端Web app开发
 
Introduction to the Ionic Framework
Introduction to the Ionic FrameworkIntroduction to the Ionic Framework
Introduction to the Ionic Framework
 
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 Hybrid Apps with AngularJS and Ionic
Building Hybrid Apps with AngularJS and IonicBuilding Hybrid Apps with AngularJS and Ionic
Building Hybrid Apps with AngularJS and Ionic
 
Making Sense of Hypermedia APIs – Hype or Reality?
Making Sense of Hypermedia APIs – Hype or Reality?Making Sense of Hypermedia APIs – Hype or Reality?
Making Sense of Hypermedia APIs – Hype or Reality?
 
Building Native Mobile Applications with PhoneGap
Building Native Mobile Applications with PhoneGapBuilding Native Mobile Applications with PhoneGap
Building Native Mobile Applications with PhoneGap
 
Open Source World : Using Web Technologies to build native iPhone and Android...
Open Source World : Using Web Technologies to build native iPhone and Android...Open Source World : Using Web Technologies to build native iPhone and Android...
Open Source World : Using Web Technologies to build native iPhone and Android...
 
Ionic Framework: Let's build amazing apps. No Excuses!
Ionic Framework: Let's build amazing apps. No Excuses!Ionic Framework: Let's build amazing apps. No Excuses!
Ionic Framework: Let's build amazing apps. No Excuses!
 
Java Edge.2008.Web.Frameworks.Catagorized
Java Edge.2008.Web.Frameworks.CatagorizedJava Edge.2008.Web.Frameworks.Catagorized
Java Edge.2008.Web.Frameworks.Catagorized
 
SD Forum Java SIG - Service Oriented UI Architecture
SD Forum Java SIG - Service Oriented UI ArchitectureSD Forum Java SIG - Service Oriented UI Architecture
SD Forum Java SIG - Service Oriented UI Architecture
 

Semelhante a Native - Hybrid - Web Mobile Architectures

10 Useful Frameworks to Build Hybrid Mobile Apps
10 Useful Frameworks to Build Hybrid Mobile Apps10 Useful Frameworks to Build Hybrid Mobile Apps
10 Useful Frameworks to Build Hybrid Mobile Apps75waytechnologies
 
Popular App Development Frameworks used by App Developers.
Popular App Development Frameworks used by App Developers.Popular App Development Frameworks used by App Developers.
Popular App Development Frameworks used by App Developers.Techugo
 
12 Frameworks for Mobile Hybrid Apps
12 Frameworks for Mobile Hybrid Apps12 Frameworks for Mobile Hybrid Apps
12 Frameworks for Mobile Hybrid AppsFilipe Lima
 
Cross Platform Mobile Development
Cross Platform Mobile DevelopmentCross Platform Mobile Development
Cross Platform Mobile DevelopmentManesh Lad
 
Introduction to hybrid application development
Introduction to hybrid application developmentIntroduction to hybrid application development
Introduction to hybrid application developmentKunjan Thakkar
 
6 Best JavaScript Framework for Mobile Apps Trending in 2023.pdf
6 Best JavaScript Framework for Mobile Apps Trending in 2023.pdf6 Best JavaScript Framework for Mobile Apps Trending in 2023.pdf
6 Best JavaScript Framework for Mobile Apps Trending in 2023.pdfBaek Yongsun
 
top-10-best-mobile-app-development-frameworks-in-2021.pdf
top-10-best-mobile-app-development-frameworks-in-2021.pdftop-10-best-mobile-app-development-frameworks-in-2021.pdf
top-10-best-mobile-app-development-frameworks-in-2021.pdfPixelQA
 
Developing a native mobile apps using Ionic&Cordova
Developing a native mobile apps using Ionic&CordovaDeveloping a native mobile apps using Ionic&Cordova
Developing a native mobile apps using Ionic&CordovaDamir Beylkhanov
 
Top Technologies to Develop Mobile Apps.pptx
Top Technologies to Develop Mobile Apps.pptxTop Technologies to Develop Mobile Apps.pptx
Top Technologies to Develop Mobile Apps.pptxGokulKanna18
 
Appium - Reality check on the world’s leading Open Source Framework for Mobil...
Appium - Reality check on the world’s leading Open Source Framework for Mobil...Appium - Reality check on the world’s leading Open Source Framework for Mobil...
Appium - Reality check on the world’s leading Open Source Framework for Mobil...Asaf Saar
 
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 FrameworkTroy Miles
 
Hybrid Mobile Apps - Meetup
Hybrid Mobile Apps - MeetupHybrid Mobile Apps - Meetup
Hybrid Mobile Apps - MeetupSanjay Patel
 
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 AngularJSZvika Epstein
 
Cross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual StudioCross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual StudioMizanur Sarker
 
Introduction to Ionic framework
Introduction to Ionic frameworkIntroduction to Ionic framework
Introduction to Ionic frameworkShyjal Raazi
 
Demystifying the Mobile Container - PART I
Demystifying the Mobile Container - PART IDemystifying the Mobile Container - PART I
Demystifying the Mobile Container - PART IRelayware
 
Hybrid Apps with Angular & Ionic Framework
Hybrid Apps with Angular & Ionic FrameworkHybrid Apps with Angular & Ionic Framework
Hybrid Apps with Angular & Ionic FrameworkCihad Horuzoğlu
 
Cross platform development - Rhomobile
Cross platform development - RhomobileCross platform development - Rhomobile
Cross platform development - RhomobileKonstantin Rybas
 

Semelhante a Native - Hybrid - Web Mobile Architectures (20)

10 Useful Frameworks to Build Hybrid Mobile Apps
10 Useful Frameworks to Build Hybrid Mobile Apps10 Useful Frameworks to Build Hybrid Mobile Apps
10 Useful Frameworks to Build Hybrid Mobile Apps
 
Popular App Development Frameworks used by App Developers.
Popular App Development Frameworks used by App Developers.Popular App Development Frameworks used by App Developers.
Popular App Development Frameworks used by App Developers.
 
12 Frameworks for Mobile Hybrid Apps
12 Frameworks for Mobile Hybrid Apps12 Frameworks for Mobile Hybrid Apps
12 Frameworks for Mobile Hybrid Apps
 
Cross Platform Mobile Development
Cross Platform Mobile DevelopmentCross Platform Mobile Development
Cross Platform Mobile Development
 
Introduction to hybrid application development
Introduction to hybrid application developmentIntroduction to hybrid application development
Introduction to hybrid application development
 
6 Best JavaScript Framework for Mobile Apps Trending in 2023.pdf
6 Best JavaScript Framework for Mobile Apps Trending in 2023.pdf6 Best JavaScript Framework for Mobile Apps Trending in 2023.pdf
6 Best JavaScript Framework for Mobile Apps Trending in 2023.pdf
 
top-10-best-mobile-app-development-frameworks-in-2021.pdf
top-10-best-mobile-app-development-frameworks-in-2021.pdftop-10-best-mobile-app-development-frameworks-in-2021.pdf
top-10-best-mobile-app-development-frameworks-in-2021.pdf
 
Regith Resume
Regith ResumeRegith Resume
Regith Resume
 
Developing a native mobile apps using Ionic&Cordova
Developing a native mobile apps using Ionic&CordovaDeveloping a native mobile apps using Ionic&Cordova
Developing a native mobile apps using Ionic&Cordova
 
Top Technologies to Develop Mobile Apps.pptx
Top Technologies to Develop Mobile Apps.pptxTop Technologies to Develop Mobile Apps.pptx
Top Technologies to Develop Mobile Apps.pptx
 
Appium - Reality check on the world’s leading Open Source Framework for Mobil...
Appium - Reality check on the world’s leading Open Source Framework for Mobil...Appium - Reality check on the world’s leading Open Source Framework for Mobil...
Appium - Reality check on the world’s leading Open Source Framework for Mobil...
 
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
 
Javantura v4 - Support SpringBoot application development lifecycle using Ora...
Javantura v4 - Support SpringBoot application development lifecycle using Ora...Javantura v4 - Support SpringBoot application development lifecycle using Ora...
Javantura v4 - Support SpringBoot application development lifecycle using Ora...
 
Hybrid Mobile Apps - Meetup
Hybrid Mobile Apps - MeetupHybrid Mobile Apps - Meetup
Hybrid Mobile Apps - Meetup
 
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
 
Cross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual StudioCross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual Studio
 
Introduction to Ionic framework
Introduction to Ionic frameworkIntroduction to Ionic framework
Introduction to Ionic framework
 
Demystifying the Mobile Container - PART I
Demystifying the Mobile Container - PART IDemystifying the Mobile Container - PART I
Demystifying the Mobile Container - PART I
 
Hybrid Apps with Angular & Ionic Framework
Hybrid Apps with Angular & Ionic FrameworkHybrid Apps with Angular & Ionic Framework
Hybrid Apps with Angular & Ionic Framework
 
Cross platform development - Rhomobile
Cross platform development - RhomobileCross platform development - Rhomobile
Cross platform development - Rhomobile
 

Último

9892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x79892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x7Pooja Nehwal
 
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPsychicRuben LoveSpells
 
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Pooja Nehwal
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceanilsa9823
 
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceanilsa9823
 
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRFULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRnishacall1
 

Último (7)

9892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x79892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x7
 
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
 
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
 
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
 
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
 
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRFULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
 

Native - Hybrid - Web Mobile Architectures

  • 1. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. Native, Hybrid, and Web Mobile Architectures Phong Le
  • 2. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. Agenda • What is Hybrid Mobile? • What are the different Mobile architectures? • What are frameworks used for Hybrid Mobile Application? • Overview of the user interface for Native and Hybrid Mobile • Understanding Hybrid Mobile Architectures • Building Hybrid Mobile Application
  • 3. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. What is Hybrid Mobile?
  • 4. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. What are the different mobile architectures?
  • 5. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. What are the different mobile architectures? How they’re structured When it comes to building your mobile application How they run It all comes down to how an application’s code is written, structured, and run on a device
  • 6. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. What are the different mobile architectures?
  • 7. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. What are the different mobile architectures?
  • 8. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. What are frameworks used for Hybrid Mobile • React Native • Facebook’s popular ReactJS JavaScript library is running under the hood of this mobile framework, built specifically to design natively rendered UIs for iOS and Android. Any developer who knows JavaScript can work with React Native, and it’s fast, streamlined, and feels more native—without requiring a WebView. Instead, native components are built with web technology • IONIC Framework • This HTML5 hybrid mobile framework has the added bonus of AngularJS components, a robust JavaScript framework and support Cordova or trigger.io that allows Ionic to power some really complex, scalable apps. Ionic is free, open-source, and all of its components— HTML, CSS, JavaScript and support for SAAS—have been optimized for mobile • KENDO UI • Kendo UI is an impressive platform for building both hybrid and native mobile apps, with a unique capability: developers can use client-side technology like HTML and JavaScript, or they can build an app with server-side technology like Java, PHP, and ASP.NET to use their existing skills, tools and languages to write code from which the wrappers automatically generate the necessary HTML5 code and spit out the related Kendo UI JavaScript.
  • 9. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. • Framework 7 • Framework 7 is that it is completely framework agnostic (doesn’t have external dependencies like Angular or React) and still manages to make apps look and feel native, with properly styled components and animations. Anyone who understands HTML, CSS and JavaScript can create an app without making the code convoluted. Framework 7 doesn’t include any tools for emulation or app packaging so you will need to combine it with Cordova or PhoneGap. • Famous • Famous has a unique approach to web and mobile development. It combines the DOM tree (your HTML) with WebGL, displaying everything in a canvas, similar to what HTML game engines What are frameworks used for Hybrid Mobile
  • 10. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. Overview of the user interface for iOS Mobile
  • 11. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. Overview of the user interface for Android Mobile
  • 12. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. Overview of the user interface for iOS Mobile Navigation Bar – Use Storyboard in Xcode
  • 13. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. Overview of the user interface for Android Mobile Navigation Drawer – Use .xml File In Android Studio <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/drawer_layout" android:layout_width="match_parent" android:layout_height="match_parent”> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical”> <LinearLayout android:id="@+id/container_toolbar" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical”> <include android:id="@+id/toolbar" layout="@layout/toolbar" /> </LinearLayout> <FrameLayout android:id="@+id/container_body" android:layout_width="fill_parent" android:layout_height="0dp" android:layout_weight="1" /> </LinearLayout> <fragment android:id="@+id/fragment_navigation_drawer" android:name="info.androidhive.materialdesign.activity.FragmentDrawer" android:layout_width="@dimen/nav_drawer_width" android:layout_height="match_parent" android:layout_gravity="start" app:layout="@layout/fragment_navigation_drawer" tools:layout="@layout/fragment_navigation_drawer" /> </android.support.v4.widget.DrawerLayout>
  • 14. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. <ion-navbar *navbar> <ion-title> Hello World </ion-title> </ion-navbar> <ion-content class="home"> <ion-card> <ion-card-content> Hello Andrew </ion-card-content> </ion-card> </ion-content> Overview of the user interface for Hybrid Mobile Navigation Bar– Ionic Framework
  • 15. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. class Navigation extends React.Component{ render() { return ( <NavigatorIOS style={styles.container} initialRoute={{ title: 'first', component: First }} /> ); } } iOS class Navigation extends React.Component{ render() { return ( <Navigator style={styles.container} initialRoute={{id: 'first'}} renderScene={this.navigatorRenderScene}/> ); } navigatorRenderScene(route, navigator) { _navigator = navigator; switch (route.id) { case 'first': return (<First navigator={navigator} title="first"/>); case 'second': return (<Second navigator={navigator} title="second" />); } } } Android Overview of the user interface for Hybrid Mobile Navigation Bar– React Native
  • 16. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. Understanding Hybrid Mobile Architecture Ionic Framework – React Native • HTML / CSS + JS - UIs • Small learning curve • Performance limit • Shared code with web • Use Webview • Javascript – libraries • Large learning curve • As Native • Less shared code with web • Not HTML / CSS • Duplicate Coding
  • 17. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. Understanding Hybrid Mobile Architecture Ionic Framework
  • 18. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. Understanding Hybrid Mobile Architecture Ionic Framework – Plugins in Cordova • Battery Status • Camera • Barcode Scanner • Contacts • Device Orientation • Dialogs • File Transfer • Background Geoloc • HealthKit • iBeacon • Media Capture • Network Information • Statusbar • Vibration • 3D Touch • TouchID • Google Analytics
  • 19. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. Understanding Hybrid Mobile Architecture Ionic Framework – Project Structure • WWW– what will be copied over to your app • Use ionic lib update to update ionic version • Index.html – all style sheet and script references
  • 20. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. • JS bridge class is the role of the developer's call to join the Native React module call queue, while generating a callback ID. • Native bridging role is a queue of calling behavior taken out according to the module to find function corresponds to the native UI or local capacity to perform, and the implementation of the results by the ID of the callback gradually transferred to the developers of JS callback function Understanding Hybrid Mobile Architecture React Native
  • 21. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. Understanding Hybrid Mobile Architecture React Native – UI Components
  • 22. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. Understanding Hybrid Mobile Architecture React Native – Project Structure • Android - Open your project in Android Studio and build. • iOS - Open your project in Xcode and build • The node modules needed for your React Native project to run. • Flow - Adds static typechecking for JavaScript, use this file to configure your project's flow settings. • Watchman - the file watcher used by the React Native packager. • Package.json - Describes this project and lists its npm dependencies.
  • 23. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. Building Hybrid Mobile Application Ionic Framework - Technologies • gulp - Javascript code build tool • bower - Responsible to fetch the dependencies ( AngualarJS ) • sass - CSS look and feel. • travis CI - For test and deploy the code. • Node JS • Cordova • Chrome Debugger • Xcode, Android Studio • Ionic
  • 24. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. • Installation 1. $ curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - sudo apt-get install -y nodejs 2. $ npm install -g ionic 3. $ ionic start demo --v2 4. $ cd demo 5. $ ionic serve • Building to a device 1. $ npm install -g cordova 2. $ ionic platform add ios 3. $ ionic emulate ios - you’ll need to install xcode 4. $ ionic platform add android 5. $ ionic run android - you’ll need to install android SDK and Genymotion Building Hybrid Mobile Application Ionic Framework
  • 25. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. • JSX - JavaScript syntax extension that looks similar to HTML and XML. • Flow - typechecker (errors inline, autocomplete) • Node JS • NPM • Chrome Debugger • Xcode, Android Studio • React JS • React Native Building Hybrid Mobile Application React Native - Technologies
  • 26. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. • Installation 1. You will need Xcode, Android Studio, node.js, the React Native command line tools, and Watchman 2. $ brew install node 3. $ brew install watchman 4. $ brew install flow - Flow is a static type checker that will help make your JavaScript more stable. 5. $ npm install -g react-native-cli • Building to a device 1. $ react-native init AwesomeProject 2. $ cd AwesomeProject 3. $ react-native run-ios 4. $ react-native run-android Building Hybrid Mobile Application React Native
  • 27. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. References • https://www.apptentive.com/blog/2016/05/19/6-hybrid-mobile-app- frameworks-for-uiux-designers/ • http://jsfiddle.net/prud/dnebx02p/ • http://caniuse.com/#feat=geolocation • http://ngcordova.com/docs/plugins/launchNavigator/ • https://rnplay.org/ • http://www.tamas.io/getting-started-with-ionic/ • http://www.objectivetruth.ca/projects/2015/08/30/ionic-post-review.html • http://ionicframework.com/docs/v2/getting-started/installation/ • https://facebook.github.io/react-native/docs/getting-started.html#content • http://ngcordova.com/docs/plugins
  • 28. © 2016 Rainmaker Labs Pte. Ltd. All rights reserved. Proprietary and confidential. Thank You! Questions & Answers WEB DEVELOPERS ARE NOW MOBILE APP DEVELOPERS