Clojure Reactive Programming

Design and implement highly reusable reactive applications by integrating different frameworks with Clojure
Preview in Mapt

Clojure Reactive Programming

Leonardo Borges

1 customer reviews
Design and implement highly reusable reactive applications by integrating different frameworks with Clojure
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
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
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Clojure Reactive Programming Book Cover
Clojure Reactive Programming
$ 35.99
$ 25.20
Reactive Programming in Spring 5.0 Book Cover
Reactive Programming in Spring 5.0
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $40.98
Add to Cart

Book Details

ISBN 139781783986668
Paperback232 pages

Book Description

Reactive Programming (RP) is central to many concurrent systems. It endeavors to make the process of developing highly-concurrent, event-driven, and asynchronous applications simpler and less error-prone. RP comes in many flavors and we will look at some of them in this book.

Clojure Reactive Programming is a practical guide aimed at exploring RP. It starts by describing Functional Reactive Programming (FRP) and its formulations, as well as how it inspired Compositional Event Systems (CES).

It also presents several examples of Reactive applications implemented in different frameworks, allowing you to develop an understanding of the subject as well as learn how to develop your ability to work with time-varying values.

By the end of the book, you will be equipped to solve real-world problems as well as understand the trade-offs between the approaches shown in the book.

Table of Contents

Chapter 1: What is Reactive Programming?
A taste of Reactive Programming
A bit of history
Signals and events
Implementation challenges
Applications of FRP
Summary
Chapter 2: A Look at Reactive Extensions
The Observer pattern revisited
Creating Observables
Manipulating Observables
Flatmap and friends
Error handling
Backpressure
Summary
Chapter 3: Asynchronous Programming and Networking
Building a stock market monitoring application
Rolling averages
Identifying problems with our current approach
Removing incidental complexity with RxClojure
Summary
Chapter 4: Introduction to core.async
Asynchronous programming and concurrency
core.async
Rewriting the stock market application with core.async
Error handling
Backpressure
Transducers
Summary
Chapter 5: Creating Your Own CES Framework with core.async
A minimal CES framework
Exercises
A respondent application
CES versus core.async
Summary
Chapter 6: Building a Simple ClojureScript Game with Reagi
Setting up the project
Reagi and other CES frameworks
Summary
Chapter 7: The UI as a Function
The problem with complex web UIs
Enter React.js
ClojureScript and Om
Building a simple Contacts application with Om
Intercomponent communication
Exercises
Summary
Chapter 8: Futures
Clojure futures
Fetching data in parallel
Imminent – a composable futures library for Clojure
The movies example revisited
Futures and blocking IO
Summary
Chapter 9: A Reactive API to Amazon Web Services
The problem
Infrastructure automation
AWS resources dashboard
CloudFormation
EC2
RDS
Designing the solution
Exercises
Summary

What You Will Learn

  • Understand the key abstractions of Functional Reactive Programming (FRP) and Compositional Event Systems (CES)
  • Discover how to think in terms of time-varying values and event streams
  • Create, compose, and transform Observable sequences with Reactive Extensions
  • Create a CES framework from scratch using core.async as its foundation
  • Build a simple ClojureScript game using Reagi
  • Integrate Om and RxJS in a web application
  • Implement a reactive API to Amazon Web Services
  • Discover approaches to backpressure and error handling
  • Get to grips with futures and learn where they fit in

Authors

Table of Contents

Chapter 1: What is Reactive Programming?
A taste of Reactive Programming
A bit of history
Signals and events
Implementation challenges
Applications of FRP
Summary
Chapter 2: A Look at Reactive Extensions
The Observer pattern revisited
Creating Observables
Manipulating Observables
Flatmap and friends
Error handling
Backpressure
Summary
Chapter 3: Asynchronous Programming and Networking
Building a stock market monitoring application
Rolling averages
Identifying problems with our current approach
Removing incidental complexity with RxClojure
Summary
Chapter 4: Introduction to core.async
Asynchronous programming and concurrency
core.async
Rewriting the stock market application with core.async
Error handling
Backpressure
Transducers
Summary
Chapter 5: Creating Your Own CES Framework with core.async
A minimal CES framework
Exercises
A respondent application
CES versus core.async
Summary
Chapter 6: Building a Simple ClojureScript Game with Reagi
Setting up the project
Reagi and other CES frameworks
Summary
Chapter 7: The UI as a Function
The problem with complex web UIs
Enter React.js
ClojureScript and Om
Building a simple Contacts application with Om
Intercomponent communication
Exercises
Summary
Chapter 8: Futures
Clojure futures
Fetching data in parallel
Imminent – a composable futures library for Clojure
The movies example revisited
Futures and blocking IO
Summary
Chapter 9: A Reactive API to Amazon Web Services
The problem
Infrastructure automation
AWS resources dashboard
CloudFormation
EC2
RDS
Designing the solution
Exercises
Summary

Book Details

ISBN 139781783986668
Paperback232 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Learning ClojureScript Book Cover
Learning ClojureScript
$ 31.99
$ 22.40
Mastering Clojure Book Cover
Mastering Clojure
$ 39.99
$ 28.00
Clojure Programming Cookbook Book Cover
Clojure Programming Cookbook
$ 39.99
$ 28.00
Clojure for Data Science Book Cover
Clojure for Data Science
$ 35.99
$ 25.20
Clojure Data Analysis Cookbook - Second Edition Book Cover
Clojure Data Analysis Cookbook - Second Edition
$ 32.99
$ 23.10
Clojure Web Development Essentials Book Cover
Clojure Web Development Essentials
$ 26.99
$ 18.90