Functional JavaScript Libraries Playbook

Functional JavaScript Libraries Playbook

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 2h 59m | 450 MB

This course is about exploring some popular functional JavaScript libraries and seeing what they’re all about. We’re heavy on demo and light on slides. If you aren’t familiar with functional tenets, we cover them right at the beginning.

Developers tend to come across functional programming (FP) as they gain more experience and are looking for ways to write cleaner, more maintainable code. Unfortunately, over the last few years, “Functional JavaScript Development” has taken on a shiny-object status. Lots of articles are being written about it and it’s approaching a religious fervor – either for it or against it. That leaves people who just want to know what it’s all about, and if it can help them with their programming tasks, stuck in the middle. If you haven’t specifically done functional development, I would bet that you’ve been impacted by it, and have probably even written some functional code, even if you didn’t know it. Functional code is predictable, modular and easier to reason about. That doesn’t mean it’s perfect, though, or right for every situation. In this course, Functional JavaScript Libraries Playbook, you’ll learn some of the popular functional JavaScript libraries and seeing what they’re all about. This course will be heavy on demos and as light on slides as I could get away with. First, you’ll discover functional tenets like pure functions, currying and composition. Next, you’ll explore how these libraries work inside your React, Vue, or Angular projects or really any JavaScript code you’re writing with any framework, other libraries, or just plain vanilla JavaScript. By the end of this course, you’ll have been exposed to six libraries and gotten a good look at what they provide and how they might help you write better code. Before beginning the course, you should be familiar with JavaScript development, but you don’t need to have any functional programming experience as the course includes what is likely the world’s fastest functional programming overview right up front, with code and pretty pictures and everything you need to get started.

Table of Contents

Course Overview
1 Course Overview

Functional JavaScript 101
2 Getting Started
3 Functional JavaScript – The Important Parts
4 Pure Functions
5 Composing Functions
6 Higher-Order Functions
7 Currying A Spicy Look at Functions
8 Immutable Can t Touch This
9 Closure Without Grief
10 A Visit to Fantasy Land the Spec

Choosing a Library
11 Introduction
12 The Big Overview Slide
13 How Do I Choose

ImmutableJS
14 Library Overview
15 Getting Started and Common Operations
16 Immutable Data Structures
17 Filtering on Top-Level Properties
18 Filtering on Nested Properties
19 Updating Data

Ramda
20 Library Overview
21 Getting Started and Common Operations
22 Filtering Data
23 Filtering part Deux Curried Functions
24 Sorting Data and More Currying
25 Composing Functions
26 Piping Functions
27 Retrieving Top-Level Property Values and Defaults
28 Retrieving Nested Property Values and Defaults
29 Unique Values

Folktale
30 Library Overview
31 Getting Started and Common Operations
32 So Call Me Maybe
33 Result
34 Validation

FKit
35 Library Overview
36 Getting Started and Common Operations
37 Filtering
38 Filtering part 2 and Partial Application
39 Sorting
40 Composing Functions
41 Top-Level Properties
42 Default Values
43 Unique Values
44 Nested Object Properties
45 Nested Object Default Values

Sanctuary
46 Library Overview
47 Getting Started and Common Operations
48 Setting Up the Environment and Filtering
49 Sorting
50 Composing Functions
51 Piping Functions
52 Maybe

Monet.js
53 Library Overview
54 Getting Started and Common Operations
55 Maybe Either and Validation
56 Compose Curry AndThen
57 Heads and Tails – Immutable Lists
58 Creating Immutable Lists
59 Filtering Immutable Lists
60 Adding Data to Immutable Lists
61 headMaybe and Empty Lists
62 Introducing Non-empty Lists
63 Non-empty Lists – Guaranteed head and tail

Using Functional Libraries in Popular Frameworks
64 What We Do
65 The Money Slide