Menu Search
Jump to the content X X

“There Are More Bugs In Mobile Than… Particles In The Universe!”

Mobile is a difficult, unpredictable beast. If you run into technical problems in mobile, then you’ll know how annoying fixing them can be. That’s why we’ve teamed up with Peter-Paul Koch to create The Mobile Web Handbook, our practical new guide to dealing with front-end challenges in mobile. The book is finally ready and is now shipping worldwide. It’s available in print or as an eBook.1

Mobile Web Handbook, a new Smashing Book by Peter-Paul Koch2

$29

Get the book203Printed, gorgeous hardcover

$9.90

eBook4PDF, ePUB, Amazon Kindle

About The Book Link

We have all been there. Whether you are developing a responsive website or an app or just dealing with WebViews, you always end up running into annoying technical problems that all of those quirky (and not so quirky) mobile browsers throw up so very often. Weird browser bugs, inconsistent CSS and JavaScript support, performance issues, mobile fragmentation and complicated nuances such as device pixels, viewports, zooming, touch event cascade, pointer and click events and the 300-millisecond delay. No, mobile isn’t actually dark matter, but it does require you to learn a few new things, some of which are quite confusing.

Mobile Web Handbook5
A look inside the book, with a draft by Stephen Hay (View large version6)

The Mobile Web Handbook will help you to make sense of it all. It’s a practical new guide, written by Peter-Paul Koch and published by yours truly, to help you tackle common front-end challenges in mobile effectively. Featuring data from recent research findings, the book shows the intricacies of mobile, with its common problems and workarounds, and it delivers what it promises: real-world, practical guidelines for mobile — unique and extremely useful.

Sample PDF7
Download a sample chapter (PDF)8, typeset in the beautiful Elena typeface.

The book will be useful to mobile strategists, developers, designers and anyone who wants to better understand the intricacies of mobile — on both the technical and market ends. Whether you want to get a better picture of mobile or dive deep into common browser bugs, this is the book to read. And if you pre-ordered it already, of course the book has shipped to you already.

232 pages. Written by Peter-Paul Koch. Reviewed by Stephanie and Bryan Rieger. Designed by Stephen Hay. Shipping now worldwide. Available as print or as an eBook.9

Download Free Sample Chapter (PDF) Link

We’ve prepared a sample chapter PDF10, to give you some insights into how the book looks like. The chapter provides a comprehensive overview of the browser market, worldwide market shares and ongoing developments—and a few browser stats. Happy reading!

11
New Smashing Book, “Mobile Web Handbook”, is now ready, and shipping. Large view.12

Why This Book Is For You Link

Developing websites for mobile is pretty much the same as it has always been, but it does require you to learn a few new things, some of which are quite confusing. In The Mobile Web Handbook, you’ll learn the following:

  1. Make sense of the mobile value chain of operators and of device and OS vendors.
  2. Distinguish between different mobile and proxy browsers, and learn about ongoing browser developments.
  3. See through the complicated browser situation on Android devices.
  4. Understand CSS pixels, physical pixels and device pixels.
  5. Make sense of the layout viewport, visual viewport and ideal viewport.
  6. Figure out how zooming works and why page zoom is different than pinch zoom.
  7. Learn the intricacies of the meta viewport and related CSS and JavaScript properties.
  8. Know how to deal with the technical issues of touch events in JavaScript.
  9. Understand the touch event cascade and its bugs.
  10. Handle the 300-millisecond delay, pointer events and the click event.
  11. Fix common bugs caused by position: fixed, overflow: auto and background-attachment.
  12. Set up a device testing lab and test on mobile.
  13. Reconsider outdated development practices.
  14. Adjust your expectations of mobile networks and latency.
13

$9.90

eBook14PDF, ePUB, Amazon Kindle

Table Of Contents

CHAPTER TITLE DETAILS
Chapter 1 The Mobile World

Summary The mobile world is a complicated, highly fragmented environment. The mobile value chain involves operators, device vendors and OS vendors—all having their own interests and goals that shape the device market and complicate things for us, web developers. If you read The Mobile Book15 already, this chapter is a revised and extended version of the chapter. It’s been updated with the latest figures and developments, though, and contains a few new sections.

Keywords operators networks mobile value chain device vendors hardware fragmented market phone’s production cycle global device market OS vendors and sales developer relations identity management payments.

Chapter 2 Browsers

