Cover image for Smashing mobile web development : going mobile with HTML5, CSS3, and Javascript
Title:
Smashing mobile web development : going mobile with HTML5, CSS3, and Javascript
Personal Author:
Publication Information:
Chichester, West Sussex, U.K. : John Wiley & Sons Inc., 2013
Physical Description:
xv, 296 p. : col. ill. ; 23 cm.
ISBN:
9781118348161
General Note:
Includes index
Added Author:

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010324851 QA76.76.H94 A985 2013 Open Access Book Book
Searching...

On Order

Summary

Summary

Developers, here's what you need to migrate your skills to mobile

If you're a devoted reader of Smashing Magazine, you know that all development roads now lead to mobile, so desktop-browser-based web developers need to get up to speed and soon. Start migrating your abilities to mobile with this terrific book. It first helps you make the switch to HTML5 and CSS3, before teaching you how to apply those skills to build websites that work across all mobile devices and mobile browsers.

Topics include using wireframes and templates, understanding frameworks such as jQuery Mobile, getting up to speed on newer technologies such as Boilerplate, and more.

Essential guide for web developers who want to build websites that work across all mobile devices and mobile browsers
Explains the essential tools you'll need for web mobile, including HTML5, CSS3, and JQuery Mobile
Brings you up to speed on newer tools such as Boilerplate Keeps your professional skills up to date with today's technology trends

By the time you finish Smashing Mobile Web Development , you'll have built your own mobile website that incorporates geolocation, social media, and more.


Author Notes

Greg Avola is a co-founder and CTO for a social startup, Untappd, that helps users track, recommend, and discover new beers, breweries, and beer venues. The Untappd mobile app was built using the HTML5/CSS/JS technologies that are discussed throughout this book.
Jon Raasch is a front-end web developer and designer who has been programming for the web for more than 15 years. Using modern programming techniques, he designs user interfaces that are dynamic and engaging and make full use of search engine spiderability. By integrating design, development, and branding, he makes websites that are as accessible to users as they are to Googlebot.


Table of Contents

