官术网_书友最值得收藏!

What this book covers

Chapter 1, Getting Started with Underscore.js, introduces you to Underscore and explains the main problems addressed by the library together with a quick introduction to functional programming. This chapter describes some of the concepts and patterns that are used by Underscore or are helpful when using Underscore. The final part is a walkthrough to set up the development environment used throughout the book with a starter example.

Chapter 2, Using Underscore.js with Collections, explores the Underscore functionality for collections by example and explains some of the concepts related to these areas—scope resolution and execution context, map/reduce, and functional programming concepts.

Chapter 3, Using Underscore.js with Arrays, Objects, and Functions, looks at functionality for arrays, objects, and functions and builds upon the concepts and functions introduced in the previous chapter. In the functions section, you will learn how to manipulate function scopes and arguments and why this is an important aspect of JavaScript programming in general.

Chapter 4, Programming Paradigms with Underscore.js, expands on the concepts and practices of functional programming to solve common programming problems. The chapter starts with a differentiation between object-oriented programming and functional programming. It continues by exploring examples of functional programming with Underscore.

Chapter 5, Using Underscore.js in the Browser, on the Server, and with the Database, is about using Underscore in specific contexts, starting with the browser environment, closely followed by Node.js server-side applications or libraries. You will then learn how to use Underscore with databases such as MongoDB and PostgreSQL, which can execute JavaScript to query data.

Chapter 6, Related Underscore.js Libraries and ECMAScript Standards, discusses advanced topics such as the link between Underscore and JavaScript standards, libraries that augment or can even replace Underscore, with a focus on taking advantage of the new ECMAScript 2015 (ES6) features.

Chapter 7, Underscore.js Build Automation and Code Reusability, introduces a build automation solution together with strategies to reuse Underscore based code between different application hosts.

主站蜘蛛池模板: 九江县| 酒泉市| 丰原市| 连城县| 阳东县| 永平县| 黄冈市| 札达县| 商丘市| 克山县| 葫芦岛市| 浑源县| 加查县| 德令哈市| 三门峡市| 襄城县| 萨迦县| 裕民县| 涞源县| 太保市| 乌兰浩特市| 宿迁市| 尼木县| 密云县| 神木县| 高阳县| 大石桥市| 海伦市| 河池市| 饶平县| 盐城市| 新兴县| 兴仁县| 蒙城县| 贵阳市| 精河县| 宁明县| 扶绥县| 钟祥市| 盐津县| 承德市|