Skip to main content
  • Book
  • © 2018

Beginning Functional JavaScript

Uncover the Concepts of Functional Programming with EcmaScript 8

Apress
  • Shows how functional APIs can be built

  • Builds a React-like library following functional concepts

  • Based on EcmaScript 8

  • 26k Accesses

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (13 chapters)

  1. Front Matter

    Pages i-xvii
  2. Functional Programming in Simple Terms

    • Anto Aravinth, Srikanth Machiraju
    Pages 1-20
  3. Fundamentals of JavaScript Functions

    • Anto Aravinth, Srikanth Machiraju
    Pages 21-40
  4. Higher Order Functions

    • Anto Aravinth, Srikanth Machiraju
    Pages 41-62
  5. Closures and Higher Order Functions

    • Anto Aravinth, Srikanth Machiraju
    Pages 63-80
  6. Being Functional on Arrays

    • Anto Aravinth, Srikanth Machiraju
    Pages 81-108
  7. Currying and Partial Application

    • Anto Aravinth, Srikanth Machiraju
    Pages 109-131
  8. Composition and Pipelines

    • Anto Aravinth, Srikanth Machiraju
    Pages 133-156
  9. Fun with Functors

    • Anto Aravinth, Srikanth Machiraju
    Pages 157-180
  10. Monads in Depth

    • Anto Aravinth, Srikanth Machiraju
    Pages 181-203
  11. Pause, Resume, and Async with Generators

    • Anto Aravinth, Srikanth Machiraju
    Pages 205-239
  12. Building a React-Like Library

    • Anto Aravinth, Srikanth Machiraju
    Pages 241-268
  13. Testing and Closing Thoughts

    • Anto Aravinth, Srikanth Machiraju
    Pages 269-297
  14. Correction to: Fun with Functors

    • Anto Aravinth, Srikanth Machiraju
    Pages C1-C1
  15. Back Matter

    Pages 299-307

About this book

Understand functional programming concepts and the functional nature of the JavaScript language. Starting with an introduction to functional programming concepts, you will learn the key differences between imperative and functional programming. Diving straight into JavaScript functions, you will learn to write them with ES8. Followed by this you will move to higher order functions and learn how 'Function as Data' opens up a world of possibilities. 

You will then build higher order functions with closures. Arrays will then be introduced, followed by a set of APIs you can use with them. You will learn how to transform one function to another using currying and partial application. The compose function will be discussed in detail, followed by functors and monads. After having an in-depth look at applicative functors, you will learn the new features offered in ES8. 

The concluding chapters of Beginning Functional JavaScript will show you how to use a functional toolkit to build a small library that allows you to develop web applications, followed by tips on testing your functional code.

What You Will Learn   

  • Discover functional programming concepts such as string padding and async functions
  • Identify how functions are treated in JavaScript
  • Create a functional library that mimics Underscore.JS
  • Deep dive into ES8 functional features such as spread operators and generators
  • Create a library that works like the react-redux pattern by following the functional paradigm

Who This Book Is For

Novice JavaScript developers.


Authors and Affiliations

  • Chennai, India

    Anto Aravinth

  • Hyderabad, India

    Srikanth Machiraju

About the authors

Anto Aravinth has been in the software industry for more than four years. He has developed many systems that are written in JavaScript and JavaWorld. Anto has knowledge of the fundamentals of JavaScript and how it works and has trained many people. Anto is an open source contributor to the React, Groovy, and Selenium frameworks and is co-author of React version 15. 



Srikanth Machiraju has over 10 years of experience as a developer, architect, technical trainer and community speaker. He is currently working as Senior Consultant with Microsoft Hyderabad and leading a team of 100 developers and quality analysts together developing an advanced cloud-based platform for a tech giant in oil industry. With an aim to be an enterprise architect who can design hyper-scale modern applications with intelligence he constantly learns and shares modern application development tactics using cutting-edge platforms and technologies. Prior to Microsoft he was worked with BrainScale as Corporate trainer & Senior Technical Analyst on application design, development, migrations using Azure. He is a tech savvy developer and passionate about embracing new technologies and sharing his learning via blog or community engagements. He has also authored “Learned Windows Server Containers”, “Developing Bots with Microsoft Bot framework”, blogs run his own YouTube channel called “Tech Talk with Sriks” and active on LinkedIn.



Bibliographic Information

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access