Lo-Dash Essentials
暫譯: Lo-Dash 基礎精要

Adam Boduch

  • 出版商: Packt Publishing
  • 出版日期: 2015-01-24
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 199
  • 裝訂: Paperback
  • ISBN: 1784398330
  • ISBN-13: 9781784398330
  • 海外代購書籍(需單獨結帳)

商品描述

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.

商品描述(中文翻譯)

**有效實現快速、精簡且可讀的代碼,使用 Lo-Dash**

## 本書介紹
- 了解 Lo-Dash 的關鍵設計原則和功能,並利用它們提供高效的性能
- 發展將優雅、可讀的代碼與簡潔、高效的代碼相結合所需的技能
- 從常用的基本功能到高級設計理念,學習 Lo-Dash 的有效功能,並通過代碼範例幫助您獲得對現實世界問題的實用見解

## 本書適合誰
如果您是一位好奇的 JavaScript 開發者,對於同時調整代碼的效率、提高代碼的簡潔性以及保持代碼的可讀性感興趣,那麼這本書就是為您而寫的。理想情況下,本書適合已經在進行 JavaScript 項目並使用 jQuery 和 Backbone 等框架的讀者。即使您已經在使用 Lo-Dash,本書也會教您如何高效地使用它。雖然不需要廣泛的 JavaScript 經驗,但您應該至少具備一些先前的編程經驗,以便更好地理解所呈現的概念。

## 您將學到什麼
- 分析數組、集合和對象之間的差異,並了解 Lo-Dash 如何處理它們
- 理解迭代數組和對象之間的微妙差異,以及與 Lo-Dash 一起使用的對象創建模式
- 利用和使用 Lo-Dash 的函數工具,例如部分應用參數和組合高階函數
- 探索 MapReduce 的各種方法及其與其他 Lo-Dash 函數的關係
- 為各種環境構建自己的 Lo-Dash 應用程序
- 將 Lo-Dash 與其他庫進行比較,並決定 Lo-Dash 的適用場景
- 理解 Lo-Dash 的關鍵設計原則,並利用這些知識提供高效的用戶界面

## 詳細內容
《Lo-Dash Essentials》將引導您了解 Lo-Dash 實用庫,該庫在 JavaScript 開發中承諾一致性和性能。本書探討了最常用的功能及其使用的各種上下文。您將首先了解對象類型及其屬性,然後深入更大的開發模式,例如 MapReduce,以及如何鏈接功能。接下來,您將學習如何為各種環境製作合適的構建,並發現高級模式如何相互補充,以及它們如何成為應用程序的可重用構建塊。最後,您將通過與其他庫的協作獲得一些實用的 Lo-Dash 體驗,並學習一些提高性能的有用技術。