Hybrid or Native?! Doncho Minkov Telerik Software Academy Senior Technical Trainer

Slides:



Advertisements
Similar presentations
Windows Basic and Dynamic Disk Borislav Varadinov Telerik Software Academy academy.telerik.com System Administrator Marian Marinov CEO of 1H Ltd.
Advertisements

Hybrid or Native?! Doncho Minkov Telerik Software Academy Senior Technical Trainer
HTML Forms, GET, POST Methods Tran Anh Tuan Edit from Telerik Academy
Make swiftly iOS development Telerik Academy Telerik Academy Plus.
Amazon S 3, App Engine Blobstore, Google Cloud Storage, Azure Blobs Svetlin Nakov Telerik Software Academy academy.telerik.com.
Queues, Notifications, , CDN, Logging, Caching, Background Tasks, MapReduce, … Svetlin Nakov Telerik Software Academy academy.telerik.com.
RPN and Shunting-yard algorithm Ivaylo Kenov Telerik Software Academy academy.telerik.com Technical Assistant
Shortest paths in edge-weighted digraph Krasin Georgiev Technical University of Sofia g.krasin at gmail com Assistant Professor.
Telerik Software Academy Telerik School Academy.
Asynchronous Programming with C# and WinRT
Unleash the Power of JavaScript Tooling Telerik Software Academy End-to-end JavaScript Applications.
Touch and Gestures with Xamarin Forms
Telerik School Academy ASP.NET MVC.
Character sequences, C-strings and the C++ String class, Working with Strings Learning & Development Team Telerik Software Academy.
Done already for your convenience! Telerik School Academy Unity 2D Game Development.
With Mocha and Karma Telerik Academy Telerik Software Academy.
C# Fundamentals – Part I
Welcome to the JSON-stores world Telerik Software Academy Databases.
The Business Plan and the Business Model Margarita Antonova Volunteer Telerik Academy academy.telerik.com Business System Analyst Telerik Corporation.
What are ADTs, STL Intro, vector, list, queue, stack Learning & Development Team Telerik Software Academy.
Making JavaScript code by template! Learning & Development Team Telerik Software Academy.
Svetlin Nakov Telerik Software Academy academy.telerik.com Manager Technical Training Who, What, Why?
The PhoneGap History Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
Marketing Mix, SWOT Analysis and Stages of Developing an Idea Margarita Antonova Volunteer Telerik Academy academy.telerik.com Business System.
Access to known folders, using pickers, writing to and reading from files, caching files for future access George Georgiev Telerik Software Academy academy.telerik.com.
Learning & Development Telerik Software Academy.
Reading and Writing Text Files Svetlin Nakov Telerik Software Academy academy.telerik.com Technical Trainer
Telerik Software Academy ASP.NET Web Forms.
Classical OOP in JavaScript Classes and stuff Telerik Software Academy
Optimization problems, Greedy Algorithms, Optimal Substructure and Greedy choice Learning & Development Team Telerik Software.
Using Selenium for Mobile Web Testing Powered by KendoUI Telerik QA Academy Atanas Georgiev Senior QA Engineer KendoUI Team.
New features: classes, generators, iterators, etc. Telerik Academy Plus JavaScript.Next.
Throwing and Catching Exceptions Tran Anh Tuan Edit from Telerik Software Academy
Past, Present and Future Nikolay Kostov Telerik Software Academy academy.telerik.com Team Lead, Senior Developer and Trainer
Loops, Conditional Statements, Functions Tran Anh Tuan Edit from Telerik Academy
Private/Public fields, Module, Revealing Module Learning & Development Team Telerik Software Academy.
Building Data-Driven ASP.NET Web Forms Apps Telerik Software Academy ASP.NET Web Forms.
Course Introduction Svetlin Nakov Telerik Software Academy academy.telerik.com Manager Technical Training
Telerik Software Academy End-to-end JavaScript Applications.
Planning and Tracking Software Quality Yordan Dimitrov Telerik Corporation Team Leader, Team Pulse, Team Leader, Team Pulse, Telerik Corporation,
What you need to know Ivaylo Kenov Telerik Corporation Telerik Academy Student.
Data binding concepts, Bindings in WinJS George Georgiev Telerik Software Academy academy.telerik.com Technical Trainer itgeorge.net.
Pavel Kolev Telerik Software Academy Senior.Net Developer and Trainer
Objects, Properties, Primitive and Reference Types Learning & Development Team Telerik Software Academy.
When and How to Refactor? Refactoring Patterns Alexander Vakrilov Telerik Corporation Senior Developer and Team Leader.
Free Training and Job for Software Engineers Svetlin Nakov, PhD Manager Technical Training Telerik Corp. Telerik Software Academy.
Free Training and Job for Software Engineers Svetlin Nakov, PhD Manager Technical Training Telerik Corp. Telerik Software Academy.
Access to known folders, using pickers, writing to and reading from files, caching files for future access George Georgiev Telerik Software Academy academy.telerik.com.
Doing the Canvas the "easy way"! Learning & Development Telerik Software Academy.
Creating and Running Your First C# Program Svetlin Nakov Telerik Software Academy academy.telerik.com Manager Technical Training
Course Overview Doncho Minkov Telerik Software Academy Technical Trainer
The way of hybrid mobile development Hybrid Mobile Applications Telerik Software Academy
Data Types, Primitive Types in C++, Variables – Declaration, Initialization, Scope Telerik Software Academy academy.telerik.com Learning and Development.
The past, the present, the future Learning & Development Team Telerik Software Academy.
Connecting, Queries, Best Practices Tran Anh Tuan Edit from Telerik Software Academy
Processing Sequences of Elements Telerik Software Academy C# Fundamentals – Part 2.
Telerik JavaScript Framework Telerik Software Academy Hybrid Mobile Applications.
Building Rock-Solid Software Nikolay Kostov Telerik Software Academy academy.telerik.com Senior Software Developer and Technical Trainer
Telerik Software Academy Databases.
Things start to get serious Telerik Software Academy JavaScript OOP.
Learning & Development Mobile apps for iPhone & iPad.
Processing Matrices and Multidimensional Tables Telerik Software Academy C# Fundamentals – Part 2.
Nikolay Kostov Telerik Software Academy academy.telerik.com Team Lead, Senior Developer and Trainer
Functions and Function Expressions Closures, Function Scope, Nested Functions Telerik Software Academy
Implementing Control Logic in C# Svetlin Nakov Telerik Software Academy academy.telerik.com Manager Technical trainer
Inheritance, Abstraction, Encapsulation, Polymorphism Telerik Software Academy Mobile apps for iPhone & iPad.
Mocking tools for easier unit testing Telerik Software Academy High Quality Code.
What why and how? Telerik School Academy Unity 2D Game Development.
Windows Security Model Borislav Varadinov Telerik Software Academy academy.telerik.com System Administrator
Apache Cordova Overview
Presentation transcript:

