Build highly available and performant native web applications that seamlessly integrate with third-party APIs
* Get straight into the action with step-by-step recipes that show you how to put Service Workers to work
* Find out what Service Workers can do for your app, then do it!
* Get the first in-depth look at this important new feature for web developers
It would be nice more » to have web apps that work offline and send push notifications. This is now possible with Service Workers, which can add native-like functionality to your web apps without requiring a download.
This book will get your mobile and web apps functioning without Internet connectivity, improve performance and network interaction in order to increase the level of availability, and show you how to build performant applications that seamlessly integrate with third-party APIs.
We'll show you how to add Service Worker functionality to web apps and sites, access offline content through basic and advanced techniques, and build powerful interactive system notifications. We'll also teach you about cache functionality and assets to provide immediate load even over narrow connections. We conclude by giving you various tips to improve app performance, including the background sync technique.
By the end of this book, you'll know build high performing and faster web and mobile applications with Service Workers.
WHAT YOU WILL LEARN
* Display a custom offline page
* Cache critical resources for offline use
* Implement offline Google Analytics
* Get network responses offline
* Implement push notifications
* Improve performance of your app
ABOUT THE AUTHOR
Sean Amarasinghe is a software developer from Melbourne, Australia. He is a developer, designer, photographer, and also a blogger. He blogs about development, design, technology, and photography. He is passionate about offline apps and what they bring to the user. He has firsthand experience of how well offline apps work. He has written a couple of blog posts about offline cache manifests, as well as service workers.
TABLE OF CONTENTS
1. Learning Service Worker Basics
2. Working with Resource Files
3. Accessing Offline Content
4. Accessing Offline Content with Advanced Techniques
5. Reaching Beyond the Offline Cache
6. Working with Advanced Libraries
7. Fetching Resources
8. Experimenting with Web Push
9. Looking at General Usage
10. Improving Performance « less
Develop Cross-Platform Apps for Chrome
Put your web app design skills to work by learning how to create powerful and portable Chrome Apps. With this practical book, you'll learn how to build Google's unique apps to behave just like native apps so they can interact with hardware devices, access external files, and send notifications.
Over 70 recipes to help boost the productivity of your applications using real-world testing with PhantomJS
Monitor, edit, and debug any webpage in real time with this handy practical guide
Firebug Starter is a practical, hands-on guide that provides you with a number of clear step-by-step exercises more » to help you take advantage of the full power that Firebug offers. This book will give you a great grounding in using Firebug to debug, fix, and optimize your web pages. « less
Harness the strength and capabilities of PhantomJS to interact with the web and perform website testing with a headless browser based on WebKit
A step step-by by-step guide that will help you develop new tools for solving web and testing problems in an effective and quick way. The book will teach you how to use and maximize PhantomJS to develop new tools for web scrapping, web performance measurement and monitoring, and headless web testing. This book will help you understand PhantomJS’ scripting API capabilities and strengths.
Developing Powerful Applications for The Next Generation of IE
This book is an in-depth guide to writing applications that embrace and extend the new features and capabilities of Windows Internet Explorer 8 and 9. With solid instruction, hands-on examples, and expert insight direct from the source into extending the browser, you'll learn how to create and maintain more » powerful applications for Microsoft's next-generation Internet platform. Join author Matthew Crowley as you discover how to take advantage of new features like accelerators, WebSlices, and search providers, and create intense web experiences for the browser that ships by default with the popular Windows 7 operating system. « less
Building Rich Internet Applications with XUL
This is your guide to building Internet applications and user interfaces with the Mozilla component framework, which is best known for the Firefox web browser and Thunderbird email client. Programming Firefox demonstrates how to use the XML User Interface Language (XUL) with open source tools in the more » framework's Cross-Platform Component (XPCOM) library to develop a variety of projects, such as commercial web applications and Firefox extensions.
This book serves as both a programmer's reference and an in-depth tutorial, so not only do you get a comprehensive look at XUL's capabilities - from simple interface design to complex, multitier applications with real-time operations - but you also learn how to build a complete working application with XUL. If you're coming from a Java or .NET environment, you'll be amazed at how quickly large-scale applications can be constructed with XPCOM and XUL. « less