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.
Learn how to build, run, and debug Chrome Apps step-by-step
Use Chrome Apps to access local files, sync files, and external files
Take advantage of key-value-pair APIs, including sync storage and IndexedDB
Use WebSockets, Google Cloud Messaging, and other networking methods
Display graphics and images with Canvas, SVG, and the Media Galleries API
Use alarms, context menus, location, the camera, Bluetooth, USB, and other APIs
Publish apps to the Chrome Web Store with the Chrome Dev Editor
Chapter 1Your First Chrome App
From Web Apps to Chrome Apps
Running a Chrome App
Using the Chrome Dev Editor
Differences Among Chrome Apps, Chrome Extensions, and Hosted Apps
Chrome App Restrictions
More on the Manifest
Debugging Chrome Apps
Chrome Release Channels
Publishing a Chrome App
Chapter 2Local Files, Sync Files, and External Files
Auto-Saving and Idle Events
Adding Backup by Using Retained File Entries
Chapter 3Local Storage, Sync Storage, and IndexedDB
Local and Sync Storage
Chapter 4Networking and Messaging
The XMLHttpRequest API
Google Cloud Messaging
Chapter 5Graphics and Imaging
Scalable Vector Graphics (SVG)
Working with Images
The mediaGalleries API
Chapter 6Miscellaneous APIs
Bluetooth, USB, and Serial APIs
Internationalization and Localization
Appendix Modal Dialogs
Appendix Registering Chrome Apps with Google
Appendix Using Google Cloud Messaging
Appendix Using Cordova to Build Chrome Apps for Mobile Devices
Programming Chrome Apps
Safari Books Online
| ISBN 10:
| ISBN 10:
Marc Rochkind has an MS in Computer Science (Rutgers, 1976) and worked for Bell Labs from 1970 to 1982, much of that time on parts of UNIX, especially the Source Code Control System, for which he is well known. His 1985 book, Advanced UNIX Programming, was the first book that explained how to program the UNIX kernel.Since leaving Bell Labs in 1982, he has had several management and non-management positions in various software companies and done lots of consulting. He started a venture-capital-backed company, XVTSoftware, in 1988, that provided tools to allow programmers to develop portable GUI applications—the first such tool. Later, he was the VP of Software at two venture-capital-backed companies, one with an employee-scheduling product, and one with an online-knowledge-base product.
He has written four computer-related books:• Expert PHP and MySQL: Application Design and Development (Apress, 2013)• Advanced UNIX Programming, Second Edition (Addison-Wesley, 2004)• Advanced C Programming for Displays (Prentice-Hall, 1988)• Advanced UNIX Programming (Prentice-Hall, 1985)
Currently he develops iOS, MacOS, and Windows apps (listed at basepath.com), does some consulting, and writes books.
The animal on the cover of _Programming Chrome Apps_ is a crested screamer. The crested screamer or southern screamer (Chauna torquata) lives in wetlands, estuaries, and swamps in Peru, Bolivia, Paraguay, Brazil, Uruguay, and Argentina. This big bird weighs up to 11 pounds and can measure up to 3 feet long.
The crested screamer is a nonmigratory bird that flocks in large groups. A couple will be monogamous, either seasonally or, more typically, for life. Both parents build a nest near water where they lay two to seven eggs in a clutch and incubate them together for 43 to 46 days. The fledging period for a young bird lasts 8 to 14 weeks.
The crested screamer's call is reported to be audible from a distance of up to two miles, a quality that gives this bird its name. It has air sacs under its skin that are believed to keep it warm. The birds' unappetizing flavor and texture make them infrequent prey. Bony spurs of up to two inches in length on mature birds are located on the inner side of each wing; single males are known to use them to vie successfully for females, and both sexes use them to protect their territory and win fights with other couples.
Many of the animals on O'Reilly covers are endangered; all of them are important to the world. To learn more about how you can help, go to animals.oreilly.com.
The cover image is from Wood's Illustrated Natural History. The cover fonts are URW Typewriter and Guardian Sans. The text font is Adobe Minion Pro; the heading font is Adobe Myriad Condensed; and the code font is Dalton Maag's Ubuntu Mono.
I'm happy with my purchase. And I'm pleased to have the examples that this book offered. I feel like this book was stuck between trying to be an intro book and a bring a pro up to speed book. Chrome Apps are unique and can be very cutting edge. To improve this book I would add a robust chapter on adding frameworks to packaged apps (like JQuery-ui and bootstrap) as well as dealing with more examples like NFC. This app was very helpful in showing saving and syncing though.
Bottom Line Yes, I would recommend this to a friend