RxJS in Action

RxJS in Action
Author: Paul Daniels
Publisher: Simon and Schuster
Total Pages: 506
Release: 2017-07-20
Genre: Computers
ISBN: 1638351708

Download RxJS in Action Book in PDF, Epub and Kindle

Summary RxJS in Action gives you the development skills you need to create reactive applications with RxJS. This book is full of theory and practical examples that build on each other and help you begin thinking in a reactive manner. Foreword by Ben Lesh, Project lead, RxJS 5. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology On the web, events and messages flow constantly between UI and server components. With RxJS, you can filter, merge, and transform these streams directly, opening the world of data flow programming to browser-based apps. This JavaScript implementation of the ReactiveX spec is perfect for on-the-fly tasks like autocomplete. Its asynchronous communication model makes concurrency much, much easier. About the Book RxJS in Action is your guide to building a reactive web UI using RxJS. You'll begin with an intro to stream-based programming as you explore the power of RxJS through practical examples. With the core concepts in hand, you'll tackle production techniques like error handling, unit testing, and interacting with frameworks like React and Redux. And because RxJS builds on ideas from the world of functional programming, you'll even pick up some key FP concepts along the way. What's Inside Building clean, declarative, fault-tolerant applications Transforming and composing streams Taming asynchronous processes Integrating streams with third-party libraries Covers RxJS 5 About the Reader This book is suitable for readers comfortable with JavaScript and standard web application architectures. About the Author Paul P. Daniels is a professional software engineer with experience in .NET, Java, and JavaScript. Luis Atencio is a software engineer working daily with Java, PHP, and JavaScript platforms, and author of Manning's Functional Programming in JavaScript. Table of Contents PART 1 - UNDERSTANDING STREAMS Thinking reactively Reacting with RxJS Core operators It's about time you used RxJS PART 2 - OBSERVABLES IN PRACTICE Applied reactive streams Coordinating business processes Error handling with RxJS PART 3 MASTERING RXJS Heating up observables Toward testable, reactive programs RxJS in the wild

The Joy of JavaScript

The Joy of JavaScript
Author: Luis Atencio
Publisher: Manning Publications
Total Pages: 358
Release: 2021-03-02
Genre: Computers
ISBN: 1617295868

Download The Joy of JavaScript Book in PDF, Epub and Kindle

The Joy of JavaScript introduces techniques that turn JavaScript programmers into JavaScript pros. Summary Whether building interactive browser-based applications or creating server-side applications in Node, JavaScript is the most widely used language for web programming. With new features, language improvements, paradigms, and potential use cases appearing regularly, there’s never been a more exciting time to be a JavaScript developer. In The Joy of JavaScript, author and JavaScript expert Luis Atencio teaches you key design concepts that lead to clean, lean, modular, and easy-to-maintain code. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology JavaScript is at the heart of web applications on the browser side and, via the popular Node.js runtime, it often powers the server side too. Simply put, the web runs on JavaScript. About the book The Joy of JavaScript introduces techniques that turn JavaScript programmers into JavaScript pros. You’ll work with cutting edge APIs, language features, and coding styles to tackle tricky problems in an elegant manner. Along the way, you’ll practice good object design, drive business logic with functional thinking, and untangle complex data flows. What's inside JavaScript’s objects and module system Working with higher order functions Identifying and creating composable software Preparing for upcoming JavaScript features About the reader Written for experienced and passionate JavaScript developers. About the author Luis Atencio is a software engineer for Citrix Systems, author of Manning’s Functional Programming in JavaScript, and co-author of Manning’s RxJS in Action. Table of Contents 1 JavaScript reloaded PART 1 - OBJECTS 2 Inheritance-based object modeling 3 Linked, compositional object models PART 2 - FUNCTIONS 4 Writing composable, pure code 5 Higher-kinded composition PART 3 - CODE 6 ECMAScript Modules 7 Hooked on metaprogramming PART 4 - DATA 8 Linear async flows 9 Stream programming

