Top Banner
Choosing the Right Mobile Development Platform (Part 2) @ChrisGriffith
19

Choosing the Right Mobile Development Platform (Part 2)

Nov 12, 2014

Download

Technology

Chris Griffith

As more and more projects are requiring mobile applications, developers are faced with a wide range of options. AIR for mobile? PhoneGap? Titanium's Appcelerator? Sencha? Native? Which development environment makes sense? This session will explore the advantages and limitations of each of these environments from someone who has been in the mobile application development world for over 4 years. Get a clear picture of what these technologies can offer for your mobile development needs.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Choosing the Right Mobile Development Platform (Part 2)

Choosing the Right Mobile Development Platform (Part 2)

@ChrisGriffith

Page 2: Choosing the Right Mobile Development Platform (Part 2)
Page 3: Choosing the Right Mobile Development Platform (Part 2)

What does jQuery Mobile do?

jQuery Mobile makes it easy to develop user interfaces for mobile web apps.

Page 4: Choosing the Right Mobile Development Platform (Part 2)

<body><div id="homePage" data-role="page">

<div data-role="header"><h1>Header</h1>

</div><div data-role="content">

<p>Content</p></div><div data-role="footer">

<h4>Footer</h4></div>

</div></body>

Basic Structure

Page 5: Choosing the Right Mobile Development Platform (Part 2)

Basic Structure

Page 6: Choosing the Right Mobile Development Platform (Part 2)

<body><div id="homePage" data-role="page">

<div data-role="header"><h1>Page Title</h1>

</div><div data-role="content">

<p>My page content</p><p><a href="#about">About this app</a></p>

</div><div data-role="footer">

<h4>Footer</h4></div>

</div><div data-role="page" id="about">

<div data-role="header"><h1>About This App</h1>

</div><div data-role="content">

<p>This app rocks! <a href="#homePage">Go home</a></p></div>

</div></body>

Basic Structure

Page 7: Choosing the Right Mobile Development Platform (Part 2)

Performance

Page 8: Choosing the Right Mobile Development Platform (Part 2)

$(document).bind("mobileinit", function() { $.mobile.defaultPageTransition = "none"; $.mobile.defaultDialogTransition = "none";});

Performance

Page 9: Choosing the Right Mobile Development Platform (Part 2)

Device Access?

Limited

Device by device

But…

Getting better

Page 10: Choosing the Right Mobile Development Platform (Part 2)

Templating

Page 11: Choosing the Right Mobile Development Platform (Part 2)

Templating

$('#hikeDetailsPage').live('pageshow', function(event) {var hikeDetailsHTML;

hikeDetailsHTML = Mustache.to_html(hikeDetailsTemplate, currentHikeData);

$('#hikeDetails').html(hikeDetailsHTML);});

Page 12: Choosing the Right Mobile Development Platform (Part 2)

Styling

Page 14: Choosing the Right Mobile Development Platform (Part 2)

iOS

Page 15: Choosing the Right Mobile Development Platform (Part 2)

iOS

Page 16: Choosing the Right Mobile Development Platform (Part 2)

Android

Page 17: Choosing the Right Mobile Development Platform (Part 2)

Android

Page 18: Choosing the Right Mobile Development Platform (Part 2)
Page 19: Choosing the Right Mobile Development Platform (Part 2)

This presentation continues in part 3