Oreilly - Building Declarative Apps using Functional Javascript
by Michael Rosata | Released June 2017 | ISBN: 9781788297622
Learn how to handle composition and build code to run your App in Functional javascriptAbout This VideoPure composition techniques that will help you deliver better codeUse a combination of combinators and generic containers to deliver powerful and fast codeInteract with your App successfully by linking eventsIn DetailIn this video we will learn techniques like combining smaller units of code intocomposition pipelines. Composition is functional programming's solution for taking smaller pieces of pure logicand building them into larger chunks of code which can also themselves be combined into even larger chunks. You'll learn how to reason about these composed functions and learn the laws of compositionality to deal with common issues that come along when writing compositional logic. Composing functions creates a form of functions called a “point-free” function.We'll continue building code that mirrors popular framework thinking. Students will learn how to create a statemanagement pattern like React and how to handle DOM events (and other I/O) by encapsulating logic insidegeneric containers. Show and hide more
- Chapter 1 : Composition Pipelines
- The Course Overview 00:04:09
- Connecting Functions with Basic Composition 00:15:50
- Implementing N-length Composition with Reduce 00:11:28
- Formalizing Types with Hilney-Milner 00:17:13
- Refactoring Using Laws of Compositionality 00:19:13
- Chapter 2 : Combinators, What and Why?
- Combinators 00:14:53
- Tap to Inspect Composition 00:16:53
- Non-linear Composition Using Join Combinators 00:25:19
- Using Combinators with Partially Applied Higher-order Functions 00:20:10
- Chapter 3 : Generic Containers for Isolating Impure Logic
- Encapsulate I/O Using Generic Containers 00:12:33
- Lazy Evaluation Using Generic Containers 00:08:24
- Connecting Impure Code to Pure Composition 00:26:02
- Chapter 4 : Building State Management Inside Your Functional App
- Overview and Benefits of a Single Object State 00:15:11
- Build a Functional Data Store Like Redux 00:14:52
- Create a History of Changed State to Rewind/Fast-forward The App 00:13:23
- Link Events in App to Actions on the Data Store 00:32:47
Show and hide more
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.