desktop? mobile? unify!

35
http://www.intomobile.com/wp-content/uploads/2011/02/pile-of-phones.jpg Desktop? Mobile? Unify! Cross-Plattform Mobile Development Stefan Kolb Indiginox GmbH MobileTechCon 2012 05/Sep/2012 - Frankfurt/Main, Germany Sebastian Fastner IT-Berater

Upload: stefan-kolb

Post on 18-Jan-2015

356 views

Category:

Technology


2 download

DESCRIPTION

Introduction to the Unify JavaScript framework

TRANSCRIPT

Page 1: Desktop? Mobile? Unify!

http://www.intomobile.com/wp-content/uploads/2011/02/pile-of-phones.jpg

Desktop? Mobile? Unify!Cross-Plattform Mobile Development

Stefan KolbIndiginox GmbH

MobileTechCon 201205/Sep/2012 - Frankfurt/Main, Germany

Sebastian FastnerIT-Berater

Page 2: Desktop? Mobile? Unify!

Agenda

• Was ist Unify?

• Features

• Live-Coding

Page 3: Desktop? Mobile? Unify!

Web vs Native

http://www.flickr.com/photos/plainkacyjane/2254145745

Page 4: Desktop? Mobile? Unify!

Java

Objective!C

C / C++

Symbian!C

Page 5: Desktop? Mobile? Unify!

Safari

Mobile Safari

IE

Mobile IE

Opera

Opera Mobile

Opera Mini

Google Chrome

Android Browser

Firefox

Mobile Firefox

Page 6: Desktop? Mobile? Unify!

Mobile app store overviewLast updated: December 2, 2009For more information, check

Mobile app store overviewLast updated: December 2, 2009For more information, check www.distimo.com

Apple App Store Android Market Blackberry App World Nokia Ovi Store GetJar Palm App Catalog Samsung App Store Sony Ericsson PlayNow LG Application Store Windows Marketplace Handmark Intel Atom HandsterLaunch date Jul 11, 2008 Oct 22, 2008 Apr 1, 2009 May 26, 2009 Dec 1, 2004 Jun 6, 2009 Feb 3, 2009 Aug 10, 2009 Jul 13, 2009 Expected Q3 2009 Dec 1, 2000 - May 26, 2005

Supported platforms iPhone OS Android OS Blackberry OS 4.2 and higher

Java, Symbian,Flash Lite,

WRT Widgets

Java, Symbian, Windows Mobile, Palm, Blackberry,

Flash Lite, Android

Palm webOS Symbian, Windows Mobiile

Java, Symbian Windows Mobile Windows Mobile,Widgets

Android, BlackBerry, Java, Palm, Palm Web OS,

Windows Mobile, Symbian

Java, Debian Moblin Native, Windows Native,

Adobe AIR, RedHat Linux

Windows Mobile, Symbian, Android OS, BlackBerry,

Java

Amount of Users 50M 1M 5-10M 5-10M 15M <1M 5MAvailable applications 105,000 15,000 3,500 7,500 14,000 250 1,000 3,700 1,400 - - - 5,700Total downloads 2,000,000,000 40,000,000 Undisclosed - 692,000,000 1,000,000 Undisclosed - - - - - 10,000,000

Billing method iTunes Google checkout, opr. bill Paypal Credit card,operator billing Credit card Credit card Credit card, Paypal Credit card, premium SMS Credit card Credit card, operator billingCredit card, operator billing - Credit card, paypal, operatorDeveloper revenue share 70% 70% 80% 70% Undisclosed, in beta 70% 70% - 80% 70% - 70% 60%One-off billing Yes Yes Yes Yes Yes Yes Yes - Yes Yes Yes YesSubscription billing Yes No No No No No No - No No No YesIn-app billing Yes No No No No No No - No No No Yes

# countries for free apps 77 26 19 - - 2 1 13 2 - - -# countries for paid apps 77 8 19 - - 0 1 13 2 - - -Countries http://tinyurl.com/6r45es http://tinyurl.com/pbrpz6 http://tinyurl.com/b8tz88 - Open worldwide US, Canada UK, France, Italy - Australia, Canada - Open worldwide Open worldwide

Developer submission fee $99 $25 $200 $0 $0 $99 $0 $0 Undisclosed $99 - $99 $0Remarks Charges for operator

billing to be paid from 70% developer rev share

Also provides white-label app stores

Mobango Vodafone 360 Java App Store Verizon VCast China Mobile Market T-Mobile web2go Software Store PocketGear Handango Archos AppsLib SlideME TIM App Store AndAppStoreLaunch date Dec 1, 2004 Expected end 2009 Undisclosed Expected Q4 2009 Aug 17, 2009 Nov 20, 2008 Sep 18, 2002 Jun 1, 2008 Jun 1, 2008 Sep 15, 2009 April, 2008 Expected Q1 2010 Oct 10, 2008

Supported platforms Java, Symbian, Windows Mobile, Palm, Blackberry,

Flash Lite, Android

Undisclosed Java Windows Mobile, Palm, Blackberry, Android,

Symbian

Windows Mobile, Android, Symbian

Android, BlackBerry, Java, Mobile Web, Sidekick, Windows

Mobile

Android, BlackBerry, Windows Mobile,

Blackberry, Palm Web OS, Windows Mobile, Symbian