Functional Programming in JavaScript

Functional Programming in JavaScript
Author: Luis Atencio
Publisher: Simon and Schuster
Total Pages: 371
Release: 2016-06-06
Genre: Computers
ISBN: 163835359X

Download Functional Programming in JavaScript Book in PDF, Epub and Kindle

Summary Functional Programming in JavaScript teaches JavaScript developers functional techniques that will improve extensibility, modularity, reusability, testability, and performance. Through concrete examples and jargon-free explanations, this book teaches you how to apply functional programming to real-life development tasks Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology In complex web applications, the low-level details of your JavaScript code can obscure the workings of the system as a whole. As a coding style, functional programming (FP) promotes loosely coupled relationships among the components of your application, making the big picture easier to design, communicate, and maintain. About the Book Functional Programming in JavaScript teaches you techniques to improve your web applications - their extensibility, modularity, reusability, and testability, as well as their performance. This easy-to-read book uses concrete examples and clear explanations to show you how to use functional programming in real life. If you're new to functional programming, you'll appreciate this guide's many insightful comparisons to imperative or object-oriented programming that help you understand functional design. By the end, you'll think about application design in a fresh new way, and you may even grow to appreciate monads! What's Inside High-value FP techniques for real-world uses Using FP where it makes the most sense Separating the logic of your system from implementation details FP-style error handling, testing, and debugging All code samples use JavaScript ES6 (ES 2015) About the Reader Written for developers with a solid grasp of JavaScript fundamentals and web application design. About the Author Luis Atencio is a software engineer and architect building enterprise applications in Java, PHP, and JavaScript. Table of Contents PART 1 THINK FUNCTIONALLY Becoming functional Higher-order JavaScript PART 2 GET FUNCTIONAL Few data structures, many operations Toward modular, reusable code Design patterns against complexity PART 3 ENHANCING YOUR FUNCTIONAL SKILLS Bulletproofing your code Functional optimizations Managing asynchronous events and data

Rx.NET in Action

Rx.NET in Action
Author: Tamir Dresher
Publisher: Simon and Schuster
Total Pages: 549
Release: 2017-04-20
Genre: Computers
ISBN: 163835703X

Download Rx.NET in Action Book in PDF, Epub and Kindle

Summary Rx.NET in Action teaches developers how to build event-driven applications using the Reactive Extensions (Rx) library. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Modern applications must react to streams of data such as user and system events, internal messages, and sensor input. Reactive Extensions (Rx) is a .NET library containing more than 600 operators that you can compose together to build reactive client- and server-side applications to handle events asynchronously in a way that maximizes responsiveness, resiliency, and elasticity. About the Book Rx.NET in Action teaches developers how to build event-driven applications using the Rx library. Starting with an overview of the design and architecture of Rx-based reactive applications, you'll get hands-on with in-depth code examples to discover firsthand how to exploit the rich query capabilities that Rx provides and the Rx concurrency model that allows you to control both the asynchronicity of your code and the processing of event handlers. You'll also learn about consuming event streams, using schedulers to manage time, and working with Rx operators to filter, transform, and group events. What's Inside Introduction to Rx in C# Creating and consuming streams of data and events Building complex queries on event streams Error handling and testing Rx code About the Reader Readers should understand OOP concepts and be comfortable coding in C#. About the Author Tamir Dresher is a senior software architect at CodeValue and a prominent member of Israel's Microsoft programming community. Table of Contents PART 1 - GETTING STARTED WITH REACTIVE EXTENSIONS Reactive programming Hello, Rx Functional thinking in C# PART 2 - CORE IDEAS Creating observable sequences Creating observables from .NET asynchronous types Controlling the observer-observable relationship Controlling the observable temperature Working with basic query operators Partitioning and combining observables Working with Rx concurrency and synchronization Error handling and recovery APPENDIXES Writing asynchronous code in .NET The Rx Disposables library Testing Rx queries and operators

Hands-on Reactive Programming in Angular with NgRx

