Implementing and Testing Applications using Functional JavaScript [Video]

Preview in Mapt

Implementing and Testing Applications using Functional JavaScript [Video]

Zsolt Nagy

See how to build and test your application using functional programming
Mapt Subscription
FREE
$29.99/m after trial
Video
$106.25
RRP $124.99
Save 14%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$106.25
$29.99p/m after trial
RRP $124.99
Subscription
Video
Start 30 Day Trial

Frequently bought together


Implementing and Testing Applications using Functional JavaScript [Video] Book Cover
Implementing and Testing Applications using Functional JavaScript [Video]
$ 124.99
$ 106.25
Learning JavaScript Promises: Practical Applications in ES6 and AngularJS [Video] Book Cover
Learning JavaScript Promises: Practical Applications in ES6 and AngularJS [Video]
$ 74.99
$ 63.75
Buy 2 for $35.00
Save $164.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Video Details

ISBN 139781788291743
Course Length2 hours 36 minutes

Video Description

You will get an in-depth overview of how to handle asynchronous code with promises, generator functions, and the ES2017 async-await construct. These tools will help you set up communication with a server via an API later, when implementing a web application.

Lazy evaluation will allow you to optimize performance of retrieving a collection of data, where you may need to process and retrieve just a fraction of the available elements. This powerful technique will not only allow you to write performant code, but it also makes it possible for you to handle infinite sequences.

We will also implement a web application together, demonstrating the practical usage of most of the features you learned in this course, and in the previous volume of this course, Deep Dive into Functional JavaScript. You will see higher order functions, currying, partial evaluation, recursion, ES6, asynchronous code with promises and ES2017 async-await, and many more language construct and functional programming ideas in practice. While we anchor these techniques into your mind with the repeated practical usage, you will also learn about techniques to write maintainable software: test driven development, top-down design, and bottom-up design. We will use Mocha and ChaiJs to write unit tests for the functional part of the application

Style and Approach

Expect a smooth action-packed course. Your time is valuable, so there’s no clutter. Code examples illustrate all important concepts in the course, and it encourages you to implement them yourself, guided by the course.

Table of Contents

Bridging Functional Programming Theory and Practice
The Course Overview
Functors in JavaScript
Monads
Asynchronous Code and Promises in Depth
Escaping the Pyramid of Doom
ES6 Promises and Functional Programming
Asynchronous Functional Programming with ES6 Generator Functions
Functional Programming with Async-Await
Lazy Evaluation
What Is Lazy Evaluation?
Using ES6 Generator Functions for Evaluating Lazy Sequences
Implementing a Web Application Using Functional Programming
Introduction
Weather App
Application Setup
Bottom-Up Design Using Test Driven Development
Bottom-Up Design and TDD (Continued) –Parsing the Response
Handling Timezones
Getting Weather Data with Promises and Async-Await
Rendering the Weather App
Course Summary and Next Steps

What You Will Learn

  • See how to rewrite nested asynchronous callbacks with generator functions in a linear fashion
  • Simplify your linearized asynchronous code with async functions and the await operator
  • Optimize the performance of your application with lazy evaluation and memoization
  • Understand how to model and use infinite sequences with lazy evaluation
  • Understand theoretical functional programming concepts in practice to understand in-depth theory articles
  • Unit test your functional code with Mocha and Chai using test-driven development
  • Find out how to use top-down and bottom-up design
  • Use a third-party library that simplifies communication with a server via an API
  • See how to set up your development environment, including automated testing
  • Use several refactoring steps to get an idea of how to make your code more maintainable
  • Understand the theoretical background of wrapped sets in jQuery, the map function, and flatMap

Authors

Table of Contents

Bridging Functional Programming Theory and Practice
The Course Overview
Functors in JavaScript
Monads
Asynchronous Code and Promises in Depth
Escaping the Pyramid of Doom
ES6 Promises and Functional Programming
Asynchronous Functional Programming with ES6 Generator Functions
Functional Programming with Async-Await
Lazy Evaluation
What Is Lazy Evaluation?
Using ES6 Generator Functions for Evaluating Lazy Sequences
Implementing a Web Application Using Functional Programming
Introduction
Weather App
Application Setup
Bottom-Up Design Using Test Driven Development
Bottom-Up Design and TDD (Continued) –Parsing the Response
Handling Timezones
Getting Weather Data with Promises and Async-Await
Rendering the Weather App
Course Summary and Next Steps

Video Details

ISBN 139781788291743
Course Length2 hours 36 minutes
Read More

Read More Reviews

Recommended for You

Learning JavaScript Promises: Practical Applications in ES6 and AngularJS [Video] Book Cover
Learning JavaScript Promises: Practical Applications in ES6 and AngularJS [Video]
$ 74.99
$ 63.75
Mastering Functional JavaScript Libraries [Video] Book Cover
Mastering Functional JavaScript Libraries [Video]
$ 124.99
$ 106.25
Deep Dive into Functional JavaScript [Video] Book Cover
Deep Dive into Functional JavaScript [Video]
$ 124.99
$ 106.25
Learning Functional JavaScript [Video] Book Cover
Learning Functional JavaScript [Video]
$ 74.99
$ 15.00
JavaScript: Functional Programming for JavaScript Developers Book Cover
JavaScript: Functional Programming for JavaScript Developers
$ 63.99
$ 44.80
Responsive Web Development with HTML5, CSS3, and JavaScript [Video] Book Cover
Responsive Web Development with HTML5, CSS3, and JavaScript [Video]
$ 124.99
$ 106.25