Mastering JavaScript High Performance Год: 2015 Автор: Chad R. Adams Издательство: Packt Publishing ISBN: 978-1-78439-729-6 Язык: Английский Формат: PDF/EPUB Качество: Изначально компьютерное (eBook) Интерактивное оглавление: Да Количество страниц: 208 Описание: 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.
Примеры страниц
Оглавление
Preface Chapter 1: The Need for Speed Weren't websites always fast? Chapter 2: Increasing Code Performance with JSLint Checking the JavaScript code performance What is JavaScript linting? Chapter 3: Understanding JavaScript Build Systems What is a build system? Setting up our build system Chapter 4: Detecting Performance Web Inspectors in general Chapter 5: Operators, Loops, and Timers Operators Loops Timers Chapter 6: Constructors, Prototypes, and Arrays Building with constructors and instance functions Alternate constructor functions using prototypes Array performance Chapter 7: Hands off the DOM Why worry about the DOM? Don't we need an MV-whatever library? Creating new objects using the createElement function Animating elements Understanding paint events Pesky mouse scrolling events Chapter 8: Web Workers and Promises Understanding the limitations first Web workers Promises Chapter 9: Optimizing JavaScript for iOS Hybrid Apps Getting ready for iOS development iOS hybrid development Chapter 10: Application Performance Testing What is unit testing in JavaScript? Unit testing with Jasmine Index
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum