图书标签: JavaScript 编程 Programming javascript 计算机 前端 计算机科学 原版/影印
发表于2024-12-25
Third-Party JavaScript pdf epub mobi txt 电子书 下载 2024
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.
很全面
评分很全面
评分内容比较基础,基本上做一个第三方内容开发的项目之后大部分的东西就都领教过了,但是结构性很好,覆盖面也很大,可以用来系统整理一遍自己的经验。
评分把做third-party JS时需要面对的主要问题理清并提供了普遍做法。缺点是过浅。比如「面临复杂未知的使用环境如何有效地测试和改进performance」这种第三方JS所特有的问题几乎没怎么谈到。
评分这本书看完鲜有实践的机会,在现行开发环境下书中介绍的不少 hack 亦可不再使用,那么剩下最有趣的地方就是可以见到作者在局限的条件里抓耳挠腮解题思路的过程,蛮好的。
评分
评分
评分
评分
Third-Party JavaScript pdf epub mobi txt 电子书 下载 2024