Book Description
Master the art of building, deploying, and optimizing faster web applications with JavaScript
About This Book
- Test and optimize JavaScript code efficiently
- Build faster and more proficient JavaScript programs for web browsers and hybrid mobile apps
- Step-by-step tutorial stuffed with real-world examples
Who This Book Is For
If you are a JavaScript developer with some experience in development and want to increase the performance of JavaScript projects by building faster web apps, then this book is for you. You should know the basic concepts of JavaScript.
What You Will Learn
- Test existing JavaScript code using JSLint and understand how to better optimize JavaScript code
- Create your own build system for JavaScript projects using Node.js and GulpJS
- Get to know best performance-focused practices when writing JavaScript code
- Use the DOM more efficiently by optimizing JavaScript with CSS3 animations
- Learn how to unit test JavaScript code using Jasmine
In Detail
Studying JavaScript performance in depth will make you capable of tackling the complex and important tasks required to solve performance issues. In this book, you’ll learn when and why to use an IDE over a common text editor. Packed with examples, you’ll also learn how to create a build system to test and deploy your JavaScript project by optimizing the code. Next, you will move on to learn about DOM optimization, JavaScript promises, and web workers to better break up your large codebase. You will also learn about JavaScript performance on mobile platforms such as iOS and Android and how to deploy your JavaScript project to a device. Finally, by the end of the book, you’ll be able to pinpoint JavaScript performance problems using appropriate tools, provide optimization techniques, and provide tools to develop fast applications with JavaScript.
Table of Contents
Chapter 1: The Need for Speed
Chapter 2: Increasing Code Performance with JSLint
Chapter 3: Understanding JavaScript Build Systems
Chapter 4: Detecting Performance
Chapter 5: Operators, Loops, and Timers
Chapter 6: Constructors, Prototypes, and Arrays
Chapter 7: Hands off the DOM
Chapter 8: Web Workers and Promises
Chapter 9: Optimizing JavaScript for iOS Hybrid Apps
Chapter 10: Application Performance Testing
中文:
书名:Mastering JavaScript High Performance
掌握使用JavaScript构建、部署和优化速度更快的Web应用程序的技巧
About This Book
- 高效地测试和优化Java代码
- 为Web浏览器和混合移动应用程序构建更快、更熟练的JavaScript程序
- 充斥着真实世界示例的逐步教程
这本书是为谁写的
如果您是一名具有一定开发经验的JavaScript开发人员,并且希望通过构建更快的Web应用程序来提高JavaScript项目的性能,那么这本书是为您准备的。您应该了解JavaScript的基本概念。
你将学到什么
- 使用JSLint测试现有的Java代码,并了解如何更好地优化
- 使用Node.js和GulpJS为Java项目创建您自己的构建系统
- 在编写Java代码时了解以性能为重点的最佳实践
- 通过使用CSS3动画优化JavaScript,更有效地使用DOM
- Learn how to unit test JavaScript code using Jasmine
In Detail
深入研究JavaScript性能将使您能够处理解决性能问题所需的复杂而重要的任务。在这本书中,您将学习何时以及为什么使用IDE而不是普通的文本编辑器。通过大量的示例,您还将了解如何创建构建系统来通过优化代码来测试和部署您的JavaScript项目。接下来,您将继续学习DOM优化、JavaScript承诺,以及更好地分解大型代码库的Web工作者。您还将了解在iOS和Android等移动平台上的JavaScript性能,以及如何将您的JavaScript项目部署到设备上。最后,在本书结束时,您将能够使用适当的工具找出Java性能问题,提供优化技术,并提供使用Java快速开发应用程序的工具。
Table of Contents
第一章:对速度的需求
Chapter 2: Increasing Code Performance with JSLint
第3章:了解JavaScript构建系统
第4章:检测性能
第5章:运算符、循环和计时器
第6章:构造函数、原型和数组
第7章:不插手DOM
Chapter 8: Web Workers and Promises
第9章:针对iOS混合应用程序优化JavaScript
第10章:应用程序性能测试
评论前必须登录!
注册