Third-Party JavaScript

Douban Goodreads
Third-Party JavaScript

Login or register to review or add this item to your collection.

ISBN: 9781617290541
author: Ben Vinegar / Anton Kovalyov
book format: Paperback
other title: Third-Party Javascript
publishing house: Manning Publications Co.
publication date: 2012 -8
language: English
price: USD 44.99
number of pages: 288

/ 10

0 ratings

No enough ratings
Borrow or buy

Ben Vinegar / Anton Kovalyov   

Overview

Third-party JavaScript applications are self-contained components, typically small scripts or widgets, that add functionality to websites. As the name implies, they're offered by independent organizations, with code and asset files served from a remote web address.
Third-party JavaScript development is booming. Facebook's "Like" widget is a staple of news websites and blogs, and Twitter's @anywhere components recreate the Twitter experience on any site. Eventbrite, provides embeddable event registration forms that integrate with host websites.
Writing third-party applications poses unique challenges, though. The best applications must adapt seamlessly to a wide variety of host environments. Browsers may not trust code served from different domains, your JavaScript and CSS has to co-exist with other applications, and there are some tricky security vulnerabilities. This book distills the insights and experience of third-party JavaScript experts Ben Vinegar and Anton Kovalyov, developers at Disqus.
Third-Party JavaScript guides web developers through the complete development of a full-featured third-party JavaScript application. You'll learn dozens of techniques for developing widgets that collect data for analytics, provide helpful overlays and dialogs, or implement features like chat or commenting. The concepts and examples throughout this book represent the best practices for this emerging field, based on thousands of real-world dev hours and results from millions of users.

contents

1. Introduction to Third-Party JavaScript
2. Distributing and loading your application
3. Rendering HTML and CSS
4. Communicating with the server
5. Cross-domain iframe messaging
6. Authentication and sessions
7. Security
8. Performance
9. Developing a JavaScript API
10. Troubleshooting

Other editions (1)
Comments
Reviews
Notes