Oreilly - Mastering Functional JavaScript Libraries
by Zsolt Nagy | Released July 2017 | ISBN: 9781788292429
Master the art of Web application development using popular functional Javascript LibrariesAbout This VideoApply functional programming principles to implement complex JavaScript applications as well as introductory examples using functional programming librariesLearn functional reactive programming with RxJS in practice by implementing an application that interacts with the Slack API.Practice learning any JavaScript functional programming library quickly, including Underscore, LoDash, Lazy.js, Ramda.js, and Immutable.js.Understand the basics of functional programming languages that compile to JavaScript.Develop two web applications with the help of functional programming libraries.In DetailThe goal of this course is to give you hands-on experience with JavaScript functional programming libraries. You will discover throughout the course how easy it is to apply functional programming concepts in practice.In the first section, you will learn how different functional programming libraries implement automatic currying, partial application, lazy evaluation, higher-order functions, promises, cloning, chaining, function composition, and immutable data structures. You will execute code in Underscore.js, LoDash, Lazy.js, Ramda.js, Immutable.js, Scala, Elm, PureScript, and ClojureScript.In order to learn how to use functional programming libraries in depth, in the second and third sections you will learn how to implement two web-applications using LoDash and RxJS.The LoDash application shows you how to process matrixes with LoDash, by implementing a Sudoku game in JavaScript. We will model the Sudoku table with LoDash, collect all the constraints of the table, and validate it. The Sudoku table will be rendered using Underscore templating, and DOM events will help you manipulate state space with user interactions.The third section introduces functional reactive programming using RxJS. Functional reactive programming deserves its own section, as it is a comprehensive topic providing you with a different developer experience from most of the other functional programming libraries. After learning the fundamentals of functional reactive programming and RxJS, you will learn how to put the theory into practice by implementing a web application. This web application uses the Slack API to monitor the activity of different Slack channels. Beyond submitting Ajax requests, you will also learn how to use web sockets to display live updates on your site using event streams. Show and hide more
- Chapter 1 : Bridging Functional Programming Theory and Practice
- The Course Overview 00:04:55
- Underscore.js 00:09:10
- LoDash 00:08:50
- Lazy.js 00:05:54
- Ramda.js 00:08:53
- Immutable.js 00:11:16
- Functional Languages That Compile to JavaScript 00:15:05
- Chapter 2 : LoDash in Practice
- Modelling the Sudoku Table 00:12:24
- Modelling Field Constraints 00:12:40
- Rendering the Sudoku Table 00:07:09
- Event Handling 00:08:43
- Table Validation and Conclusion 00:08:14
- Chapter 3 : Functional Reactive Programming Using RxJS
- Introduction to Reactive Programming 00:07:51
- Introduction to RxJS 00:12:04
- RxJS in Practice Creating a Web Application Using the Slack API 00:06:56
- Fetching Data with RxJS Using the Slack API 00:06:50
- Rendering the Application 00:10:40
- RxJS in Practice Slack App Exercises 00:06:49
- Course Summary 00:02:40
Show and hide more