No Gravatar

My first book, Beginning Smartphone Web Development: Building Javascript, CSS, HTML and Ajax-Based Applications for iPhone, Android, Palm Pre, Blackberry, Windows Mobile and Nokia S60, was published by Apress in December 2009.

Beginning Smartphone Web Development Book CoverThis book is a “boot camp” for the Mobile Web and mobile ecosystem. Using this book, you will build interactive Mobile Web applications that comply with industry standards and best practices and optimize Mobile Web sites for performance on smartphones and the mobile network.

Beginning Smartphone Web Development is written for Web developers and designers who are beginning to explore the Mobile Web. No prior experience with mobile devices is assumed. The first two parts of the book introduce you to the basic concepts, standards and conventions of Mobile Web development. The third part of the book teaches you mobile design and usability principles and specialized enhancements for powerful Web browsers on smartphones. The fourth part of the book shows you how to optimize, validate, test and deploy a Mobile Web site on the public Internet and into the mobile ecosystem. The appendices in the final part of the book contain reference material, including user-agents and request headers from smartphone browsers, a glossary of mobile industry terms and a case study about the caching and concurrency behavior in mobile browsers.

You’ll learn to:

  • Identify web traffic from mobile devices.
  • Develop web sites using the markup languages of the Mobile Web: XHTML, XHTML-MP and CSS.
  • Use Mobile JavaScript and AJAX for client-side web interactivity.
  • Adapt the syntax and design of mobile web pages to target smartphone models.
  • Design Mobile Web pages for optimal usability on the form factors of smartphone screens.
  • Enhance mobile web pages to target advanced features of smartphone browsers.
  • Validate and compress mobile markup to optimize for network transmission and browser performance.
  • Simulate smartphones in the mobile ecosystem.

Table of Contents

Part 1: Getting Started with Mobile Web Development

  1. Introduction to Mobile Web Development
    Introduces the mobile industry, mobile users, and the Mobile Web.
  2. Set Up Your Mobile Development Environment
    Prepares for Mobile Web development by setting up your desktop and server environment.

Part 2: The Syntax of the Mobile Web

  1. Markup Languages for Mobile Web Development
    Teaches the markup and style languages of the Mobile Web: HTML, XHTML, XHTML-MP, WML, CSS2, Wireless CSS and CSS Mobile Profile.
  2. Device Awareness and Content Adaptation
    Uses the WURFL and DeviceAtlas mobile device databases to identify web traffic from
    mobile phones and adapt mobile markup to target specific mobile devices and browsers.
  3. Adding Interactivity with JavaScript and AJAX
    Enriches a Mobile Web site with interactivity powered by mobile JavaScript and AJAX.

Part 3: Advanced Mobile Web Development Techniques

  1. Mobile Web Design and Usability (authored by Rajesh Lal)
    Improves the design and usability of your Mobile Web pages to help the mobile user easily and rapidly achieve their goals.
  2. Enhancing Mobile Web Pages for Smartphone Browsers
    Investigates the advanced features of smartphone browsers, including iPhone, Android, Palm webOS, BlackBerry, Nokia Series 60, Opera Mobile, and Windows Mobile.

Part 4: Deploying into the Mobile Ecosystem

  1. Optimizing Mobile Web Pages
    Optimizes a Mobile Web page by compressing document size, reducing web server transactions, and coercing
    mobile browsers into caching Mobile Web content.
  2. Validating Mobile Markup
    Validates mobile markup syntax, styles, and overall site readiness using validation services from W3C, dotMobi and other organizations.
  3. Testing a Mobile Web Site
    Tests a Mobile Web site using mobile browser emulators and actual mobile devices.
  4. Deploying a Mobile Web Site
    Releases a Mobile Web site into the ecosystem, distinguishes between Desktop and Mobile Web traffic and acquires mobile traffic using on-page and off-page mobile SEO.
  5. How to Play Well in the Mobile Ecosystem
    Identifies and adapts to requests from transcoders. Defensively fortifies a Mobile Web site to discourage transcoding of mobile markup.
  6. The Future of the Mobile Web
    Explores industry projections and expert opinions about the future of the Mobile Web.

Part 5: Appendices

  1. Sample User-Agents for Mobile Devices
    Provides user-agents from smartphone and featurephone mobile devices.
  2. Sample HTTP Requests from Mobile Devices
    Provides HTTP request headers from smartphone and featurephone mobile devices.
  3. Glossary
    Definitions for mobile industry acronyms, jargon and technical terms.
  4. Case Study for Smartphone Browser Caching
    Examines the actual caching and concurrency behavior in smartphone browsers.

About the Authors

Gail Rahn Frederick is a mobile software architect, Mobile Web enthusiast and instructor of standards-based Mobile Web development. Her mobile applications and Mobile Web sites have been deployed to 10+ mobile operators in 6+ countries in North America and Europe. At Learn the Mobile Web and Portland Community College, she teaches Mobile Web development for smartphones and other devices, including defensive programming and other survival tips for the mobile ecosystem. At Medio Systems, she leads a mobile software team developing personalized search and discovery products with a focus on mobile analytics.

Rajesh Lal is an author, designer, developer, and a technology evangelist with a decade of experience in desktop, Web and mobile devices. He has received numerous awards for his work on Windows Vista and sidebar gadgets. Rajesh has been involved in mobile UI/UX design for past five years and has expertise with a variety of mobile devices, namely Sony Mylo, Windows Mobile, Apple iPhone, Nokia Series 60, and Maemo devices. Rajesh has a master’s degree in computer science, holds MCSD and MCAD titles. He currently works as a Senior Engineer at Nokia, Mountain View, California. You can find Rajesh at his mobile user interface and Vista gadget blogs. Rajesh authored the Mobile Web Usability chapter of Beginning Smartphone Web Development.

About the Technical Reviewers

I was fortunate to have three mobile technology experts reviewing the chapters in the book: James Pearce, Rocco Georgi and Todd Emerson.

Related Links

See the Resources section of Learn the Mobile Web for links to related Mobile Web, Web standards, mobile standards, mobile applications and mobile industry sites.


Check the Apress errata page for the book to review or submit errata for Beginning Smartphone Web Development.

Source Code

Source code from the book is available at the following links. To view code samples on a mobile device, browse to

Chapter 3

Chapter 4

Chapter 5

Chapter 7

Chapter 8

Chapter 9

Chapter 11

Chapter 12

All source code is copyrighted. Copyright © 2009-2010 Gail Rahn Frederick, all rights reserved.

VN:F [1.9.22_1171]
Rating: 4.4/5 (8 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)
Beginning Smartphone Web Development, 4.4 out of 5 based on 8 ratings