budapest.js - how to compete with a native app

16
introduction problems conclusion solutions How to compete with a native app

Upload: dotblue

Post on 01-Nov-2014

462 views

Category:

Technology


0 download

DESCRIPTION

Slides from Martin Kačmar's talk at budapest.js meetup (17th of January 2014) Learnings obtained while developing iPad web application SalesChamp (http://saleschamp.io/). Contains solutions to common problems that will not only make your web app perform like native, but give you one step ahead with power of web.

TRANSCRIPT

Page 1: budapest.js - How to compete with a native app

introduction problems conclusionsolutions

How to compete with a native app

Page 2: budapest.js - How to compete with a native app

introduction Martin Kačmar

Developer at dotBlue.

Offices in Haarlem (NL) and Brno (CZ).

Page 3: budapest.js - How to compete with a native app

introduction SalesChamp

Web application, door-to-door sales.

Page 4: budapest.js - How to compete with a native app

introduction Sales visits

Page 5: budapest.js - How to compete with a native app

introduction Contract signing

Page 6: budapest.js - How to compete with a native app

introduction Team

Page 7: budapest.js - How to compete with a native app

introduction Chat

Page 8: budapest.js - How to compete with a native app

problems Mr. Facebook vs. Sencha team

“Our biggest mistake was betting too much on HTML5”

!

“So, when Mark Zuckerberg said HTML5 wasn't ready, we took a little offense to the comment.”

Page 9: budapest.js - How to compete with a native app

solutions Tackling UI challenges

• standalone applications and address bar

• common inputs

Page 10: budapest.js - How to compete with a native app

solutions Touch Me Babe

• enhanced touch events

• 300ms tap delay

• scrolling issues

• UI bouncing

Page 11: budapest.js - How to compete with a native app

solutions Edge cases & monitoring

• error tracking

• data dumps

Page 12: budapest.js - How to compete with a native app

solutions Offline availability

• databases, key-value storages

• applicationCache comes to the rescue

• connection availability a.k.a why navigator.onLine sucks balls

• battery life problems

Page 13: budapest.js - How to compete with a native app

conclusion Advantages

• deployment without restrictions

• business model under control

• one codebase to rule them all!

Page 14: budapest.js - How to compete with a native app

conclusion Vég

If you use all the abilities that JavaScript and HTML5 nowadays offer, you are able to create an app that feels native, yet offers all the benefits of

web.

Page 15: budapest.js - How to compete with a native app

we’re looking for you!

http://saleschamp.io

Page 16: budapest.js - How to compete with a native app

thank you for your attention!

Martin Kačmar @martinkacmar

!http://saleschamp.io