war of the worlds: web or native? both!

34
How Wikia is working on re- launching their mobile apps using a well calibrated mix of web and native app development on both iOS and Android War of the worlds: Web or Native? Both!

Upload: federico-lucignano

Post on 24-Jul-2015

90 views

Category:

Software


1 download

TRANSCRIPT

Page 1: War of The Worlds: Web or Native? Both!

How Wikia is working on re-launching their mobile apps using a well calibrated mix of web and native app development on both iOS and Android

War of the worlds: Web or Native? Both!

Page 2: War of The Worlds: Web or Native? Both!

Dzień dobry IxDA :)Federico "Lox" Lucignano

Senior Lead EngineerMobile & API Team - Wikia, Inc.

[email protected]

Page 3: War of The Worlds: Web or Native? Both!

Who we are: WikiaWikia, Inc. San Francisco, CA

Wikia Sp.z.o.o., Poznańwww.wikia.com

Page 4: War of The Worlds: Web or Native? Both!

Who we are: Mobile & API teamwww.wikia.com/Mobile

[email protected]@gmail.com

Page 5: War of The Worlds: Web or Native? Both!

Who we are: Mobile & API team (for real)www.wikia.com/Mobile

[email protected]@gmail.com

Page 6: War of The Worlds: Web or Native? Both!

What do we dowww.wikia.com/Mobile/Wikiamobile

www.wikia.com/Mobile/LyricWikiwww.wikia.com/Mobile/GameGuides

Page 7: War of The Worlds: Web or Native? Both!

What do we dowww.wikia.com/Mobile/Wikiamobile

www.wikia.com/Mobile/LyricWikiwww.wikia.com/Mobile/GameGuides

Page 8: War of The Worlds: Web or Native? Both!

... actually it has always been ...

The Mobile Nation is at war

Page 9: War of The Worlds: Web or Native? Both!

WWI: Fixed vs Mobile

Page 10: War of The Worlds: Web or Native? Both!

1 - 0 for Mobile

Page 11: War of The Worlds: Web or Native? Both!

WWII: Smart vs Feature

Page 12: War of The Worlds: Web or Native? Both!

Episode III: Phones wars

Page 13: War of The Worlds: Web or Native? Both!

Let's keep the ball trolling rolling...

Page 14: War of The Worlds: Web or Native? Both!

In the beginning there was no clear winner...

Web started from a privileged position, but apps have been

growing fast

Page 15: War of The Worlds: Web or Native? Both!

... but after a while apps took control of the users' time

But "app" nowadays doesn't mean just "native", what about

"hybrid" solutions?

Page 16: War of The Worlds: Web or Native? Both!

The quest for the sweet spot in mobile development

Four degrees of hybrid-ness

Page 17: War of The Worlds: Web or Native? Both!

First things first: what is "hybrid"?

Page 18: War of The Worlds: Web or Native? Both!

What are the implications?

Page 19: War of The Worlds: Web or Native? Both!

Leaving in a golden cageThe limits of

hybrid solutions

Hybrid

Page 20: War of The Worlds: Web or Native? Both!

The three four great orders

Mobile Browser

+

Web

Device API's

+

Native shell

+

Web

Device API's

+

Native shell

+

Web <=> Native

Device API's

+

Native code

Web apps Hybrid - web Hybrid - mixed Native apps

Page 21: War of The Worlds: Web or Native? Both!

What does XYZ's app use?This graphics tries to

cateogorize some popular apps in one of the 4 categories

Page 22: War of The Worlds: Web or Native? Both!

Hybrid app development @ Wikia

5 is the answer

Page 23: War of The Worlds: Web or Native? Both!

Breaking out the limitsNative web

The sweet spot of mobile development

Native web

Page 24: War of The Worlds: Web or Native? Both!

The fifth partyIntroducing Ponto

github.com/wikiaapps/Ponto

- Free (as in "free beer")

- Open (as in "open source")

- Secure (as in "sandbox")

- 100% native, 100% web

Page 25: War of The Worlds: Web or Native? Both!

What's under the hood?Taking advantage of

Webkit's cross-platformfeatures

HTML5+

CSS3+

JavaScript

Native code

message

callback

callback

message

Webkit's JavascriptBridge

Device API'sWebview

Page 26: War of The Worlds: Web or Native? Both!

Yeah... sure...What is the impact

on the user experience?

Page 27: War of The Worlds: Web or Native? Both!

Things to watch out forDon't do it just for

the LULz

● Webviews are slow on older devices and OS versions, keep your JS/HTML/CSS light

● Animations aren't always smooth

● Switching to a Webview in the app flow is not glitchless by default

● JS failure in the Webview needs special care

Page 28: War of The Worlds: Web or Native? Both!

And now for something totally differentLet's take a look at a real

world example

Talk is cheap,SHOW ME

THE DEMO!

Page 29: War of The Worlds: Web or Native? Both!

... and back to web

From web to native...

Page 30: War of The Worlds: Web or Native? Both!

Payback time: put some app in your mobile site

How native appsinfluence mobile web

development

Page 31: War of The Worlds: Web or Native? Both!

● Animations and transitions● Gestures● Media as a first class citizen● Contextes● UI elements and paradigms● Typography● Simplicity and readability● Performance

Divide & conquer? Unite and inspire!

How keeping designers, mobile web developers and native app developers together results in

a great UX

Page 32: War of The Worlds: Web or Native? Both!

You bet, time for another demo!

Page 33: War of The Worlds: Web or Native? Both!

Thanks for staying awake :) Questions?

Page 34: War of The Worlds: Web or Native? Both!

Join us!We're hiring in Poznańwww.wikia.com/Hiring