Hands-on Reactive Programming in Angular with NgRx
Author: Charlie Washington
Publisher: https://www.abc2expert.com/#/book
Total Pages: 160
Release: 2019-06-28
Genre: Computers
ISBN:

Download Hands-on Reactive Programming in Angular with NgRx Book in PDF, Epub and Kindle

This book is a quick and useful guide to learning the reactive programming in Angular through step-by-step pictorial tutorials that are easily understood by beginners. It covers four important packages, including @NgRx/Store, @NgRx/Entity, @NgRx/Effects, and RxJS for developing large-scale reactive projects. Features in these four packages are covered thoroughly in this book with hands-on examples that allow readers to become experts in creating scalable and extendable web applications. What This Book Covers? Chapter 0, Getting Started with Angular NgRx, covers setting up an environment for developing Angular NgRx applications. If you are familiar with the development of the web application with Angular, please skip this chapter. Chapter 1, Reactive Programming in Angular for Beginners, develops a web application for beginners to Angular NgRx. We simplify the example in this chapter to focus on the basic and important concepts about the store and the relationship between a store and components and help beginners to grasp the main ideas in this chapter. Chapter 2, Communication between Two Components, evolves the concepts of the store, which shows how two components talk via a centralized store. Chapter 3, Nested Store Data Structure, manipulates the complicated data structure of states, introduces the concept of payload, and demonstrates how to select data from states with different levels. Chapter 4, Build Hierarchical Module, State, and Reducer, investigates how to build scalable and extendable projects with hierarchical modules, states, and reducers. It shows how @NgRx/Entity automatically generates code with functions of creating, retrieving, updating, and deleting data (CRUD). Chapter 5, Retrieve the Store with Selectors, continues to discuss how to retrieve data based on @NgRx/Entity and how to mimic the functions of SQL SELECT with selectors. Chapter 6, Introduction to RxJS, walks you through creating, filtering, transforming, and manipulating observables which are streams of data. RxJS is an important tool to create reactive applications and help you understand the next chapters. Chapter 7, Injectable Action Listener, Processor, and Dispatcher, explores @NgRx/Effects which listen to actions and perform the function of logging. Chapter 8, Handling HTTP Requests with Effects, demonstrates the interactions among servers, services, effects, stores, and components through a stock view web application.

Functional Reactive Programming

Functional Reactive Programming
Author: Stephen Blackheath
Publisher: Simon and Schuster
Total Pages: 548
Release: 2016-07-26
Genre: Computers
ISBN: 1638353417

Download Functional Reactive Programming Book in PDF, Epub and Kindle

Summary Functional Reactive Programming teaches the concepts and applications of FRP. It offers a careful walk-through of core FRP operations and introduces the concepts and techniques you'll need to use FRP in any language. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Today's software is shifting to more asynchronous, event-based solutions. For decades, the Observer pattern has been the go-to event infrastructure, but it is known to be bug-prone. Functional reactive programming (FRP) replaces Observer, radically improving the quality of event-based code. About the Book Functional Reactive Programming teaches you how FRP works and how to use it. You'll begin by gaining an understanding of what FRP is and why it's so powerful. Then, you'll work through greenfield and legacy code as you learn to apply FRP to practical use cases. You'll find examples in this book from many application domains using both Java and JavaScript. When you're finished, you'll be able to use the FRP approach in the systems you build and spend less time fixing problems. What's Inside Think differently about data and events FRP techniques for Java and JavaScript Eliminate Observer one listener at a time Explore Sodium, RxJS, and Kefir.js FRP systems About the Reader Readers need intermediate Java or JavaScript skills. No experience with functional programming or FRP required. About the Authors Stephen Blackheath and Anthony Jones are experienced software developers and the creators of the Sodium FRP library for multiple languages. Foreword by Heinrich Apfelmus. Illustrated by Duncan Hill. Table of Contents Stop listening! Core FRP Some everyday widget stuff Writing a real application New concepts FRP on the web Switch Operational primitives Continuous time Battle of the paradigms Programming in the real world Helpers and patterns Refactoring Adding FRP to existing projects Future directions