Summary If you’re used to the simple five-browser ecosystem that exists on the desktop, you’re in for a rough surprise in the mobile market. There are 30 mobile browsers, ranging from lousy to great. Besides, there are also proxy browsers, default browsers, downloadable ones, confusing Android ones, and of course WebViews. What do you need to know about prevailing browsers and prevailing platforms? A comprehensive overview of the browser market, worldwide market shares and ongoing developments—and a few browser stats.

Keywords browser ecosystem rendering engines WebKits WebViews Android browsers platforms proxy browsers statistics.

Chapter 3 Android

Summary The most complex part of the mobile world is Android. With Android now spanning about three quarters of the smartphone market, it has a few problems and oddities that are uniquely its own. In this chapter we’ll look at Google’s wishes and actions, the reactions of the device vendors, and the complicated browser situation caused by the gradual replacement of Android WebKit by Chrome.

Keywords differentiation Android updates Android WebKit Chrome.

Chapter 4 Viewports

Summary Mobile devices have far smaller screens than desktop/laptop computers. As a result, browser vendors had to perform some sleight of hand in order to make sure desktop-optimized websites also display decently. They split the viewport, which on desktop means the browser window, into three. What are these viewports and why do we need them? By discussing pixels, viewports, resolutions, the meta viewport, media queries, and related JavaScript events and properties, you’ll gain some insight into how mobile browsers (and web developers) deal with the fundamental problem of the small screen.

Keywords device pixels CSS pixels layout viewport visual viewport ideal viewport zooming page zoom pinch zoom min/max-zoom resolution device-pixel-ratio meta viewport media queries CSS/JavaScript events.

Chapter 5 CSS

Summary There are a few CSS declarations that are harder to implement in mobile browsers than in desktop ones. Some, such as position: fixed, are dependent on the viewport, but which viewport? Others may have performance issues or special interface considerations, such as overflow: auto. It’s just about time to get to the bottom of this.

Keywords position: fixed overflow: auto overflow-scrolling background-attachment vw and vh units :active and :hover.

Chapter 6 Touch Events

Summary Mobile devices generally use touchscreens, and support a new set of touch events to monitor user actions. At first sight, touch events seem to be roughly the same as mouse events. What are the differences? How do they work? Do we need separate events for each interaction mode, or can we merge mouse and touch into one, as Microsoft wants? It is quite likely that future new web-enabled device classes such as TVs, cars, or even fridges, will bring new interaction modes and a new set of events. How do we prepare for them? That’s exactly what this chapter is all about.

Keywords touchcancel gesture events dropdown menu drag and drop scrolling layer event equivalencies merging touch and mouse detecting interaction modes touch event cascade the tap action anatomy of a click 300 ms delay touchLists pointer events.

Chapter 7 Becoming a Mobile Web developer

Summary This last chapter gives you practical details about how to become a mobile web developer, or to be more precise, how to set up a device library and conduct mobile tests. Which devices do you need? How do you run tests? What would an ideal device lab look like? And what should you keep in mind in terms of the improvements of the mobile networks in the future?

Keywords ideal device lab acquiring and sharing devices what and how to test device test batches managing updates browser detection JavaScript libraries mobile networks latency connection speed.

About the Author Link

16

Peter-Paul Koch17 has been around for quite some time. Known for his browser compatibility tables on QuirksMode, he is a mobile platform strategist, browser researcher, consultant and trainer in Amsterdam, Netherlands. He specializes in the mobile web, especially mobile browser research, whereby he advises mobile and desktop browser vendors on their implementations of web standards.

Technical Details Link

  • 232 pages, 16.5 × 24.0 cm (6.5 × 9.5 inches)
  • Quality hardcover with stitched binding and ribbon page marker
  • The eBook contains all formats: PDF, ePub and Kindle
  • Free worldwide airmail shipping18 from Germany.
Mobile Web Handbook, a new Smashing Book by Peter-Paul Koch19

$29

Get the book203Printed, gorgeous hardcover

“Like ‘The Mobile Book’, the Mobile Web Handbook is a volume that will be consulted over years.”
Dudley Storey21

