Learning Underscore.js

0
(0)

Learning Underscore.js
 

  • Author:Alex Pop
  • Length: 224 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2015-10-30
  • ISBN-10: 1784393819
  • ISBN-13: 9781784393816
  • Sales Rank: #4435188 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Explore the Underscore.js library by example using a test-driven development approach

    About This Book

    • Understand and learn to apply functional programming principles using the built-in functions of Underscore.js
    • Leverage and reuse Underscore.js-based code to create code that targets client, server, or database contexts
    • Take Underscore.js further by reusing code between client and server and by learning about other closely related libraries

    Who This Book Is For

    If you are a developer with fundamental JavaScript knowledge and want to use modern JavaScript libraries to extend your functional programming skills, then Underscore.js is an important library you should be familiar with.

    What You Will Learn

    • Reference and call Underscore.js functions using a modern JavaScript development workflow
    • Apply Underscore.js to JavaScript arrays, objects, and functions
    • Take advantage of object-oriented or functional programming techniques with Underscore.js
    • Leverage Underscore.js to create code that targets client, server, or database contexts
    • Extend Underscore.js functionality with other closely related libraries
    • Reuse Underscore.js-based code between client and server applications
    • Prepare for the upcoming JavaScript standard ECMAScript 6 and support older browsers

    In Detail

    Underscore.js is one of the most popular modern JavaScript libraries used for functional programming. It can be used as a base for building complex JavaScript applications in a sustainable manner and for building other JavaScript libraries. It embraces functional programming principles but is not opinionated and can be used with imperative, object-oriented, functional, or other programming styles.

    This book explores how to use Underscore.js to power your code and understand modern JavaScript development concepts while applying a lightweight and efficient workflow to build applications.

    The book starts with an incremental Underscore.js introduction by exploring key JavaScript concepts. You will then explore the basic features of Underscore.js in action and establish a lightweight development workflow that allows the provided examples to be guided by tests. The book then covers the functionality of Underscore.js with in-depth examples and explanations for understanding and applying the Underscore.js API. You’ll also learn how to use Underscore.js as a base for your own modules and libraries within an object-oriented or functional programming style, and will be able to explore Underscore.js use cases in different environments.

    Eventually, you’ll learn about libraries that are closely related with Underscore.js, how to share code between client and server, and how to prepare for the upcoming JavaScript standard ECMAScript 6.

    Style and approach

    This book takes an example-driven approach to describing some of the essential JavaScript concepts and practices that are useful for building sustainable applications.

    Table of Contents

    Chapter 1: Getting Started with Underscore.js
    Chapter 2: Using Underscore.js with Collections
    Chapter 3: Using Underscore.js with Arrays, Objects, and Functions
    Chapter 4: Programming Paradigms with Underscore.js
    Chapter 5: Using Underscore.js in the Browser, on the Server, and with the Database
    Chapter 6: Related Underscore.js Libraries and ECMAScript Standards
    Chapter 7: Underscore.js Build Automation and Code Reusability

    中文:

    书名:学习UnderScotre.js

    使用测试驱动的开发方法通过示例探索UnderScotre.js库

    关于本书

    • 了解并学习使用UnderScotre.js的内置函数应用函数式编程原则
    • 利用和重用基于UnderScotre.js的代码来创建针对客户端、服务器或数据库上下文的代码
    • 通过在客户端和服务器之间重用代码以及了解其他密切相关的库来进一步开发UnderScotre.js

    这本书是为谁写的

    如果您是一名具有基本的JavaScript知识的开发人员,并且希望使用现代的JavaScript库来扩展您的函数式编程技能,那么UnderScotre.js是一个重要的库,您应该熟悉它。

    你将学到什么

    • Reference and call Underscore.js functions using a modern JavaScript development workflow
    • 将UnderScotre.js应用于JavaScript数组、对象和函数
    • 利用UnderScotre.js的面向对象或函数式编程技术
    • 利用UnderScotre.js创建针对客户端、服务器或数据库上下文的代码
    • 使用其他密切相关的库扩展UnderScotre.js功能
    • 在客户端和服务器应用程序之间重用基于UnderScotre.js的代码
    • 为即将发布的JavaScript标准ECMASIPT 6做好准备,并支持较旧的浏览器

    详细地说

    Js是用于函数式编程的最流行的现代JavaScript库之一。它可以用作以可持续的方式构建复杂的JavaScript应用程序和构建其他JavaScript库的基础。它接受函数式编程原则,但不固执己见,可以与命令式、面向对象、函数式或其他编程风格一起使用。

    本书探讨了如何在应用轻量级且高效的工作流构建应用程序的同时,使用UnderScotre.js来增强您的代码并理解现代的JavaScript开发概念。

    本书从探索关键的JavaScript概念开始,逐步介绍UnderScotre.js。然后,您将探索UnderScotre.js的基本功能,并建立一个轻量级开发工作流,允许通过测试来指导所提供的示例。然后,该书介绍了UnderScott re.js的功能,并提供了深入的示例和解释,以帮助您理解和应用UnderScott re.js API。您还将学习如何在面向对象或函数式编程风格中将UnderScotre.js用作您自己的模块和库的基础,并将能够探索不同环境中的UnderScotre.js用例。

    最后,您将了解与UnderScotre.js密切相关的库,如何在客户端和服务器之间共享代码,以及如何为即将到来的JavaScript标准ECMASIPT6做准备。

    风格和方法

    本书采用了示例驱动的方法来描述对构建可持续应用程序有用的一些基本的JavaScript概念和实践。

    Table of Contents

    第1章:UnderScotre.js入门
    第2章:将Undercore.js与集合一起使用
    第3章:将UnderScott re.js与数组、对象和函数一起使用
    Chapter 4: Programming Paradigms with Underscore.js
    第5章:在浏览器、服务器和数据库中使用Undersore.js
    第6章:相关的UnderScotre.js库和ECMAScript标准
    第7章:UnderScotre.js构建自动化和代码可重用性

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册