Reactive Programming with RxJS

Reactive Programming with RxJS
Author: Sergi Mansilla
Publisher:
Total Pages: 0
Release: 2015
Genre: Computers
ISBN: 9781680501292

Download Reactive Programming with RxJS Book in PDF, Epub and Kindle

Reactive programming is revolutionary. It makes asynchronous programming cleaner, intuitive, and robust. Discover how to use the RxJS library to write programs in a simpler way, unifying asynchronous mechanisms such as callbacks and promises into a single, powerful construct. Learn to think about your programs as streams of data that you can transform by expressing what should happen, instead of having to painstakingly program how it should happen. You'll be able to handle real-world concurrency and write complex flows of events in your applications with ease. Create highly concurrent applications while writing simpler code using the Reactive Extensions for JavaScript (RxJS), a set of libraries for event composition. Programming real-world applications in JavaScript involves lots of asynchronous events--you might end up spending more time coordinating asynchronous code in your program than writing its actual functionality. This book introduces concepts and tools from reactive programming that will help you write cleaner and more robust asynchronous programs. Find out about Observable sequences, a unifying data type to write highly concurrent code. Discover Schedulers and change the concept of time in your applications, making asynchronous testing sane again. Along the way you'll see real-world examples for the browser and Node.js, including a real-time earthquake visualization in 20 lines of code and a frantic shoot-'em-up space videogame. You'll also use Cycle.js - a modern, fully reactive web framework - to make a whole new breed of web applications. By the end of the book, you'll know how to apply reactive programming to solve complex problems, build efficient programs with reactive user interfaces, and write your code more declaratively. What You Need: A modern web browser, Node.JS installed in your computer, and the RxJS JavaScript library.

Micro Frontends in Action

Micro Frontends in Action
Author: Michael Geers
Publisher: Manning Publications
Total Pages: 294
Release: 2020-10-13
Genre: Computers
ISBN: 1617296872

Download Micro Frontends in Action Book in PDF, Epub and Kindle

Micro Frontends in Action teaches you to apply the microservices approach to the frontend. Summary Browser-based software can quickly become complex and difficult to maintain, especially when it’s implemented as a large single-page application. By adopting the micro frontends approach and designing your web apps as systems of features, you can deliver faster feature development, easier upgrades, and pick and choose the technology you use in your stack. Micro Frontends in Action is your guide to simplifying unwieldy frontends by composing them from small, well-defined units. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Micro frontends deliver the same flexibility and maintainability to browser-based applications that microservices provide for backend systems. You design your project as a set of standalone components that include their own interfaces, logic, and storage. Then you develop these mini-applications independently and compose them in the browser. About the Book Micro Frontends in Action teaches you to apply the microservices approach to the frontend. You’ll start with the core micro frontend design ideas. Then, you’ll build an e-commerce application, working through practical issues like server-side and client-side composition, routing, and maintaining a consistent look and feel. Finally, you’ll explore team workflow patterns that maximize the benefit of developing application components independently. What’s Inside - Create a unified frontend from independent applications - Combine JavaScript code from multiple frameworks - Browser and server-side composition and routing - Implement effective dev teams and project workflow About the Reader For web developers, software architects, and team leaders. About the Author Michael Geers is a software developer specializing in building user interfaces. Table of Contents PART 1 - GETTING STARTED WITH MICRO FRONTENDS 1 What are micro frontends? 2 My first micro frontends project PART 2 - ROUTING, COMPOSITION, AND COMMUNICATION 3 Composition with Ajax and server-side routing 4 Server-side composition 5 Client-side composition 6 Communication patterns 7 Client-side routing and the application shell 8 Composition and universal rendering 9 Which architecture fits my project? PART 3 - HOW TO BE FAST, CONSISTENT, AND EFFECTIVE 10 Asset loading 11 Performance is key 12 User interface and design system 13 Teams and boundaries 14 Migration, local development, and testing