Android, Blackberry, Palm, Windows Mobile, Symbian

Android Android JAVA, Brew, Flash, Android. To be added:

Windows Mobile, Symbian, Palm, LiMo

Android

Amount of Users 40M subscribers -Available applications 24,000 - - - - - 70,000 - 66 292 - 258Total downloads to date - - - - - - 100,000,000 100,000,000 - - - 160,000

Billing method - Operator billing - Operator billing - Credit card Credit card, Paypal - Credit card, Amazon - PayPalDeveloper revenue share - 70% - 70% 70% 70% 60% 60% - - - 100%One-off billing No Yes - Yes - Yes Yes Yes No Yes - YesSubscription billing No Yes - Yes - Yes No No No No - NoIn-app billing No Yes - Yes - No No No No No - No

# countries for free apps - - - - - 1 - - - - 1 -# countries for paid apps - - - - - 1 - - - - 1 All PayPal countriesCountries Open worldwide - - - China United States Open worldwide Open worldwide Open worldwide Open worldwide Brazil Open worldwide

Developer submission fee $0 - - - - - - - - - - $0Remarks Provided by Handmark Targets Android devices

without Google’s approval to include Android Market

X App Stores... and counting

http://www.distimo.com/uploads/mobile%20app%20store%20overview.pdf

Page 7: Desktop? Mobile? Unify!

Nie gehört!

Unify?

http://mitglied.multimania.de/krassomatik/files/wwm03.jpg

Page 8: Desktop? Mobile? Unify!

• JavaScript Framework

• Vereinigt verschiedene Frameworks

• Plus eigene Konzepte &Funktionen

Page 9: Desktop? Mobile? Unify!

Entstehung

• Deutsche Telekom

• Wird seit 2010 entwickelt

• Momentan in v3-beta verfügbar(komplette Überarbeitung)

• Verfügbar unter MIT undApache 2.0 Lizenz

Page 10: Desktop? Mobile? Unify!

Frameworks

• Core (github.com/zynga/core)

• Lowland (github.com/fastner/lowland)

• Rearside (github.com/fastner/rearside)

• ApiBrowser (github.com/zynga/apibrowser)

• qooxdoo (github.com/qooxdoo/qooxdoo)

Page 11: Desktop? Mobile? Unify!

Core

• Leichtgewichtiges JS-Framework

• Klassen, Mixins, Interfaces, Module

• Permutationen

• Internationalisierung

• Assets

Page 12: Desktop? Mobile? Unify!

Lowland

• Browser-Abstraktion

• Browser- & Feature-Detection

• (Touch-)Events-Handling

• HTML5-APIs

Page 13: Desktop? Mobile? Unify!

Features

http://appleheadlines.com/wp-content/uploads/2011/02/ODjxsDDL6XrYxBDW-1024x768.jpg

Page 14: Desktop? Mobile? Unify!

http://www.w3.org/html/logo/downloads/HTML5_Logo_512.png / http://www.flickr.com/photos/redhousewd/6079852166/

HTML5 CSS3

Page 15: Desktop? Mobile? Unify!

MVC

Model View

Controller

Page 16: Desktop? Mobile? Unify!

Klassen

Page 17: Desktop? Mobile? Unify!

Mixins

Page 18: Desktop? Mobile? Unify!

Interfaces

Page 19: Desktop? Mobile? Unify!

Widgets / Views

• Widgets = User Interface Elemente(Button, Checkbox, Textfield, Slider, Navigation Bar etc.)

• Views = Container für Widgets(Steuert unter Anderem das Anzeigen von Widgets)

Page 20: Desktop? Mobile? Unify!

Layouts

• Anordnung von Widgets innerhalb eines Views (Containers)

• Canvas, HBox, VBox, Dock,Flow, Grid, Center

Page 21: Desktop? Mobile? Unify!

Theming

Page 22: Desktop? Mobile? Unify!

Tooling

• Jasy (github.com/zynga/jasy)

• Build-Tool

• App-Cache (github.com/fastner/jasy-appcache)

Page 23: Desktop? Mobile? Unify!

App-Store Integration

Page 24: Desktop? Mobile? Unify!

Zukun!tspläne

• PhoneGap Build API Integration

• Chrome Web Store

• Firefox Marketplace

Page 25: Desktop? Mobile? Unify!

PagePlace

Page 26: Desktop? Mobile? Unify!

PagePlace

Page 27: Desktop? Mobile? Unify!

PagePlace

Page 28: Desktop? Mobile? Unify!

PagePlace

Page 29: Desktop? Mobile? Unify!

Mail for iPad

Page 30: Desktop? Mobile? Unify!

Mail for iPad

Page 31: Desktop? Mobile? Unify!

Mail for iPad

Page 32: Desktop? Mobile? Unify!

http://media.oregonlive.com/ent_impact_arts/photo/leventijpg-1275f1d04cd5ba33.jpg

Flickr-Client

Live-Coding

Page 33: Desktop? Mobile? Unify!

github.com/unify/mtc2012

Page 34: Desktop? Mobile? Unify!

Support

• www.unifyjs.com

• create.unifyjs.com

• github.com/unify/unify

• www.unifyjs.com/support

Page 35: Desktop? Mobile? Unify!

Fragen?Bitte nicht so schwierige :!)

@[email protected]

@[email protected]