Hybrid or Native?! Doncho Minkov Telerik Software Academy Senior Technical Trainer

 Mobile applications overview  Devices and platforms  Android, iOS, Windows Phone, Firefox OS and more  Types of mobile applications  Web, Native and Hybrid applications Overview  Means for Hybrid applications development

 Mobile applications are software applications running on mobile devices  i.e. tablets, smartphones and other mobile devices  Mobile applications are often available through app distribution platforms (stores)  Apple App Store, Google Play, Windows Phone Store, BlackBerry App World, etc…

 The most prominent platforms are as follows:  Apple iOS  Microsoft Windows Phone 8 and Windows 8  Google Android  Firefox OS (yet to come)  BlackBerry OS  webOS by LG (formally product of HP)  Nokia Symbian OS  Samsung Bada (stopped from development)  Tizen by Intel and Samsung

 As for Q (August 2013 ) the market share of mobile platforms is as follows: Operating System Market Share by IDC Market Share by Garthner Android~79.3%~79.0% iOS~13.2%~14.2% Windows Phone ~3.7%~3.3% BlackBerry~2.9%~2.7% Symbian~0.2%~0.3% Other~0.8%~0.6%  Gartner numbers:  IDC numbers:

 Each platform has its own development platform and tools  Windows Phone/Windows 8 – Visual Studio  Skills: C#, VB.NET or C++  Android – Eclipse and Android Dev tools  Skills: Java and/or C++  iOS and iOS mobile – xCode  Skills: Objective-C

 Each platform has its own development platform and tools  Firefox OS – Any text editor  Skills: Web, HTML and JavaScript  BlackBerry OS – QNX Momentics IDE  Java and/or C++  Symbian OS – Carbide.c++ or Eclipse Pulsar  Skills: C++ or Java

Operating System ToolsSkillsAndroid Eclipse and ADT Java or C++ iOSxCodeObjective-C Windows Phone Windows 8 Visual Studio C#/VB or C++ BlackBerry OS QNX Momentics Java Firefox OS Text Editor HTML/JavaScript Symbian Carbide.c++ or Eclipse Pulsar C++ or Java

 As the technology evolves, so does the power of Mobile apps  More and more companies introduce their own mobile apps  Three common types of applications  Web mobile applications  Native mobile applications  Hybrid mobile applications

 Web mobile apps are not real applications  They are web sites that has the look and feel of a mobile app  Developed in any Web technology  ASP.NET, SPA application, PHP, Java, etc…  Web mobile apps run in the browser  Installed from an URL  They are actually a web site/application, working in chromeless browser

 For security reasons web mobile apps cannot use the full power of the mobile OS  APIs like Geolocation, File System and Camera are inaccessible  The users must explicitly confirm the access to some of the APIs, every time s/he opens the app  Web mobile application are most suitable for information applications and apps not using mobile functionality  Like a RSS application, news app

 Native applications are applications developed for running on a specific OS  They run only on its operating system  Native apps must be installed either using an Application Store (Google Play, App Store) or through an external app installer

 Native apps have full access to resources of OS  Geolocation, File System, Accelerometer, etc.  The user must confirm the access to device APIs  Yet, only once, at the installation of the app  Native apps are developed on the platform and are hard to be ported to other platforms  iPhone apps with Objective-C  Android apps with Java  Windows Phone apps with C#

 Native apps are suitable when developing:  Games  The developer can use the device’s GPU  Apps with complex processing  The app must do a work of processing  Apps where 10 milliseconds slowdown is crucial

Learning all Objective-C, Java and C# is not good enough?

 Hybrid apps are part native, part web apps  Yet they are neither  Also called cross-platform  Hybrid apps are like native apps  They can be published to an application store  They can be installed on the device  They can use the power of the device  Hybrid apps are like web apps  Coded in web technologies like HTML and JS

 Hybrid applications leverage the engine of the default browsers for the platform  Safari mobile for iOS  Android browser for Android  IE 9 mobile for Windows Phone 7  IE 10 mobile for Windows Phone 8  The browser engine renders the HTML and process the JavaScript locally to the device  There is an abstraction layer, enabling the app to access device capabilities

 Hybrid applications run in a native container on a mobile device  The native container uses the browser engine to run the app  UIWebView for iOS  WebView for Android  WebBrowser in Windows Phone 8  This enables the app to use the device capabilities

 Most of the default mobile browsers use WebKit rendering engine  That means iOS, Android, Blackberry, etc.  Windows Phone’s IE uses Trident engine  That is why most hybrid applications can be tested on simulators, not only on emulators

 Since the rise of HTML 5 (2010) more and more hybrid application platforms surfaced  Apache Cordova (late PhoneGap)  Appcelerator Titanium  Xamarin  And more  Most hybrid app platforms targeted web developers with JavaScript skills  Since HTML is supported everywhere

 Apache Cordova (late PhoneGap) is a platform for creating mobile applications using web technologies  The applications run on the most used platforms  iOS, Android, BlackBerry, Windows Phone, etc…  Applications run in a web view  Apache Cordova was created by Nitobi Software, and was acquired by Adobe Systems in 2011

 Appcelerator Titanium is a product of Appcelerator Inc.  Use web technologies (like HTML and JS) to build cross-platform (hybrid) applications  Apps run on most platforms – Android, BlackBerry, iOS and Tizen  Applications run in a web view  Titanium has its own IDE, called Titatinum Studio and simulators

 Xamarin is a cross-mobile applications platform  Yet, it does not use web technologies  Xamarin now continues the development of the Mono platform  Mono, MonoTouch, and Mono for Android  Applications are developed using C# and.NET like platform (Mono)  Apps run on iOS, Android and Windows Phone

форум програмиране, форум уеб дизайн курсове и уроци по програмиране, уеб дизайн – безплатно програмиране за деца – безплатни курсове и уроци безплатен SEO курс - оптимизация за търсачки уроци по уеб дизайн, HTML, CSS, JavaScript, Photoshop уроци по програмиране и уеб дизайн за ученици ASP.NET MVC курс – HTML, SQL, C#,.NET, ASP.NET MVC безплатен курс "Разработка на софтуер в cloud среда" BG Coder - онлайн състезателна система - online judge курсове и уроци по програмиране, книги – безплатно от Наков безплатен курс "Качествен програмен код" алго академия – състезателно програмиране, състезания ASP.NET курс - уеб програмиране, бази данни, C#,.NET, ASP.NET курсове и уроци по програмиране – Телерик академия курс мобилни приложения с iPhone, Android, WP7, PhoneGap free C# book, безплатна книга C#, книга Java, книга C# Николай Костов - блог за програмиране