jqtouch and titanium

48
jQTouch and Titanium by Marc Grabanski

Upload: marc-grabanski

Post on 20-Aug-2015

7.186 views

Category:

Technology


0 download

TRANSCRIPT

jQTouch and Titaniumby Marc Grabanski

Mobile Web Development

Native Apps in JavaScript

Ah, choices!

Native Apps

Native Apps

• High Performance

Native Apps

• High Performance• Findable in App Store

Native Apps

• High Performance• Findable in App Store• Native UI, Media API,

Native Apps

• High Performance• Findable in App Store• Native UI, Media API,

File System, Accelerometer

Native Apps

• High Performance• Findable in App Store• Native UI, Media API,

File System, Accelerometer• Monetization

Web App Features

Web App Features

• Instant Updates (no app store)

Web App Features

• Instant Updates (no app store)• HTML5 Offline, Local Storage

Web App Features

• Instant Updates (no app store)• HTML5 Offline, Local Storage• Save to Home Icon

Web App Features

• Instant Updates (no app store)• HTML5 Offline, Local Storage• Save to Home Icon• Touch Events

Web App Features

• Instant Updates (no app store)• HTML5 Offline, Local Storage• Save to Home Icon• Touch Events• Geolocation

Web App Features

• Instant Updates (no app store)• HTML5 Offline, Local Storage• Save to Home Icon• Touch Events• Geolocation• Canvas

Web App Features

• Instant Updates (no app store)• HTML5 Offline, Local Storage• Save to Home Icon• Touch Events• Geolocation• Canvas• CSS Transforms

Web App Features

• Instant Updates (no app store)• HTML5 Offline, Local Storage• Save to Home Icon• Touch Events• Geolocation• Canvas• CSS Transforms• 100% revenue

jQTouch

jQTouch

• Themes

jQTouch

• Themes• Automatic Navigation

jQTouch

• Themes• Automatic Navigation• CSS Animations (fast)

jQTouch

• Themes• Automatic Navigation• CSS Animations (fast)• Save Icon to Home

jQTouch

• Themes• Automatic Navigation• CSS Animations (fast)• Save Icon to Home• Ajax

jQTouch

• Themes• Automatic Navigation• CSS Animations (fast)• Save Icon to Home• Ajax• Touch Events

Can’t jQTouch this!

jQTouch is markup drivenHTML and CSS

Pages

<div id=”home”><div class=”toolbar”>

<h1>My Page</h1><a class=”back”>Back</a>

</div><ul>

<li><a href=”#mypage”>link</a></li></ul>

</div><div id=”mypage”>

<div class=”toolbar”><h1>My Page</h1><a class=”back”>Back</a>

</div></div>

CSS transforms are hardware accelerated

• slide• flip• fade• slideup

• swap• cube• pop• dissolve

Animation

• slide• flip• fade• slideup

• swap• cube• pop• dissolve

Animation

<a href=”#page” class=”swap”>

• slide• flip• fade• slideup

• swap• cube• pop• dissolve

Animation

<a href=”#page” class=”swap”>

clicking back will auto-reverse animation

Events

• tap - touch version of click

Events

• tap - touch version of click• pageAnimationStart

Events

• tap - touch version of click• pageAnimationStart• pageAnimationEnd

Events

• tap - touch version of click• pageAnimationStart• pageAnimationEnd• turn - orientation turned

Events

• tap - touch version of click• pageAnimationStart• pageAnimationEnd• turn - orientation turned• swipe

Events

Themes

jQT and Apple

+

+= native app

Web App.. Plus Native

PhoneGap + jQTouch

PhoneGap + jQTouch

• Accellorometer

PhoneGap + jQTouch

• Accellorometer• Magnometer

PhoneGap + jQTouch

• Accellorometer• Magnometer• Camera

PhoneGap + jQTouch

• Accellorometer• Magnometer• Camera• Sound

PhoneGap + jQTouch

• Accellorometer• Magnometer• Camera• Sound• Get in the App Store!

Thank you!

Marc Grabanski: http://marcgrabanski.com

Twitter: @1Marc