Book description
There's an art to writing third-party JavaScript--embeddable scripts that can plug into any website. They must adapt easily to unknown host environments, coexist with other applications, and manage the tricky security vulnerabilities you get when code and asset files are served from remote web addresses. Get it right and you have unlimited options for distributing your apps. This unique book shows you how.
Third-Party JavaScript guides you through the ins and outs of building full-featured third-party JavaScript applications. You'll learn techniques for developing widgets that collect data for analytics, provide helpful overlays and dialogs, or implement features like chat and commenting. The concepts and examples throughout the book represent the best practices for this emerging field, based on thousands of real-world dev hours and results from millions of users.
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Foreword
- Preface
- Acknowledgments
- About this Book
- About the Authors
- About the Cover Illustration
- Chapter 1. Introduction to third-party JavaScript
- Chapter 2. Distributing and loading your application
- Chapter 3. Rendering HTML and CSS
- Chapter 4. Communicating with the server
- Chapter 5. Cross-domain iframe messaging
- Chapter 6. Authentication and sessions
- Chapter 7. Security
- Chapter 8. Developing a third-party JavaScript SDK
- Chapter 9. Performance
- Chapter 10. Debugging and testing
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: Third-Party JavaScript
- Author(s):
- Release date: March 2013
- Publisher(s): Manning Publications
- ISBN: 9781617290541
You might also like
book
The Design of Web APIs
Drawing on author Arnaud Lauret's many years of API design experience, this book teaches you how …
book
Grokking Algorithms
Grokking Algorithms is a friendly take on this core computer science topic. In it, you'll learn …
book
Fundamentals of Software Architecture
Salary surveys worldwide regularly place software architect in the top 10 best jobs, yet no real …
book
Node.js in Action, Second Edition
Summary Node.js in Action, Second Edition is a thoroughly revised book based on the best-selling first …