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
##read again but in English version
评分##搭配 jsperf.com 服用。F2E 居家必备。
评分##小脚本,大世界
评分##这是看过的最好的javascript的书,没有之一。Chapter2: Data access最重要。
评分##1、读这本书拉的战线实在够长,垮了2个年。 2、现在浏览器版本迭代速度太快,书里有些数据需要更新,但丝毫不影响这本书的价值。 3、#看别人家的工程师#,性能小组,可以做基础研究。国内大多只看工程产出。 4、中英文版本都看了。英文原版给5星,翻译的只能给2星。
评分##JS本身的执行效率没什么好担心的. 前端性能优化还是 Steve Souders 的两本书更有价值. 而这些最佳实践也都已经充分传播开来了.
评分##小脚本,大世界
评分##搭配 jsperf.com 服用。F2E 居家必备。
评分##很棒的书,但因为比较久了,里面大部分内容已经不再适用了。