20%
62.90
CHF50.30
Download est disponible immédiatement
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 usea functional toolkit to build a small library that allows you to develop web applications, followed by tips on testing your functional code.
You will:
Auteur
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.
Contenu
Chapter 1: Functional Programming In Simple Terms
Chapter Goal: Introduce to the reader the functional programming concepts in simple terms. The chapter will consist of theory and few executable JavaScript code both in imperative terms and functional terms, thus showcasing the advantages of functional programming over imperative.
No of pages : 25
Sub -Topics
1. What is functional programming? Why it matters?
2. Functional programming thought process and its advantages.
3. Talking about side effects
4. Functions in Math and in programming
5. Immutability leads to parallel code
6. Testable
7. Easy to reason about your code.
8. Lets understand functions in JavaScript
9. What we are going to build in this book? Chapter 2: Fundamentals of JavaScript functions Chapter Goal: This chapter is a refresher on JavaScript functions. What they are and how they can be written in ES7/ES8
No of pages: 20
Sub - Topics
1. JavaScript Functions 2. Functions vs Methods in JavaScript
3. Functions old way and ES6 way
4. Anonymous functions or arrow functions
5. Deep Dive. Functions Prototype. Chapter 3: Higher Order Functions Chapter Goal: In this chapter we are going give a different thought process on how functions are treated as data in JavaScript world. We will be covering what is data and how function as data allows several things possible in JavaScript.
No of pages: 20
Sub - Topics:
1. Data in JavaScript
2. Functions as Data in JavaScript
3. Higher order functions
3. Our first functional approach to loop problem
Chapter 4: Closures
Chapter Goal: This chapter going to teach you the fundamentals of closures and how closures help to build higher order functions.
No of pages: 30
Sub - Topics:
Understanding closures.
How closures help in higher order functions
Create functional libraries using the above approaches learned.
Example problem and using the libraries that we created to show how functional programming helps them. Chapter 5: Being Functional On Arrays
Chapter Goal: This chapter introduces set of APIs' that one can use on top of Arrays.
No of pages: 20
Sub - Topics:
Arrays in JavaScript
How to access arrays, delete, loop them etc
Create functional libraries using the above approaches learned.
Example problem and using the libraries that we created to show how functional programming helps them. Chapter 6: Currying and Partial Application Chapter Goal: In this chapter we are going to see how and what is partial and currying is all about.
No of pages: 20
Sub - Topics: