书籍 High Performance JavaScript的封面

High Performance JavaScript

Nicholas C. Zakas

出版时间

2010-04-01

ISBN

9780596802790

评分

★★★★★

标签

web编程

书籍介绍

If you're like most developers, you rely heavily on JavaScript to build interactive and quick-responding web applications. The problem is that all of those lines of JavaScript code can slow down your apps. This book reveals techniques and strategies to help you eliminate performance bottlenecks during development. You'll learn how to improve execution time, downloading, interaction with the DOM, page life cycle, and more. Yahoo! frontend engineer Nicholas C. Zakas and five other JavaScript experts -- Ross Harmes, Julien Lecomte, Steven Levithan, Stoyan Stefanov, and Matt Sweeney -- demonstrate optimal ways to load code onto a page, and offer programming tips to help your JavaScript run as efficiently and quickly as possible. You'll learn the best practices to build and deploy your files to a production environment, and tools that can help you find problems once your site goes live. * Identify problem code and use faster alternatives to accomplish the same task * Improve scripts by learning how JavaScript stores and accesses data * Implement JavaScript code so that it doesn't slow down interaction with the DOM * Use optimization techniques to improve runtime performance * Learn ways to ensure the UI is responsive at all times * Achieve faster client-server communication * Use a build system to minify files, and HTTP compression to deliver them to the browser

用户评论
必备基础
小脚本,大世界
现在是2013年,刚花了几个小时把这本书通读了一遍。书很薄,内容很直白,读起来飞快。可以想像就2010年的时间点来说这本书里很多建议挺靠谱的。但如果它今天再版的话,很多内容恐怕都要修正了,特别是关于JavaScript核心语言性能的部分。而且总觉得这书有些细节上技术术语用词不准确⋯不过不影响大的主题,问题不大。
这是看过的最好的javascript的书,没有之一。Chapter2: Data access最重要。
JS本身的执行效率没什么好担心的. 前端性能优化还是 Steve Souders 的两本书更有价值. 而这些最佳实践也都已经充分传播开来了.
读完了,虽然文章末的工具已经很老了,不过整体上来说绝绝子。 作者对每个概念进行内存和性能方面的分析的图表令人印象深刻,且讲解鞭辟入里,案例也很棒,赞👍🏻
搭配 jsperf.com 服用。F2E 居家必备。
很棒的书,但因为比较久了,里面大部分内容已经不再适用了。
即使从 分析 角度来说,也是好书。Analysing & profiling: algorithms, language statements, DOM, render, I/O, parallels, cache, regex & XML etc.
5年里JS界早换了模样 还是涨了一些姿势