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

  • Learning Underscore.js
  • Alex Pop
  • 325字
  • 2021-07-09 21:11:51

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.

主站蜘蛛池模板: 柘荣县| 新龙县| 荆门市| 雷山县| 饶平县| 澄江县| 丹凤县| 眉山市| 厦门市| 拉孜县| 阿鲁科尔沁旗| 利津县| 桃园县| 比如县| 大安市| 新龙县| 昭通市| 佛坪县| 朝阳区| 湘潭市| 天峨县| 宜君县| 潞西市| 静宁县| 宁波市| 安宁市| 剑河县| 丹凤县| 仙居县| 平乡县| 翁牛特旗| 长泰县| 巴彦淖尔市| 泌阳县| 政和县| 忻州市| 阜康市| 遵义市| 信阳市| 保定市| 浦县|