Beginning Smartphone Web Development: Building JavaScript, CSS, HTML and Ajax-based Applications for iPhone, Android, Palm Pre, BlackBerry, Windows Mobile and Nokia S60I believe in the W3C’s principle of One Web—that services and information on the web should be thematically consistent and accessible to all kinds of devices, without regard to differences in presentation capabilities. Informally, the One Web principle means that if I write my grocery list online at home in Firefox, I should be able to view the list and check off my purchases at the grocery store using my mobile phone. That said, the Mobile Web and its ecosystem are unique in many ways—in access patterns, user behaviors, browser technologies, and client capabilities. A recent mobiThinking report coined the maxim “utility is the engine of the Mobile Web”. This phrase has become my mantra for Mobile Web development and I encourage you to adopt it as well. Mobile Web content succeeds when it solves a real problem for a user on the move. Driving directions, public transportation, business listings, news headlines, social networking, and banking are all examples of content that succeeds on the Mobile Web because real people using mobile phones in their daily lives find this information to be relevant, local, and immediately available. |
Contents
Introduction | xiii |
Getting Started with Mobile Web Development | 2 |
Untroduction to Mobile Web Development | 3 |
Set Up Your Mobile Web Development Environment | 15 |
The Syntax of the Mobile Web | 45 |
Mobile Markup Languages | 47 |
Device Awareness and Content Adaptation | 97 |
Adding Interactivity with JavaScript and AJAX | 135 |
Validating Mobile Markup | 239 |
Testing a Mobile Web Site | 259 |
Deploying a Mobile Web Site | 273 |
How to Play Well in the Mobile Ecosystem | 289 |
The Future of the Mobile Web | 303 |
Appendixes | 315 |
Sample UserAgents from Mobile Devices | 317 |
Sample Request Headers from Mobile Devices | 321 |
Other editions - View all
Beginning Smartphone Web Development: Building JavaScript, CSS, HTML and ... Gail Frederick,Rajesh Lal No preview available - 2010 |
Beginning Smartphone Web Development: Building JavaScript, CSS, HTML and ... Gail Frederick,Rajesh Lal No preview available - 2010 |
Common terms and phrases
actual mobile devices AJAX Android best practices BlackBerry browsing Chapter configuration content adaptation desktop and mobile desktop browsers device characteristics device database DeviceAtlas display DOCTYPE ECMAScript emulator example featurephones Figure Firefox format function gzip implement input Internet iPhone JavaScript Listing markup document markup language Markup Validation meta MIME type mobile browsers mobile developer mobile devices mobile markup mobile network mobile phone mobile users mobile version Mobile Web content Mobile Web development Mobile Web document Mobile Web pages Mobile Web sites mobile-optimized Nokia Nokia Series 60 Openwave Opera Mini optimized optional redirect request headers response header screen scripting server smartphone smartphone browsers standard style sheet switcher syntax target testing touchscreen transcoders type="text/css update user experience User-Agent Web document Web server WebKit Wireless CSS WML document WURFL WURFL device XHTML-MP XHTML-MP document XMLHttpRequest