Chapter 8. Developing a third-party JavaScript SDK
This chapter covers
- Initializing an SDK synchronously and asynchronously
- Exposing public functions
- Versioning techniques
- Wrapping and communicating with a web services API
Let’s flash-forward to the not-so-distant future. The Camera Stork product widget has been an unparalleled success, and is helping drive hundreds of thousands of visitors from publisher websites to camerastork.com each month. Publishers, too, are sharing in the success; you’ve even introduced a revenue-sharing program that pays publishers a share of each sale you make from visitors that are referred through the widget. And all of this thanks to a little book on third-party JavaScript—who knew?
It gets better. During ...
Get Third-Party JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.