Functional Programming in Node.js

Eve Porcello

eve@moonhighway.com

@eveporcello

Tahoe City, CA

 

Schedule

9:00am PT - Start

10:00 - 10:10 - Break

11:00 - 11:10pm - Break

12:00pm - End

  • Understanding Functional Programming
  • Array Methods
  • Data Transformation

Topics

Setup

  • Code Editor (I'll be using VSCode)
  • Make sure you have Node installed (node -v)

Node.js Object Oriented Design Patterns

Creational

  • Abstract Factory

  • Builder

  • Factory Method

  • Prototype

  • Singleton

Structural

  • Adapter

  • Bridge

  • Composite

  • Decorator

  • Facade

  • Flyweight

  • Proxy

Behavioral

  • Chain of Responsibility

  • Command

  • Interpreter

  • Iterator

  • Mediator

  • Memento

  • Observer

  • State

  • Strategy

  • Template method

  • Visitor

Specify objects to create using a prototypical instance, then create new instances of this prototype

The Prototype Pattern

Ensure a class only has one instance and provide a global access point to it.

The Singleton Pattern

Define an interface for creating an object, but let subclasses decide which to instantiate.

The Factory Pattern

Separate the construction of a complex object from its representation so that the same process can create different representations.

The Builder Pattern