Footnotes Link

  1. 1 #your-mobile-web-handbook
  2. 2 https://shop.smashingmagazine.com/cart/936948127:1
  3. 3 https://shop.smashingmagazine.com/cart/936948127:1
  4. 4 https://shop.smashingmagazine.com/cart/988033639:1
  5. 5 https://www.smashingmagazine.com/wp-content/uploads/2014/09/touchmove-900.jpg
  6. 6 https://www.smashingmagazine.com/wp-content/uploads/2014/09/touchmove-900.jpg
  7. 7 https://www.smashingmagazine.com/wp-content/uploads/2014/09/Sample-Chapter-Mobile-Web-Handbook.pdf
  8. 8 https://www.smashingmagazine.com/wp-content/uploads/2014/09/Sample-Chapter-Mobile-Web-Handbook.pdf
  9. 9 #your-mobile-web-handbook
  10. 10 https://www.smashingmagazine.com/wp-content/uploads/2014/09/Sample-Chapter-Mobile-Web-Handbook.pdf
  11. 11 https://www.smashingmagazine.com/wp-content/uploads/2014/09/mobile-web-handbook-1-1200px.jpg
  12. 12 https://www.smashingmagazine.com/wp-content/uploads/2014/09/Mobile-Web-Handbook-2-1200.jpg
  13. 13 https://shop.smashingmagazine.com/mobile-web-handbook.html
  14. 14 https://shop.smashingmagazine.com/cart/988033639:1
  15. 15 https://shop.smashingmagazine.com/the-mobile-book-digital-edition.html
  16. 16 http://www.quirksmode.org/about/
  17. 17 http://www.quirksmode.org/about/
  18. 18 https://shop.smashingmagazine.com/delivery-times/
  19. 19 https://shop.smashingmagazine.com/mobile-web-handbook.html
  20. 20 https://shop.smashingmagazine.com/cart/936948127:1
  21. 21 http://demosthenes.info/blog/928/Book-Review-The-Mobile-Web-Handbook

↑ Back to top Tweet itShare on Facebook

Vitaly Friedman loves beautiful content and doesn’t like to give in easily. Vitaly is writer, speaker, author and editor-in-chief of Smashing Magazine. He runs responsive Web design workshops, online workshops and loves solving complex UX, front-end and performance problems in large companies. Get in touch.

  1. 1

    what about just print? :)

    1
    • 2

      Markus Seyfferth

      September 30, 2014 3:27 pm

      Only available as eBook & print, as this is what most readers are asking for. Sorry! :-)

      0
  2. 3

    A bit in the expensive side.

    1
  3. 5

    I preorderd it, but haven’t received a download info yet. Is this still in the works…?

    2
  4. 7

    Hello! :)

    Your Smashing books are brilliant!

    I can’t find the $29 option to purchase ONLY the printed book without the eBook… is there a link somewhere, please?

    Thank you and kindest regards,
    E

    2
    • 8

      Markus Seyfferth

      September 30, 2014 3:25 pm

      Hi Emely,
      Thank you for the kind words! We always sell our books with eBooks included — sorry about that! Hope it’s still worth it?

      3
    • 9

      Thank you, Markus.

      Indeed, the price is worthy and so, I just purchased the “Mobile Web Handbook” – Printed book + eBook. Had it been available in Printed only, I would have purchased just that, because I love real books!, but no problem! :)

      This is my third and happy purchase.

      Thank you for your excellent products.

      Kindest regards,

      E

      1
  5. 10

    Axel Garcia Henriksson

    October 1, 2014 8:49 am

    Lovely, lovely. When will this appear in Apples iBook store, with the other Smashing Magazine publications?

    0
  6. 12

    Pre-ordered a long time ago. Looking foward to the mail man :-)

    1
  7. 13

    Looks amazing and placing an order today. There can never be enough fresh content and perspective on the subject. We try to develop half a dozen or so tutorials a month in our studio and it absolutely drains us but… it’s always very rewarding!

    0
  8. 14

    Arzoon Rampal

    October 2, 2014 10:55 am

    Really got help from ebuilderz.com about WordPress Website Design and support.

    -5
  9. 15

    Sweet! I’ll be picking up a copy of this as soon as I get paid! :D <3 Keep up the awesome work ya'll!

    1
  10. 16

    osiris Santana

    October 26, 2014 12:31 am

    Do you Have it in Spanish?

    0
  11. 17

    The companion site http://quirksmode.org/mobilewebhandbook that is provided in the book doesn’t have any resource :( | Broken link!!!

    0
  12. 20

    Curtis Robinson

    July 19, 2015 12:27 am

    Great work on help-full things keep up the good work and thanks.

    0

↑ Back to top