Third-Party JavaScript![]() Ben Vinegar and Anton Kovalyov MEAP Began: August 2011 Softbound print: October 2012 (est.) | 300 pages ISBN: 9781617290541 |
||||
| Pre-Order options* | ||||
| Order today and start reading Third-Party JavaScript today through MEAP | ||||
| MEAP + Ebook only - $35.99 | ||||
| MEAP + Print book (includes Ebook) when available - $44.99 | ||||
| * For more information, please see the MEAP FAQs page. | ||||
| About MEAP Release Date Estimates | ||||
Table of Contents, MEAP Chapters & Resources
| Table of Contents | Resources |
|
1. Introduction to Third-Party JavaScript - FREE
2. Distributing and loading your application - AVAILABLE 3. Rendering HTML and CSS - AVAILABLE 4. Communicating with the server - AVAILABLE 5. Cross-domain iframe messaging - AVAILABLE 6. Authentication and sessions - AVAILABLE 7. Security - AVAILABLE 8. Developing a third-party JavaScript SDK - AVAILABLE 9. Performance - AVAILABLE 10. Testing and debugging |
|
DESCRIPTION
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.
Where are developers doing third-party JavaScript?
- Google's third-party ad widgets, AdSense and AdWords, continue to be the company's largest source of revenues
- Facebook's Social Plugins, a suite of third-party widgets for publishers, helps expand the social networking site's presence across the entire web
- Web startups like Disqus (commenting) and Meebo (chat client) are building businesses around third-party applications, using their distributed nature to reach dizzying traffic numbers and discover new markets
This book is the first comprehensive resource on third-party JavaScript application development. It's written for web developers who already know JavaScript and want to apply it to building third-party applications.
About the Author
Ben Vinegar is a Software Engineer at Disqus, a third-party commenting platform served on over 300,000 blogs, online publications, and other web properties, including CNN, Wired, The Guardian, and IGN. Before joining Disqus, Ben was a Development Team Lead at FreshBooks. He has presented at jQueryConf and SXSW.
Anton Kovalyov is a Software Engineer at Disqus, and has guided development on the Disqus commenting widget since the company's earliest days. He maintains and contributes to a number of open-source JavaScript projects, including JSHint, a code quality tool, and easyXDM, a cross-domain messaging library.
About the Early Access Version
This Early Access version of Third-Party JavaScript enables you to receive new chapters as they are being written. You can also interact with the authors to ask questions, provide feedback and errata, and help shape the final manuscript on the Author Online
Want to learn More?
Sign up to read more content when it is released and to receive news about this book.



