跳到主要内容

高性能JavaScript编程 High Performance JavaScript PDF英文文字版附中英文对照文字版

大小:7MB       时间:2024-12-07

雅虎前端工程师尼古拉斯C. Zakas和五个其他JavaScript专家 - 罗斯Harmes,朱利安Lecomte,史蒂芬Levithan,斯托扬斯特凡诺夫和马特斯威尼 - 展示的最佳方式加载到页面的代码,并提供编程技巧,帮助您的JavaScript运行高效,尽快。您将学习的最佳做法,以构建和部署到生产环境中的文件和工具,可以帮助你发现问题一旦您的网站开始运行。
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