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
About The Book Link
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.
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.
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!
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:
- Make sense of the mobile value chain of operators and of device and OS vendors.
- Distinguish between different mobile and proxy browsers, and learn about ongoing browser developments.
- See through the complicated browser situation on Android devices.
- Understand CSS pixels, physical pixels and device pixels.
- Make sense of the layout viewport, visual viewport and ideal viewport.
- Figure out how zooming works and why page zoom is different than pinch zoom.
- Understand the touch event cascade and its bugs.
- Handle the 300-millisecond delay, pointer events and the click event.
- Fix common bugs caused by
- Set up a device testing lab and test on mobile.
- Reconsider outdated development practices.
- Adjust your expectations of mobile networks and latency.
Table Of Contents
|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.
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.
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.
Summary • There are a few CSS declarations that are harder to implement in mobile browsers than in desktop ones. Some, such as
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?
About the Author Link
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.
- 1 #your-mobile-web-handbook
- 2 https://shop.smashingmagazine.com/cart/936948127:1
- 3 https://shop.smashingmagazine.com/cart/936948127:1
- 4 https://shop.smashingmagazine.com/cart/988033639:1
- 5 https://www.smashingmagazine.com/wp-content/uploads/2014/09/touchmove-900.jpg
- 6 https://www.smashingmagazine.com/wp-content/uploads/2014/09/touchmove-900.jpg
- 7 https://www.smashingmagazine.com/wp-content/uploads/2014/09/Sample-Chapter-Mobile-Web-Handbook.pdf
- 8 https://www.smashingmagazine.com/wp-content/uploads/2014/09/Sample-Chapter-Mobile-Web-Handbook.pdf
- 9 #your-mobile-web-handbook
- 10 https://www.smashingmagazine.com/wp-content/uploads/2014/09/Sample-Chapter-Mobile-Web-Handbook.pdf
- 11 https://www.smashingmagazine.com/wp-content/uploads/2014/09/mobile-web-handbook-1-1200px.jpg
- 12 https://www.smashingmagazine.com/wp-content/uploads/2014/09/Mobile-Web-Handbook-2-1200.jpg
- 13 https://shop.smashingmagazine.com/mobile-web-handbook.html
- 14 https://shop.smashingmagazine.com/cart/988033639:1
- 15 https://shop.smashingmagazine.com/the-mobile-book-digital-edition.html
- 16 http://www.quirksmode.org/about/
- 17 http://www.quirksmode.org/about/
- 18 https://shop.smashingmagazine.com/delivery-times/
- 19 https://shop.smashingmagazine.com/mobile-web-handbook.html
- 20 https://shop.smashingmagazine.com/cart/936948127:1
- 21 http://demosthenes.info/blog/928/Book-Review-The-Mobile-Web-Handbook