Vert.x in Action

Vert.x in Action
Author: Julien Ponge
Publisher: Manning Publications
Total Pages: 334
Release: 2020-12-01
Genre: Computers
ISBN: 1617295620

Download Vert.x in Action Book in PDF, Epub and Kindle

Vert.x in Action teaches you how to build production-quality reactive applications in Java. This book covers core Vert.x concepts, as well as the fundamentals of asynchronous and reactive programming. Learn to develop microservices by using Vert.x tools for database communications, persistent messaging, and test app resiliency. The patterns and techniques included here transfer to reactive technologies and frameworks beyond Vert.x. Summary As enterprise applications become larger and more distributed, new architectural approaches like reactive designs, microservices, and event streams are required knowledge. The Vert.x framework provides a mature, rock-solid toolkit for building reactive applications using Java, Kotlin, or Scala. Vert.x in Action teaches you to build responsive, resilient, and scalable JVM applications with Vert.x using well-established reactive design patterns. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Vert.x is a collection of libraries for the Java virtual machine that simplify event-based and asynchronous programming. Vert.x applications handle tedious tasks like asynchronous communication, concurrent work, message and data persistence, plus they’re easy to scale, modify, and maintain. Backed by the Eclipse Foundation and used by Red Hat and others, this toolkit supports code in a variety of languages. About the book Vert.x in Action teaches you how to build production-quality reactive applications in Java. This book covers core Vert.x concepts, as well as the fundamentals of asynchronous and reactive programming. Learn to develop microservices by using Vert.x tools for database communications, persistent messaging, and test app resiliency. The patterns and techniques included here transfer to reactive technologies and frameworks beyond Vert.x. What's inside Building reactive services Responding to external service failures Horizontal scaling Vert.x toolkit architecture and Vert.x testing Deploying with Docker and Kubernetes About the reader For intermediate Java web developers. About the author Julien Ponge is a principal software engineer at Red Hat, working on the Eclipse Vert.x project. Table of Contents PART 1 - FUNDAMENTALS OF ASYNCHRONOUS PROGRAMMING WITH VERT.X 1 Vert.x, asynchronous programming, and reactive systems 2 Verticles: The basic processing units of Vert.x 3 Event bus: The backbone of a Vert.x application 4 Asynchronous data and event streams 5 Beyond callbacks 6 Beyond the event bus PART 2 - DEVELOPING REACTIVE SERVICES WITHT VERT.X 7 Designing a reactive application 8 The web stack 9 Messaging and event streaming with Vert.x 10 Persistent state management with databases 11 End-to-end real-time reactive event processing 12 Toward responsiveness with load and chaos testing 13 Final notes: Container-native Vert.x

Reactive Programming with Angular and ngrx

Reactive Programming with Angular and ngrx
Author: Oren Farhi
Publisher: Apress
Total Pages: 160
Release: 2017-05-16
Genre: Computers
ISBN: 1484226208

Download Reactive Programming with Angular and ngrx Book in PDF, Epub and Kindle

Manage your Angular development using Reactive programming. Growing in popularity and now an essential part of any professional web developer's toolkit, Reactive programming can enrich your development and make your code more efficient. Featuring a core application to explore and build yourself, this book shows you how to utilize ngrx/store as a state management with Redux pattern, and how to utilize ngrx/effects to define a better and more robust application architecture. Through working code examples, you will understand every aspect of Reactive programming with Angular so that you'll be able to develop maintainable, readable code. Reactive Programming with Angular and ngrx is ideal for developers already familiar with JavaScript, Angular, or other languages, and who are looking for more insight into their Angular projects. Use this book to start mastering Reactive programming today. What You'll Learnsee how="" the="" boilerplate="" and="" webpack="" work p/pulliConstruct components efficientlybr/liliUtilize ngrx extensions and RxJSbr/liliOrganize state management with reducers, actions and side effectsbr/li/ulp Who This Book Is For Developers who are already familiar with JavaScript and Angular and want to move onto more advanced development.