Part I Introduction to HTML5/JS/CSSp. 5
Chapter 1 Introduction to Mobile Web Developmentp. 7
Mobile Web Examplesp. 8
Understanding Native Versus Web Platformsp. 9
Pros and Cons of Native Versus Web Platformsp. 9
Web-to-Native Solutionsp. 11
Devices and Operating Systemsp. 12
Design Aestheticsp. 13
Dialog Boxesp. 14
iOS Design Patternsp. 14
Android Design Patternsp. 14
Viewportsp. 14
Orientationsp. 16
Fontsp. 16
Summaryp. 18
Chapter 2 Overview of Mobile Technologiesp. 19
HTMLp. 20
Key HTML5 Featuresp. 20
CSS3p. 28
Key CSS3 Featuresp. 29
Javascriptp. 34
jQueryp. 34
XUIp. 34
Zeptop. 35
jQTouchp. 35
UI Frameworks/Utilitiesp. 35
Sencha Touchp. 35
jQuery Mobilep. 35
Modernizrp. 36
iScrollp. 36
Mustache/JavaScript Templatesp. 37
Summaryp. 38
Part II Application Setup and Infrastructurep. 39
Chapter 3 Development and Production Setupp. 41
Development Setupp. 42
Implementing Local Hostingp. 43
Setting Up MAMP (For Mac OS X)p. 43
XAMPP for Windowsp. 45
Using IDEs to Write Your Web Appp. 48
Testing Your Codep. 51
Setting Up the Production Environmentp. 57
Hostingp. 57
Infrastructure Setupp. 58
Managing Bandwidthp. 59
Summaryp. 59
Chapter 4 Creating the Prototypep. 61
Using HTML5 to Aid in Structure and Designp. 62
Using the HTML5 Mobile Boilerplatep. 62
Application Designp. 63
Mocking Up Your Pagesp. 64
Settings/Aboutp. 65
Defining Hash Navigationp. 73
Pushstate Navigationp. 75
Summaryp. 76
Chapter 5 Mobile Web Structurep. 77
Elements to Buildp. 78
Centering Your Content with Viewportsp. 78
Using Full App Mode (iOS Only)p. 79
Adding Header and Navigation Elementsp. 87
Adding Hash Change Eventsp. 89
Transitionsp. 90
Letting Users Scroll Through App Pagesp. 92
Allowing Your Application to Adapt to Orientation Changesp. 95
Summaryp. 99
Chapter 6 Creating a Mobile Web Databasep. 101
Elements to Buildp. 102
Databases in HTML5p. 102
Summaryp. 112
Part III Developmentp. 113
Chapter 7 Interacting with Web SQLp. 115
Elements to Buildp. 116
Creating the Database and Its Tablesp. 116
Adding Values to the Color Tablep. 118
Building the Manage Wine Pagep. 119
Summaryp. 134
Chapter 8 Geolocation and AJAXp. 135
Elements to Buildp. 136
Creating the Find Tabp. 136
Creating the Callbackp. 139
Handling Location with Google Mapsp. 140
Using the Foursquare API to Find Venuesp. 143
Creating the Info Windowp. 147
Building the Refresh Buttonp. 150
Summaryp. 152
Chapter 9 Running Queries and Connecting with Social Mediap. 153
Elements to Buildp. 154
Creating the Activity Tabp. 154
Writing the Queryp. 154
Working with Templatesp. 156
Using Templates to Build the Activity Feedp. 158
Running Your Script and Displaying the Results Correctlyp. 161
Creating the Wine Detail Pagep. 162
Creating the Wine Detail Page Structurep. 162
Building the Wine Detail Page Logicp. 163
Showing Detail on the Pagep. 166
Connecting to External Sitesp. 167
Building the Templatep. 167
Creating the List Viewp. 170
Building the Template for Your Tweetsp. 172
Defining a Custom Function for Relative Timestampsp. 174
Tweaking the Timestampp. 175
Changing the Tweet in the List Viewp. 177
Sharing on Twitter and Facebookp. 178
Summaryp. 179
Chapter 10 Location Storage and Searchp. 181
Elements to Buildp. 182
Creating the Mystorage Functionp. 182
Caching Geolocation and Venuesp. 184
Caching Tweetsp. 188
Saving Details in the Settings Tabp. 189
Searching Your Historyp. 191
Summaryp. 195
Part IV Performance and Productionp. 197
Chapter 11 Testing and Organizing Your codep. 199
Organizing Your JavaScript Filesp. 200
Setting Up Global.jsp. 201
Creating Database.jsp. 202
Creating Util.jsp. 202
Creating Social.jsp. 203
Creating Geo.jsp. 203
Creating Helper.jsp. 203
Putting It All Togetherp. 204
Loading Your JavaScript Filesp. 204
Head.jsp. 205
Manifest Cachep. 205
Decrease Your Javascript Footprintp. 206
Mobile Testing Techniquesp. 207
Testing For Corksp. 207
Summaryp. 209
Chapter 12 Preparing for Launchp. 211
Debugging Tipsp. 212
Testing Environmentsp. 212
Development Toolsp. 215
Touch Vs. Mouse Eventsp. 221
Performance Tipsp. 221
Mobile Bandwidthp. 222
JavaScript Optimizationsp. 224
CSS Optimizationsp. 229
Summaryp. 233
Appendix A: HTML5, CSS3, and JavaScript Conceptsp. 235
HTML5p. 236
Markupp. 236
Geolocationp. 238
DOM Storagep. 240
Cache Manifestp. 242
CSS3p. 245
Box Shadowp. 245
Gradientsp. 249
CSS Animationp. 257
JavaScriptp. 265
Basic Eventsp. 265
Touch Eventsp. 267
jQueryp. 271
Summaryp. 277
Indexp. 279