Lo-Dash Essentials

Adam Boduch

  • 出版商: Packt Publishing
  • 出版日期: 2015-01-24
  • 售價: $1,460
  • 貴賓價: 9.5$1,387
  • 語言: 英文
  • 頁數: 199
  • 裝訂: Paperback
  • ISBN: 1784398330
  • ISBN-13: 9781784398330

下單後立即進貨 (約1~2週)

相關主題

商品描述

Implement fast, lean, and readable code effectively with Lo-Dash

About This Book

  • Understand the key design principles and functions of Lo-Dash and utilize them to deliver efficient performance
  • Develop the skills needed to combine elegant, readable code with concise, efficient code
  • Learn the effective functions of Lo-Dash, starting from the commonly used basic ones to high-level design ideas, with the help of code examples that will help you gain practical insights into real-world problems

Who This Book Is For

If you are a curious JavaScript developer interested simultaneously in tweaking the efficiency of your code, as well as improving the conciseness of it, and maintaining the readability of it, then this is the book for you. Ideally, the book is intended for readers already working on JavaScript projects and using frameworks such as jQuery and Backbone. Even if you're already using Lo-Dash, this book will show you how to use it efficiently. While extensive JavaScript experience isn't a requirement, you should have at least some prior programming experience in order to best understand the concepts presented.

What You Will Learn

  • Analyze the difference between arrays, collections, and objects and look at how Lo-Dash treats them
  • Understand the subtle differences between iterating over arrays and objects, along with object-creation patterns used with Lo-Dash
  • Exploit and work with Lo-Dash functional tools, such as partially applying arguments, and composing higher-order functions
  • Explore the various approaches of MapReduce and their relationships with other Lo-Dash functions
  • Build your own Lo-Dash application for various environments
  • Compare Lo-Dash with other libraries and decide where Lo-Dash is a good fit
  • Understand the key Lo-Dash design principles and utilize this knowledge to deliver performant user interfaces

In Detail

Lo-Dash Essentials walks you through the Lo-Dash utility library, which promises consistency and performance in JavaScript development. This book looks into the most common functions and the various contexts in which they're used. You'll first start with object types and their properties, then you'll dive into larger development patterns, such as MapReduce, and how to chain functionality together. Following this, you'll learn how to make suitable builds for various environments, and discover how high-level patterns complement one another and how they lead to reusable building blocks for applications. Finally, you will gain some practical exposure to Lo-Dash by working alongside other libraries, and learn some useful techniques for improving performance.