cross-platform tools: build once and run everywhere

29
Cross-Platform Tools Build once and Run Everywhere Alexey Karpik Web Platform Developer at ALTOROS Tuesday, May 22, 12

Upload: altoros

Post on 28-Jan-2015

110 views

Category:

Technology


5 download

DESCRIPTION

This presentation provides a detailed overview of tools designed for building cross-platform apps. You will: - Learn about the most popular mobile platforms - Explore the 5 types of tools you can use for building mobile apps - See real-life examples and use cases - Compare advantages and disadvantages of each type of cross-platform development tools

TRANSCRIPT

Page 1: Cross-Platform Tools: Build Once and Run Everywhere

Cross-Platform ToolsBuild once and Run Everywhere

Alexey KarpikWeb Platform Developer at ALTOROS

Tuesday, May 22, 12

Page 2: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

Action plan

Current mobile platforms overview Main groups of cross-platform tools Examples of the usage Summary Questions

Tuesday, May 22, 12

Page 3: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL 3

Windows Phone 72.0%

RIM7.2%

Symbian8.9%

iOS23.8%

Android58.2%

World-Wide Smartphone Sale (2012 Q1)

Mobile platforms

Tuesday, May 22, 12

Page 4: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

Cross-platform tools groups

JavaScript Libraries

Wrappers around web applications

Transformers to Native code

Applications Frameworks

Adobe Air

Tuesday, May 22, 12

Page 5: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

JavaScript Libraries

Single unified GUIYou have one GUI for multiple devices (buttons, header, footer, tabs groups, and etc.)

Touch interface benefitsMost of the devices have build in touch screens

HTML5, CSS3Audio, video, storage, animation and effects

Tuesday, May 22, 12

Page 6: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

Senchahttp://www.sencha.com/

JavaScript Libraries

Have some additional related products:Sencha Architect (UI builder)Sencha Animator (CSS3 effects builder)

Tuesday, May 22, 12

Page 7: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

jQuery mobilehttp://jquerymobile.com

JavaScript Libraries

...<body><div data-role="page"> <div data-role="header"> <h1>My Title</h1> </div><!-- /header --> <div data-role="content"> <h1>Lists</h1> <ul data-role="listview" data-inset="true" data-filter="true"> <li><a href="#">Acura</a></li> <li><a href="#">Audi</a></li> </ul> <h1>Forms</h1> <form><label for="slider-0">Input slider:</label> <input type="range" name="slider" id="slider-0" value="25" min="0" max="100" /> </form> </div><!-- /content --> <div data-role="footer"> <p>&copy; 2011-12 Altoros Systems LLC.</p> </div><!-- /header --></div><!-- /page --></body>...

Tuesday, May 22, 12

Page 8: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

Johttp://joapp.com/

JavaScript Libraries

Lightweight JavaScript framework designed for HTML5 apps.Last code update on GitHub about 4 month ago :(

Tuesday, May 22, 12

Page 9: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

JavaScript Libraries

Modern technologies Quick start Injection Widely used No special

environment

Advantages Disadvantages Not a native app Application speed Platform dependable Internet No distribution channels

Tuesday, May 22, 12

Page 10: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

The M Projecthttp://the-m-project.org/jQuery mobile, NodeJs, Build HTML

Applications Frameworks

Create an application from the start Familiar programming language

Tuesday, May 22, 12

Page 11: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

Applications Frameworks

Single place for business and presentation layers

Cutting-edge technologies

Doesn’t allow migration 100% relay on

development tools and community

Online usage only Browser window No distribution channels

Advantages Disadvantages

Tuesday, May 22, 12

Page 12: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

Create a native app for mobile platform

Integrated Development Environment

Single code development

Native API support

Wrappers around web applications

Tuesday, May 22, 12

Page 13: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

http://www.mosync.comJavaScript, HTML, C++

MoSync

Wrappers around web applications

Tuesday, May 22, 12

Page 14: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

MoSync

Tuesday, May 22, 12

Page 15: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

http://phonegap.com/HTMLJavaScript LibrariesXcode plugin

PhoneGap

Wrappers around web applications

Tuesday, May 22, 12

Page 16: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

PhoneGap

Tuesday, May 22, 12

Page 17: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

http://rhomobile.com/RubyjQuery Mobile

RhoMobile

Wrappers around web applications

Tuesday, May 22, 12

Page 18: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

RhoMobile

Tuesday, May 22, 12

Page 19: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

Advantages Native API Extendable tools Offline support Native Application Covered common cases Native SDK Native Distribution

channels

Disadvantages Not Native UI Challenges to go live High level of expertise Dependence on native

SDK versions.

Wrappers around web applications

Tuesday, May 22, 12

Page 20: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL 20

Transformers to Native code

Create a native app for mobile platform

Transform Platform Language into Native

code

Integrated Development Environment

Have Platform Services

Native API support

Tuesday, May 22, 12

Page 21: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

http://www.antennasoftware.com/AMPWizardsBuild-in User Management

Antenna

Transformers to Native code

Tuesday, May 22, 12

Page 22: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

Antenna

Tuesday, May 22, 12

Page 23: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

http://www.appcelerator.comJavaScript only, but recently support HTML5 (mobile web version)

The only tool that generates native UI elements, and transforms JavaScript into Native Platform Code.

Appcelerator Titanium

Transformers to Native code

Tuesday, May 22, 12

Page 24: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

Appcelerator Titanium

Tuesday, May 22, 12

Page 25: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

Advantages Native API Extendable tools Offline support Native Application Native UI Native SDK Native Distribution

channels

Disadvantages Challenges to go live Dependence on

Transformers Dependence on native

SDK versions.

Transformers to Native code

Tuesday, May 22, 12

Page 26: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL 26

Adobe AIR

Integrated Development Environment

Create native app for mobile platformSWF byte-code runs on Native Platform, iOS - Adobe

AIR player embedded into each app, on Android use

system installed Adobe AIR player.

Native API support

Stage 3D

Tuesday, May 22, 12

Page 27: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

Advantages Native API Extendable tools Offline support Native Application Stage 3D support (for

games) Native Distribution

channels

Disadvantages Not Native UI Challenges to go live Dependence on native

SDK versions. Moved into Gaming

directions

Adobe AIR

Tuesday, May 22, 12

Page 28: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

Summary

Allows to utilities 80% off all web development resources.

Covers about 70% of all common application GUI

Covers about 60% of the common mobile application functionality

Does not work for platform specific features

No performance optimization as for native UI elements.

Does not really cover all mobile platforms

Tuesday, May 22, 12

Page 29: Cross-Platform Tools: Build Once and Run Everywhere

© ALTOROS Systems | CONFIDENTIAL

Questions

Anything you want to ask about?

Tuesday, May 22, 12