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

  • 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.

主站蜘蛛池模板: 盘锦市| 临邑县| 三亚市| 临猗县| 吉林市| 龙海市| 大庆市| 顺平县| 普兰店市| 栾川县| 阜南县| 句容市| 河津市| 清原| 客服| 称多县| 色达县| 射阳县| 大理市| 越西县| 西峡县| 集安市| 马山县| 西城区| 汨罗市| 连山| 齐河县| 麻栗坡县| 左权县| 池州市| 惠来县| 阿合奇县| 阜阳市| 虞城县| 东乌| 包头市| 福鼎市| 贺州市| 湄潭县| 孙吴县| 防城港市|