mobile web to mobile apps

28
From Mobile Website to Mobile App jQuery LA - 20 February 2013 Thursday, February 21, 13

Upload: troy-miles

Post on 08-May-2015

1.091 views

Category:

Technology


2 download

DESCRIPTION

Have web skills and think they may be obsolete in the world of mobile? They are not, here how to use them to build great mobile apps.

TRANSCRIPT

Page 1: Mobile Web to Mobile Apps

From Mobile Website to Mobile AppjQuery LA - 20 February 2013

Thursday, February 21, 13

Page 2: Mobile Web to Mobile Apps

Introduction

Thursday, February 21, 13

Page 3: Mobile Web to Mobile Apps

Who Am I?

• Troy Miles

• Senior Software Engineer w/ 30+ years of experience

• Mobile/Mobile Web

• iOS, Android, & Windows Phone 7

Thursday, February 21, 13

Page 4: Mobile Web to Mobile Apps

Thursday, February 21, 13

Page 5: Mobile Web to Mobile Apps

Intermediate PhoneGap

• JS best practices, iScroll, Maps, Ajax + more

• Saturday, May 18th

• 9 AM to 6 PM

• $99 - lunch included

• http://bit.ly/XlxzYp

• CraveLab - Downtown Los Angeles

Thursday, February 21, 13

Page 6: Mobile Web to Mobile Apps

You May Get Mad At Me

• Sorry, in advance if I insult your favorite: company, device, or personality

• I have nothing against any of these companies

• I will gladly do a project for any of them, for the right price

Thursday, February 21, 13

Page 7: Mobile Web to Mobile Apps

Others will hate you

• The cult of Java, Objective-C, and C# believe that only through pain can good mobile apps be created

• I believe they are wrong

Thursday, February 21, 13

Page 8: Mobile Web to Mobile Apps

What You Know is Valuable

• I am assuming that everyone here is a web dev of some sort

• You should understand: HTML, CSS, and a bit of JavaScript

Thursday, February 21, 13

Page 9: Mobile Web to Mobile Apps

Our Goals

• Explain Difference Between Mobile Web - Device Apps - Hybrid Apps

• Show How to Structure Websites to Move

• Introduce Apache Cordova (PhoneGap)

• Move a Website into PhoneGap

• Deploy App to a Device

Thursday, February 21, 13

Page 10: Mobile Web to Mobile Apps

Hybrid Apps

Thursday, February 21, 13

Page 11: Mobile Web to Mobile Apps

Web Apps Device Apps

Can migrate web skills Longer learning curve

One source base Many source bases

Deploy when you want Deployment needs approval

You choose when to update User chooses when to update

No device memory used Uses device memory

Difficult to monetize Monetization is built-in

Restricted device access Full access to device hardware

Slower Faster

Thursday, February 21, 13

Page 12: Mobile Web to Mobile Apps

Hybrid Apps

Can migrate web skills

One source base

Deployment needs approval

User chooses when to update

Uses device memory

Monetization is possible

Access to some device hardware

Faster than web, slower than device

Thursday, February 21, 13

Page 13: Mobile Web to Mobile Apps

Web to Mobile Web

Thursday, February 21, 13

Page 14: Mobile Web to Mobile Apps

Mobile Websites

• Smaller screen

• Slower speeds

• Touch enabled

• Orientation

Thursday, February 21, 13

Page 15: Mobile Web to Mobile Apps

Build to Move

Thursday, February 21, 13

Page 16: Mobile Web to Mobile Apps

Build to Move

• Don’t hardcode dimensions

• Modularize your code

• Use CSS

Thursday, February 21, 13

Page 17: Mobile Web to Mobile Apps

Apache Cordova

Thursday, February 21, 13

Page 18: Mobile Web to Mobile Apps

Pronounced “PhoneGap”

• Created by a Nitobi, acquired by Adobe

• Open sourced by Adobe

• PhoneGap is a trademark of Adobe

• Telerik’s Icenium is also based on Cordova

• Creates “Hybrid” Apps

Thursday, February 21, 13

Page 19: Mobile Web to Mobile Apps

Featured PhoneGap Apps

• http://phonegap.com/app/feature/

Thursday, February 21, 13

Page 20: Mobile Web to Mobile Apps

Icenium

Thursday, February 21, 13

Page 21: Mobile Web to Mobile Apps

Icenium

• Built by Telerik

• Current version is 1.2

• PhoneGap code runs on it unmodified

• Deploy directly to device

• Free until May 1st

• Includes Kendo UI Mobile

Thursday, February 21, 13

Page 22: Mobile Web to Mobile Apps

Window 8

Thursday, February 21, 13

Page 23: Mobile Web to Mobile Apps

Windows 8

• Can use HTML, CSS, & JavaScript Program

• JS is a first class citizen on Windows RT

• UI Libraries don’t work well under it

• JS Libraries should be fine

Thursday, February 21, 13

Page 24: Mobile Web to Mobile Apps

Summary

Thursday, February 21, 13

Page 25: Mobile Web to Mobile Apps

Next Steps

• Just Starting out? Try Icenium, it is free until May 1st.

• Try PhoneGap and PhoneGap Build

• Learn a JavaScript MVC Framework like: Backbone, Knockout, or Ember

Thursday, February 21, 13

Page 26: Mobile Web to Mobile Apps

Links

• http://phonegap.com

• http://www.icenium.com/

• http://addyosmani.github.com/todomvc/

Thursday, February 21, 13

Page 27: Mobile Web to Mobile Apps

Me

• @therockncoder

[email protected]

• http://therockncoder.blogspot.com/

• http://www.youtube.com/user/rockncoder

• https://github.com/Rockncoder

Thursday, February 21, 13

Page 28: Mobile Web to Mobile Apps

Questions?

Thursday, February 21, 13