- Table View
- List View
React in Depth
by Morten BarklundA guide to the advanced React skills used by the very best React developers.React in Depth teaches the React libraries, tools and techniques that are vital to build amazing apps. You&’ll put each skill you learn into practice with hands-on projects like a goal-focused task manager, expenses tracker, and custom UI library. In React in Depth you will learn how to: • Assess technologies in the React ecosystem • Implement advanced component patterns to improve React code • Optimize React performance for a smooth user experience • Use developer tooling for better code maintenance and debugging • Work with TypeScript for type safety • Use CSS in JavaScript for efficient styling • Manage data in React, including remote data and reactive caching • Unit test React components for quality assurance and bug prevention • Use popular React frameworks for building production-ready applications React in Depth focuses on the modern best practices of React development, with full and up-to-date coverage of the latest features and changes to the React ecosystem. This book highlights the advanced techniques that turn a React pro into a React wizard, and how you can future-proof your career by mastering new React technologies as they emerge. About the technology What does knowing React in depth mean? It means writing clean, modular code that you can test and refactor. It means applying design patterns and architectural principles to real-world problems. It means collaborating effectively with other developers and harnessing the power of React&’s rich ecosystem. That&’s exactly what this book delivers! About the book React in Depth teaches you the best practices of React development, with up-to-date coverage of the React ecosystem. In it, you&’ll learn how to put NextJS, Remix, TypeScript, and more in your React toolbox. You&’ll explore advanced topics like component patterns, optimization techniques, and developer tooling. Along the way, you&’ll collect pro tips for creating applications that can scale without sacrificing performance or stability. Each skill is proven with hands-on examples, from a weather app to a Wordle clone. What's inside • Optimize React performance • Use CSS in JavaScript • Manage data in React • Unit test React components About the reader For web developers familiar with the basics of React. About the author Morten Barklund works as a staff fullstack engineer at Corti, a leading AI healthtech startup. Table of Contents 1 Developer&’s guide to the React Ecosystem 2 Advanced component patterns 3 Optimizing React performance 4 Better code maintenance with developer tooling 5 TypeScript: Next-level JavaScript 6 Mastering TypeScript with React 7 CSS in JavaScript 8 Data management in React 9 Remote data and reactive caching 10 Unit-testing React 11 React website frameworks 12 Project: Build an expense tracker with Remix 13 Project: Create a React UI library 14 Project: Develop a word game in React
React.js Essentials
by Artemij FedosejevA fast-paced guide to design, build, and deploy scalable and maintainable web apps with React.js About This Book * Build maintainable and performant user interfaces for your web applications using React.js * Create reusable React.js components to save time and effort in maintaining your user interfaces * Learn how to build a ready-to-deploy React.js web application, following our step-by-step tutorial Who This Book Is For If you're a front-end developer with knowledge of jQuery and its libraries, along with frameworks, such as Angular.JS and Backbone.JS, or native JavaScript development, and you wish to use the fastest web user interface library there is, then this book is ideal for you. What You Will Learn * Install powerful React.js tools to make development much more efficient * Create React elements with properties and children * Get started with stateless and stateful React components * Use JSX to speed up your React.js development process * Add reactivity to your React components with lifecycle methods * Integrate your React components with other JavaScript libraries * Utilize the Flux application architecture with your React components * Test your React components with Jest test framework In Detail Building web applications with maintainable and performant user interfaces is a challenge that many have faced for more than a decade, but no one has risen to this challenge quite like React.js. Today React.js is used by Facebook, Instagram, Khan Academy, and Imperial College London, to name a few. Many new users recognize the benefits of React.js and adopt it in their own projects, forming a fast-growing community. The speed at which React.js has evolved promises a bright future for those who invest in learning it today. React.js Essentials will take you on a fast-paced journey through building your own maintainable React.js application. Begin by exploring how you can create single and multiple user interface elements. Create stateless and stateful components and make them reactive, learn to interact between your components and lifecycle methods and gauge how to effectively integrate your user interface components with other JavaScript libraries. Delve deep into the core elements of the Flux architecture and learn how to manage your application using stores. Finish by going that extra mile with the Jest test framework, running multiple tests on your application and find solutions to scale it further without complexity. Style and approach The book adopts a step-by-step, hands-on approach with ample codes to ensure you learn React.js at a fast pace.
React: Build 4 real-world apps with React Native
by Emilio Rodriguez MartinezHarness the power of React Native to build 4 real-world appsKey FeaturesBuild quirky and fun projects from scratch and become efficient with React NativeLearn to build professional Android and iOS applications using your existing JavaScript knowledgeUse isomorphic principles to build mobile apps that offer a native user experienceEmbedded with assessments that will help you revise the concepts you have learned in this courseBook DescriptionReact Native helps web and mobile developers to build cross-platform apps that perform at the same level as any other natively developed app. The range of apps that can be built using this library is huge. From e-commerce to games, React Native is a good fit for any mobile project due to its flexibility and extendable nature. This project-based book consists of four standalone projects. Each project will help you gain a sound understanding of the framework and build mobile apps with native user experience. Starting with a simple standalone car booking app, you will progressively move on to building advanced apps by adding connectivity with external APIs, using native features, such as the camera or microphone, in the mobile device, integrating with state management libraries such as Redux or MobX, or leveraging React Native’s performance by building a full-featured game.This book is ideal for developers who want to build amazing cross-platform apps with React Native.This book is embedded with useful assessments that will help you revise the concepts you have learned in this book.What you will learnStructure React Native projects to ease maintenance and extensibilityOptimize a project to speed up developmentUse external modules to speed up the development and maintenance of your projectsExplore the different UI and code patterns to be used for iOS and AndroidGet to know the best practices when building apps in React NativeWho this book is forThis book is for developers who want to build amazing cross-platform apps with React Native.
React: Building Modern Web Applications
by Jonathan Hayward Ryan Vice Artemij Fedosejev Narayan Prusty Adam HortonMaster the art of building dynamic, modern web applications with React About This Book • Learn the hot new frontend web framework from Facebook – ReactJS, an easy way of developing the V in MVC and a better approach to software engineering in JavaScript • A fast-paced guide to designing and building scalable and maintainable web apps with React.js • Learn all the new ES6 features and be among the most prominent JavaScript developers who can write efficient JS programs as per the latest standards • Master the art of building modern web applications using React • Learn to build modern native iOS and Android applications using JavaScript and the incredible power of React Who This Book Is For This course is for web developers that want to unlock high performance dynamism in the applications that they create. If you want a comprehensive journey into one of the most important JavaScript frameworks around today, dive into this course. What You Will Learn • Take control of the front end with reactive JavaScript programming • Discover what ReactJS offers your development - before mastering it • Create React elements with properties and children • Use JSX to speed up your React development process • Test your React components with the Jest test framework • Learn the latest syntax of ES6 • Execute ES6 in a non-supported ES6 environment • Learn the principles of object-oriented programming • Create a complete single-page application • Use an application design plan to write smarter, more meaningful code • Learn how to use animations to give extra style to your application • Get to grips with the React Native environment • Write your own custom native UI components • Integrate native modules in Objective-C and Java that interact with JavaScript In Detail ReactJS has helped to transform the web as we know it. Designed by Facebook to help developers build rapid, responsive UI that can deal with data-intensive usage, it's an essential component in any web developer's skillset. This ReactJS course, in five connected modules, provides you with a fast, engaging and practical route into ReactJS—so you can build powerful, elegant, and modern web applications. Beginning with the Reactive Programming with JavaScript module, you will learn how to take advantage of a reactive and functional programming paradigm to rethink how you approach your JavaScript code. It's built to help you understand the concepts, relevant and applicable for any frontend developer. You'll then dive a little deeper into ReactJS. The second module gives you a rapid look through the fundamentals of ReactJS, showing you how to build a basic application and demonstrating how to implement the Flux architecture. In the third module you will get to grips with ES6—this will make you a more fluent JavaScript developer, giving you control over ReactJS. You can put your old JavaScript hacks aside and instead explore how to create ES6 custom iterators. In the final two modules you'll learn how to fully master ReactJS, exploring its wider ecosystem of tools that have helped to make it one of the most important tools in web development today. Ending with insights and guidance on React Native, the tool built for today's demand for native, intuitive user experiences and interfaces, with this course you can be confident in building dynamic and modern apps with React. Style and approach Consisting of five separate modules, journey from the fundamentals of reactive programming to the exciting possibilities of React Native. Each module builds on each other, helping you to incrementally develop your skills and knowledge.
React: Building Web Applications
by Stoyan StefanovHit the ground running with React, the open source technology from Facebook for building rich web applications fast. Updated for the latest React release, the second edition of this hands-on guide shows you how to build React components and organize them into maintainable large-scale apps. If you're familiar with JavaScript syntax, you're ready to get started.Through the course of this book, author Stoyan Stefanov helps web developers and programmers build a complete single-page application. You'll quickly learn why some developers consider React the key to the web app development puzzle.Set up React and write your first "Hello, World" web appCreate and use custom React components alongside generic DOM componentsBuild a data table component that lets you edit, sort, search, and export its contentsMaster the JSX syntaxUse built-in Hooks and create your own custom onesManage the app's data flow with reducers and contextsUse Create React App to take care of the build process and focus on React itselfBuild a complete custom app that lets you store data on the client
React: Tools & Resources
by Swizec Teller Jack Franklin Michael Wanyoike Manjunath M Ahmed BouchefraThis book is a collection of in-depth guides to some some of the tools and resources most used with React, such as Jest and React Router, as well as a discussion about how React works well with D3, and a look at Preact, a lightweight React alternative. These tutorials were all selected from SitePoint's React Hub. It contains: Getting Started with Redux by Michael WanyoikeReact Router v4: The Complete Guide by Manjunath MHow to Test React Components Using Jest by Jack FranklinBuilding Animated Components, or How React Makes D3 Better by Swizec TellerUsing Preact as a React Alternative by Ahmed Bouchefra
ReactJS Blueprints
by Sven A. RobbestadCreate powerful applications with ReactJS, the most popular platform for web developers today About This Book * Create web apps with the most popular JavaScript library in the world * Learn how to speed up your development process and save valuable time * Work though step-by-step tutorials that provide easy-to-understand solutions to real-world problems Who This Book Is For This book is for those who want to develop applications with ReactJS. With its wide variety of topics, it caters both to the inexperienced developer as well as to the advanced, and it doesn't require any prior experience with ReactJS. What You Will Learn * Create a development environment that speeds up your development process * Find out about responsive web development and create apps that can be used on any device * Effortlessly connect to public and private APIs * Create efficient components that are easily testable and small enough to completely understand * Understand what data flow means in ReactJS and why you never need to worry about where data changes originate * Create universal apps that run on the browser as well as on the server * Work with modern front-end tooling and level up your skills * Train yourself to think in terms of ReactJS In Detail The JavaScript revolution has landed! ReactJS is one of those rare technologies that comes out of nowhere and turns established practices on their head. It provides a different way of thinking about how you should develop your apps, and has already gained a massive adoption among web developers. Join the revolution, build web apps faster, and have more fun developing! Packed with real-world code, this book starts by covering the idea behind ReactJS and the key concepts you must familiarize yourself with. You will learn how to bootstrap your ReactJS projects and you'll also be provided with a handy scaffolding that you can use and reuse over and over. We then go on to cover a wide variety of apps, and will help you to structure and build your own components. Next, you will build a web shop, create a fully responsive and routable app, and also develop a real-time search app. Further on, you will be taught to work with public APIs to create a map-based application. You will also be taken through some advanced concepts such as Redux that are making a huge splash currently in the world of ReactJS. You'll learn how to efficiently seal off your app for guest access, interact with hardware APIs, and create a photo app. You will then master the art of making your apps universal, and find out how to deploy them to the cloud. Finally, we wrap up the book as you are shown how to make a game. What better way to kick off your ReactJS development journey? Style and approach This is an easy-to-follow guide full of real-world ReactJS applications. Each chapter is self-contained, and every code example is explained in detail.
ReactJS by Example - Building Modern Web Applications with React
by Vipul A M Prathamesh SonpatkiGet up and running with ReactJS by developing five cutting-edge and responsive projects About This Book * Create pragmatic real-world applications while learning React and its modern developer tools * Build sustainable user interfaces by transforming data into components of UI * Learn how to generate reusable ReactJS components effectively Who This Book Is For If you are a web developer and wish to learn ReactJS from scratch, then this book is tailor-made for you. Good understanding of Javascript, HTML, and CSS is expected. What You Will Learn * Create, reuse, and compose React components using JSX * Share data between various React components and techniques for data flow within a React app * Handle user interactions with the help of event handlers and dynamic components * Set up and use various next generation ES2015/ES6 features with React * Understand the performance and immutability features of React using React add-ons * Learn the techniques of Animation in React * Use data stores to store model-related data and information * Create a flux-based React application by using Reflux library In Detail ReactJS is an open-source JavaScript library that brings the power of reactive programming to web applications and sites. It aims to address the challenges encountered in developing single-page applications, and is intended to help developers build large, easily scalable and changing web apps. Starting with a project on Open Library API, you will be introduced to React and JSX before moving on to learning about the life cycle of a React component. In the second project, building a multi-step wizard form, you will learn about composite dynamic components and perform DOM actions. You will also learn about building a fast search engine by exploring server-side rendering in the third project on a search engine application. Next, you will build a simple frontpage for an e-commerce app in the fourth project by using data models and React add-ons. In the final project you will develop a complete social media tracker by using the flux way of defining React apps and know about the best practices and use cases with the help of ES6 and redux. By the end of this book, you will not only have a good understanding of ReactJS but will also have built your very own responsive frontend applications from scratch. Style and approach An easy-to-follow program to learn ReactJS with the help of real world projects. Each topic is explained within the context of a project and provides plenty of tips and tricks for using ReactJS.
Reactionary Democracy: How Racism and the Populist Far Right Became Mainstream
by Aaron Winter Aurelien MondonDemocracy must be anti-racist. Any less is cowardly. Any less is reactionary.Democracy is not necessarily progressive, and will only be if we make it so. What Mondon and Winter call 'reactionary democracy' is the use of the concept of democracy and its associated understanding of the power to the people (demos cratos) for reactionary ends. The resurgence of racism, populism and the far right is not the result of popular demands as we are often told. It is rather the logical conclusion of the more or less conscious manipulation by the elite of the concept of 'the people' and the working class to push reactionary ideas. These narratives place racism as a popular demand, rather than as something encouraged and perpetuated by elites, thus exonerating those with the means to influence and control public discourse through the media in particular. This in turn has legitimised the far right, strengthened its hand and compounded inequalities.These actions diverts us away from real concerns and radical alternatives to the current system. Through a careful and thorough deconstruction of the hegemonic discourse currently preventing us from thinking beyond the liberal vs populist dichotomy, this book develops a better understanding of the systemic forces underpinning our current model and its exploitative and discriminatory basis. The book shows us that the far right would not have been able to achieve such success, either electorally or ideologically, were it not for the help of elite actors (the media, politicians and academics). While the far right is a real threat and should not be left off the hook, the authors argue that we need to shift the responsibility of the situation towards those who too often claim to be objective, and even powerless, bystanders despite their powerful standpoint and clear capacity to influence the agenda, public discourse, and narratives, particularly when they platform and legitimise racist and far right ideas and actors.
Reactive Android Programming
by Tadas SubonisMake the most of asynchronous android programming About This Book • Install and set up RxJava for Android development • Implement the Reactive paradigm for Android programming using RxJava • Create cutting edge real world Android apps with Reactive programming. Who This Book Is For Are you an android developer trying to figure out how to use reactive paradigm for your programming needs? If yes then this is the book for you. No previous knowledge of RxJava is required. What You Will Learn • Set up an environment for asynchronous that is reactive Android programming • Write custom observables and higher level abstractions • Orchestrating multiple calls using Reactive programming principles • Fetch remote financial data using RxJava • Integrate and process Twitter streams gracefully • Utilize Reactive programming to develop interactive and responsive Android apps • Create your own application to follow financial stock updates in real-time based on selected companies' symbols • Integrate updates from the Twitter for those companies. In Detail Writing code on Android is hard. Writing a high quality code that involves concurrent and parallel tasks is even harder. Ensuring that this code will run without unforeseen race conditions is an the order of magnitude harder. RxJava is the tool that can help write code for such tasks. In this book a novice developer will be introduced to a wide variety of tools that RxJava provides to enable them to produce robust and high-quality code for their asynchronous tasks by building a relatively simple(and high quality) application using advanced RxJava techniques to produce a high quality product. Part 1 of the book will lead the developer through RxJava's initial setup in Android environment. In Part 2, the reader will learn RxJava 2.0 step-by-step by starting off with stock data processing and display.The developer will learn to choose appropriate Schedulers and to use Retrofit library for remote requests.In Part 3, the reader will also learn advanced topics such as adding integration to Twitter to process its streaming data by combining it with stock data. Style and approach This book is a step by step practical guide which will essentially teach you to set up, implement, and debug Reactive Android Code with ease.
Reactive Application Development
by Duncan K. DeVore Sean A. WalshSummaryReactive Application Development is a hands-on guide that teaches you how to build reliable enterprise applications using reactive design patterns.Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.Foreword by Jonas Bonér, Creator of Akka About the TechnologyMission-critical applications have to respond instantly to changes in load, recover gracefully from failure, and satisfy exacting requirements for performance, cost, and reliability. That's no small task! Reactive designs make it easier to meet these demands through modular, message-driven architecture, innovative tooling, and cloud-based infrastructure.About the BookReactive Application Development teaches you how to build reliable enterprise applications using reactive design patterns. This hands-on guide begins by exposing you to the reactive mental model, along with a survey of core technologies like the Akka actors framework. Then, you'll build a proof-of-concept system in Scala, and learn to use patterns like CQRS and Event Sourcing. You'll master the principles of reactive design as you implement elasticity and resilience, integrate with traditional architectures, and learn powerful testing techniques.What's InsideDesigning elastic domain modelsBuilding fault-tolerant systemsEfficiently handling large data volumesExamples can be built in Scala or JavaAbout the Reader Written for Java or Scala programmers familiar with distributed application designs.About the AuthorDuncan DeVore, Sean Walsh, and Brian Hanafee are seasoned architects with experience building and deploying reactive systems in production. Table of ContentsPART 1 - FUNDAMENTALS What is a reactive application? Getting started with Akka Understanding Akka PART 2 - BUILDING A REACTIVE APPLICATION Mapping from domain to toolkit Domain-driven design Using remote actors Reactive streaming CQRS and Event Sourcing A reactive interfaceProduction readiness
Reactive Applications with Akka.NET
by Anthony BrownSummaryReactive Applications with Akka.NET is a hands-on book that builds on fundamental concepts to teach you how to create reliable and resilient applications in the reactive style.Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.About the TechnologyEnterprise-scale software needs to be unfailingly reliable, consistently performant under unpredictable loads, and easy to scale and maintain. Reactive applications guarantee these qualities through clear isolation of system components and message-based communication. Akka.NET ports the battle-tested Akka Actors toolkit from the JVM, radically simplifying the concurrency and asynchronous message handling at the heart of a reactive system.About the BookReactive Applications with Akka.NET teaches you to write high-performance, concurrent systems without explicitly managing threads and locking. You'll experience the power of Akka.NET and the Actors concurrency model by exploring a real-world case study in each chapter. As you go further, you'll start to grok the power of asynchronous communication in a distributed environment and take on practical tasks like deploying, debugging, and establishing performance guarantees.What's InsideReactive application designDealing with application-level failuresIntegrating Akka.NET with other frameworksApplying reactive programming to the real worldAbout the ReaderReaders should be comfortable with C# or F# and the .NET framework.About the AuthorAnthony Brown is a .NET consultant specializing in F# and reactive systems.Table of ContentsPART 1 THE ROAD TO REACTIVEWhy reactive?Reactive application designPART 2 DIGGING INYour first Akka.NET applicationState, behavior, and actorsConfiguration, dependency injection, and loggingFailure handlingScaling in reactive systemsComposing actor systemsPART 3 REAL-LIFE USAGETesting Akka.NET actorsIntegrating Akka.NETStoring actor state with Akka.PersistenceBuilding clustered applications with Akka.ClusterAkka.NET and reactive programming in production
Reactive Design Patterns
by Jamie AllenSummaryReactive Design Patterns is a clearly written guide for building message-driven distributed systems that are resilient, responsive, and elastic. In this book you'll find patterns for messaging, flow control, resource management, and concurrency, along with practical issues like test-friendly designs. All patterns include concrete examples using Scala and Akka. Foreword by Jonas Bonér. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.About the TechnologyModern web applications serve potentially vast numbers of users - and they need to keep working as servers fail and new ones come online, users overwhelm limited resources, and information is distributed globally. A Reactive application adjusts to partial failures and varying loads, remaining responsive in an ever-changing distributed environment. The secret is message-driven architecture - and design patterns to organize it.About the BookReactive Design Patterns presents the principles, patterns, and best practices of Reactive application design. You'll learn how to keep one slow component from bogging down others with the Circuit Breaker pattern, how to shepherd a many-staged transaction to completion with the Saga pattern, how to divide datasets by Sharding, and more. You'll even see how to keep your source code readable and the system testable despite many potential interactions and points of failure. What's InsideThe definitive guide to the Reactive ManifestoPatterns for flow control, delimited consistency, fault tolerance, and much moreHard-won lessons about what doesn't workArchitectures that scale under tremendous loadAbout the ReaderMost examples use Scala, Java, and Akka. Readers should be familiar with distributed systems.About the AuthorDr. Roland Kuhn led the Akka team at Lightbend and coauthored the Reactive Manifesto. Brian Hanafee and Jamie Allen are experienced distributed systems architects. Table of ContentsPART 1 - INTRODUCTIONWhy Reactive? A walk-through of the Reactive Manifesto Tools of the trade PART 2 - THE PHILOSOPHY IN A NUTSHELLMessage passing Location transparency Divide and conquer Principled failure handling Delimited consistency Nondeterminism by need Message flow PART 3 - PATTERNS Testing reactive applications Fault tolerance and recovery patterns Replication patterns Resource-management patterns Message flow patterns Flow control patterns State management and persistence patterns
Reactive Java Programming
by Andrea MaglieLearn reactive programming using Java and its functional aspects, sometimes called RxJava. This book shows you how to solve "callback hell" with RxJava and shows you how to write thread-safe code without hanging onto state variables which comes in handy for cloud computing software-as-a-service issues, especially when dealing with big data processes through streaming. Reactive Java Programming includes unique coverage of reactive Android programming, growing more and more popular in mobile development with the Cloud. After reading this guide to reactive programming, you'll be able to apply it to your own big data cloud applications that use Java. What You'll LearnUse and map observables Filter and combine eventsEmploy subjects, schedulers, and backpressure Handle reactive patternsTest your RxJava codeWrite your own operatorsCarry out reactive Android programmingWho This Book Is ForExperienced Java programmers new to reactive programming and those who may have some experience with reactive programming new to Java.
Reactive Patterns with RxJS for Angular: A practical guide to managing your Angular application's data reactively and efficiently using RxJS 7
by Lamis ChebbiDiscover how you can leverage the reactive paradigm with RxJS in your Angular applications using some common patterns and techniques that can be implemented in real-world use casesKey FeaturesLearn how to write clean, maintainable, performant, and optimized Angular web applications using reactive patternsExplore various RxJS operators and techniques in detail to improve the testing and performance of your codeSwitch from an imperative mindset to reactive by comparing bothBook DescriptionRxJS is a fast, reliable, and compact library for handling asynchronous and event-based programs. It is a first-class citizen in Angular and enables web developers to enhance application performance, code quality, and user experience, so using reactive patterns in your Angular web development projects can improve user interaction on your apps, which will significantly improve the ROI of your applications.This book is a step-by-step guide to learning everything about RxJS and reactivity. You'll begin by understanding the importance of the reactive paradigm and the new features of RxJS 7. Next, you'll discover various reactive patterns, based on real-world use cases, for managing your application's data efficiently and implementing common features using the fewest lines of code.As you build a complete application progressively throughout the book, you'll learn how to handle your app data reactively and explore different patterns that enhance the user experience and code quality, while also improving the maintainability of Angular apps and the developer's productivity. Finally, you'll test your asynchronous streams and enhance the performance and quality of your applications by following best practices.By the end of this RxJS Angular book, you'll be able to develop Angular applications by implementing reactive patterns.What you will learnUnderstand how to use the marble diagram and read it for designing reactive applicationsWork with the latest features of RxJS 7Build a complete Angular app reactively, from requirement gathering to deploying itBecome well-versed with the concepts of streams, including transforming, combining, and composing themExplore the different testing strategies for RxJS apps, their advantages, and drawbacksUnderstand memory leak problems in web apps and techniques to avoid themDiscover multicasting in RxJS and how it can resolve complex problemsWho this book is forIf you're an Angular developer who wants to leverage RxJS for building reactive web applications, this is the book for you. Beginner-level experience with Angular and TypeScript and knowledge of functional programming concepts is assumed.
Reactive Programming With Java 9
by Tejaswini Mandar JogThis book will teach you how to build robust asynchronous and event-driven applications with ease. About This Book • Learn about Java 9's Flow API, Reactive programming along with Kafka and Mockito, and how these aspects are utilized by RxJava • Build fast and concurrent applications with ease, without the complexity of Java's concurrent API and shared states, with the help of Spring • Explore a wide variety of code examples to easily get used to all the features and tools provided by RxJava and Akka Who This Book Is For This book targets existing Java developers who want to understand Reactive programming and build responsive and resilient asynchronous applications using Reactive stream implementations. What You Will Learn • Understand the Reactive Manifesto • Grasp the Reactive Streams types introduced in Java 9 in the form of the Flow API • Use RxJava, a Reactive Streams implementation, to build asynchronous applications • Build responsiveness and resilience into applications using RxJava operators • Demonstrate the usage of Hystrix, a latency and fault tolerance library from Netflix that uses RxJava • Implement Reactive web applications using Spring Framework 5 and RxJava In Detail Reactive programming is an asynchronous programming model that helps you tackle the essential complexity that comes with writing such applications. Using Reactive programming to start building applications is not immediately intuitive to a developer who has been writing programs in the imperative paradigm. To tackle the essential complexity, Reactive programming uses declarative and functional paradigms to build programs. This book sets out to make the paradigm shift easy. This book begins by explaining what Reactive programming is, the Reactive manifesto, and the Reactive Streams specifi cation. It uses Java 9 to introduce the declarative and functional paradigm, which is necessary to write programs in the Reactive style. It explains Java 9's Flow API, an adoption of the Reactive Streams specifi cation. From this point on, it focuses on RxJava 2.0, covering topics such as creating, transforming,fi ltering, combining, and testing Observables. It discusses how to use Java's popular framework, Spring, to build event-driven, Reactive applications. You will also learn how to implement resiliency patterns using Hystrix. By the end, you will be fully equipped with the tools and techniques needed to implement robust, event-driven, Reactive applications. Style and approach This book is a tutorial about Reactive programming in Java using APIs as well as the RxJava library. Packed with a lot of well-described examples, it explains Reactive programming concepts in plain and readable language.
Reactive Programming for .NET Developers
by Antonio Esposito Michael CiceriGet up and running with reactive programming paradigms to build fast, concurrent, and powerful applications About This Book * Get to grips with the core design principles of reactive programming * Learn about Reactive Extensions for .NET through real-world examples * Improve your problem-solving ability by applying functional programming Who This Book Is For If you are a .NET developer who wants to implement all the reactive programming paradigm techniques to create better and more efficient code, then this is the book for you. No prior knowledge of reactive programming is expected. What You Will Learn * Create, manipulate, and aggregate sequences in a functional-way * Query observable data streams using standard LINQ query operators * Program reactive observers and observable collections with C# * Write concurrent programs with ease, scheduling actions on various workers * Debug, analyze, and instrument Rx functions * Integrate Rx with CLR events and custom scheduling * Learn Functional Reactive Programming with F# In Detail Reactive programming is an innovative programming paradigm focused on time-based problem solving. It makes your programs better-performing, easier to scale, and more reliable. Want to create fast-running applications to handle complex logics and huge datasets for financial and big-data challenges? Then you have picked up the right book! Starting with the principles of reactive programming and unveiling the power of the pull-programming world, this book is your one-stop solution to get a deep practical understanding of reactive programming techniques. You will gradually learn all about reactive extensions, programming, testing, and debugging observable sequence, and integrating events from CLR data-at-rest or events. Finally, you will dive into advanced techniques such as manipulating time in data-flow, customizing operators and providers, and exploring functional reactive programming. By the end of the book, you'll know how to apply reactive programming to solve complex problems and build efficient programs with reactive user interfaces. Style and approach This is a concise reference manual for reactive programming with Rx for C# and F# using real-world, practical examples.
Reactive Programming in Kotlin
by Rivu ChakrabortyLearn how to implement Reactive Programming paradigms with Kotlin, and apply them to web programming with Spring Framework 5.0 and in Android Application Development. About This Book • Learn how to solve blocking user experience with Reactive Programming and get deep insights into RxKotlin • Integrate Reactive Kotlin with Spring and build fantastic Android Apps with RxKotlin and RxAndroid • Build reactive architectures that reduce complexity throughout the development process and make your apps(web and Android) scalable Who This Book Is For This book is for Kotlin developers who would like to build fault-tolerant, scalable, and distributed systems. A basic knowledge of Kotlin is required, but no prior knowledge of reactive programming. What You Will Learn • Learn about reactive programming paradigms and how reactive programming can improve your existing projects • Gain in-depth knowledge in RxKotlin 2.0 and the ReactiveX Framework • Use RxKotlin with Android • Create your own custom operators in RxKotlin • Use Spring Framework 5.0 with Kotlin • Use the reactor-kotlin extension • Build Rest APIs with Spring,Hibernate, and RxKotlin • Use testSubscriber to test RxKotlin applications • Use backpressure management and Flowables In Detail In today's app-driven era, when programs are asynchronous, and responsiveness is so vital, reactive programming can help you write code that's more reliable, easier to scale, and better-performing. Reactive programming is revolutionary. With this practical book, Kotlin developers will first learn how to view problems in the reactive way, and then build programs that leverage the best features of this exciting new programming paradigm. You will begin with the general concepts of Reactive programming and then gradually move on to working with asynchronous data streams. You will dive into advanced techniques such as manipulating time in data-flow, customizing operators and provider and how to Use the concurrency model to control asynchronicity of code and process event handlers effectively. You will then be introduced to functional reactive programming and will learn to apply FRP in practical use cases in Kotlin. This book will also take you one step forward by introducing you to spring 5 and spring boot 2 using Kotlin. By the end of the book, you will be able to build real-world applications with reactive user interfaces as well as you'll learn to implement reactive programming paradigms in Android. Style and Approach Loaded with numerous code examples and real-life projects, this book helps you delve into Reactive Programming with Kotlin, and apply it to real-world Spring-web and Android projects, thus making all your apps reactive.
Reactive Programming in Kotlin
by Rivu ChakrabortyLearn how to implement Reactive Programming paradigms with Kotlin, and apply them to web programming with Spring Framework 5.0 and in Android Application Development. About This Book Learn how to solve blocking user experience with Reactive Programming and get deep insights into RxKotlin Integrate Reactive Kotlin with Spring and build fantastic Android Apps with RxKotlin and RxAndroid Build reactive architectures that reduce complexity throughout the development process and make your apps(web and Android) scalable Who This Book Is For This book is for Kotlin developers who would like to build fault-tolerant, scalable, and distributed systems. A basic knowledge of Kotlin is required, but no prior knowledge of reactive programming. What You Will Learn Learn about reactive programming paradigms and how reactive programming can improve your existing projects Gain in-depth knowledge in RxKotlin 2.0 and the ReactiveX Framework Use RxKotlin with Android Create your own custom operators in RxKotlin Use Spring Framework 5.0 with Kotlin Use the reactor-kotlin extension Build Rest APIs with Spring,Hibernate, and RxKotlin Use testSubscriber to test RxKotlin applications Use backpressure management and Flowables In Detail In today's app-driven era, when programs are asynchronous, and responsiveness is so vital, reactive programming can help you write code that's more reliable, easier to scale, and better-performing. Reactive programming is revolutionary. With this practical book, Kotlin developers will first learn how to view problems in the reactive way, and then build programs that leverage the best features of this exciting new programming paradigm. You will begin with the general concepts of Reactive programming and then gradually move on to working with asynchronous data streams. You will dive into advanced techniques such as manipulating time in data-flow, customizing operators and provider and how to Use the concurrency model to control asynchronicity of code and process event handlers effectively. You will then be introduced to functional reactive programming and will learn to apply FRP in practical use cases in Kotlin. This book will also take you one step forward by introducing you to spring 5 and spring boot 2 using Kotlin. By the end of the book, you will be able to build real-world applications with reactive user interfaces as well as you'll learn to implement reactive programming paradigms in Android. Style and Approach Loaded with numerous code examples and real-life projects, this book helps you delve into Reactive Programming with Kotlin, and apply it to real-world Spring-web and Android projects, thus making all your apps reactive.
Reactive Programming with JavaScript
by Jonathan HaywardLearn the hot new front-end web framework from Facebook: ReactJS, an easy way of developing the V in MVC and a better approach to software engineering in JavaScript About This Book * Learn to develop webapps for Facebook's front-end development using ReactJS * Use functional reactive programming with ReactJS * Easyto understand, comprehensive with in-depth coverage of practical examples Who This Book Is For If you are proficient with JavaScript and want to know about functional programming, reactive programming, functional reactive programming, and the Facebook approach to functional reactive programming then this book is for you. This book is also for web/front-end developers who would like webapps to be developed faster and more easily using the ReactJS framework. Basic knowledge of JavaScript is expected. What You Will Learn * Learn functional reactive programming with JavaScript for non-mathematicians * Experience Facebook's primary front-end framework, ReactJS * Using the tools Facebook uses to build a better site in less time * Create and implement Node.js * Delve into the development of webapps using ReactJS * Implementation of FRP ReactJS with live examples In Detail Reactive programming is carried out using the building blocks of functional programming. JavaScript libraries such as ReactJS are used for front-end web development that is both competent and powerful. ReactJS is intensively being used to develop webapps for Facebook. This title is among the first of those addressing how everyday programmers can take advantage of (functional) reactive programming without having an extremely heavy mathematical background. It starts with the basics a front-end developer can easily connect with, while also covering the basics of functional programming. Then it goes on to explain non-functional reactive programming with the help of a live example. After that it gives a theoretical overview of reactive programming supported by functional programming. Tools to make functional reactive programming easier like Bacon.js, a library like jQuery, are also covered. Finally, it finishes with building one small and one larger front-end project. Style and approach A rounded and multifaceted approach covers reactive JavaScript with Facebook's ReactJS. The author's lively approach makes the book even more engaging. Also, with easy-to-understand examples, readers will learn how to use functional reactive programming with JavaScript.
Reactive Programming with Node.js
by Fernando DoglioLearn how to institute Reactive Programming (RP) for your back-end development with Node. js. Up to now, RP has most often been used in front-end development, but with its cutting-edge approach you can also transform your back-end programming. Reactive Programming with Node. js will show you the paradigms of RP, why you should use it, and the variations available to you. You will learn how to use the main libraries necessary to provide an enhanced development experience in Node. js, including RxJS, Bacon. js, Kefir. js, and Highland. js. You will also create a custom library that provides a variety of key features, and learn how to scale up a system developed using RP in Node. js. Ideal for back-end developers with knowledge of Node. js or JavaScript, this book enables you to get up and running with RP in Node. js, and revolutionize your back-end development. What You'll Learn: Review the variations of Reactive programming Use the main libraries that provide this type of development experience in Node. js Create a custom library Scale up a system developed using RP in Node. js Who This Book Is For: Any back-end developers who understand Node. js or are advanced enough to pick up the basics. Ideal for developers who have an interest in learning about this different programming paradigm that's being used more and more every day.
Reactive Programming with RxJS 5: Untangle Your Asynchronous JavaScript Code
by Sergi MansillaReactive programming is revolutionary. It makes asynchronous programming clean, intuitive, and robust. Use RxJS 5 to write complex programs in a simple way, and master the Observable: a powerful data type that substitutes callbacks and promises. Think about your programs as streams of data that change and adapt to produce what you want. Manage real-world concurrency and write complex flows of events in your applications with ease. Take advantage of Schedulers to make asynchronous testing easier. The code in this new edition is completely updated for RxJS 5 and ES6. Create concurrent applications with ease using RxJS 5, a powerful event composition library. Real-world JavaScript applications require you to master asynchronous programming, and chances are that you'll spend more time coordinating asynchronous events than writing actual functionality. This book introduces concepts and tools that will greatly simplify the process of writing asynchronous programs. Find out about Observables, a unifying data type that simplifies concurrent code and eases the pain of callbacks. Learn how Schedulers change the concept of time itself, making asynchronous testing sane again. Find real-world examples for the browser and Node.js along the way: how about a real-time earthquake visualization in 20 lines of code, or a frantic shoot-'em-up space videogame? You'll also use Cycle.js - a modern, reactive, web framework - to make a new breed of web applications. By the end of the book, you'll know how to think in a reactive way, and to use RxJS 5 to build complex programs and create amazing reactive user interfaces. You'll also understand how to integrate it with your existing projects and use it with the frameworks you already know. All the code in this new edition has been thoroughly revised and updated for RxJS 5, ES6, and Cycle.js Unified. What You Need: NodeJS 6.x and a modern web browser
Reactive Programming with RxJava: Creating Asynchronous, Event-Based Applications
by Tomasz Nurkiewicz Ben ChristensenIn today’s app-driven era, when programs are asynchronous and responsiveness is so vital, reactive programming can help you write code that’s more reliable, easier to scale, and better-performing. With this practical book, Java developers will first learn how to view problems in the reactive way, and then build programs that leverage the best features of this exciting new programming paradigm.Authors Tomasz Nurkiewicz and Ben Christensen include concrete examples that use the RxJava library to solve real-world performance issues on Android devices as well as the server. You’ll learn how RxJava leverages parallelism and concurrency to help you solve today’s problems. This book also provides a preview of the upcoming 2.0 release.Write programs that react to multiple asynchronous sources of input without descending into "callback hell"Get to that aha! moment when you understand how to solve problems in the reactive wayCope with Observables that produce data too quickly to be consumedExplore strategies to debug and to test programs written in the reactive styleEfficiently exploit parallelism and concurrency in your programsLearn about the transition to RxJava version 2
Reactive Programming with Scala
by Prasanna Kumar Sathyanarayanan Suraj AtreyaIf you are a developer who is passionate about building fault-tolerant, scalable distributed applications using Scala and Akka, then this book will give you a jump start. You should be familiar with Scala, but no prior knowledge of Akka and reactive programming is required.
Reactive Programming with Swift
by Cecil CostaLeverage the power of the Functional Reactive Programming paradigm with Swift to develop robust iOS applications About This Book * Build highly responsive applications with this practical introduction to Reactive programming * This book uses ReactiveCocoa, the most popular solution for Reactive Programming on iOS to install, debug, and develop a framework with Swift * Switch from the traditional programming style to the reactive paradigm to code your first reactive applications with ease Who This Book Is For Reactive Programming with Swift is for Swift developers who want to start making more powerful and efficient applications. You need a basic understanding of Swift to follow along. This book takes a first-principles approach to what Reactive Programming is and how you can start implementing it in your next iOS applications. What You Will Learn * Switch your programming concepts from imperative to Functional reactive programming * Improve your app's maintenance by developing with a different paradigm * Create unit tests and automation tests using the ReactiveCocoa framework * Create clear code that is very easy to read * Get accustomed to migrating mobile apps to the Reactive way of programming * Perform asynchronous calls and join them later In Detail Reactive programming helps you write applications that are more powerful and efficient. You can write more software, help more people, and create applications that scale. Reactive programming is a growing paradigm that we will help you set to work in Swift. Reactive Programming with Swift guides you through migrating from the traditional way of developing to the new ReactiveCocoa framework, which uses Swift as its main programming language. You will learn how to develop with this framework, debug code, create unit tests, use additional frameworks, and convert a traditional framework into a ReactiveCocoa one. Starting with a crash course on the fundamental concepts of Reactive programming, we'll set you up so you're ready to create reactive applications. We'll then move on to topics such as Graphical events, Streaming, and Core data, which will help you dive deeper with advanced programming. The concept of switching your programming concepts from imperative to functional reactive programming will also be covered. By the end of this book, you will be able to successfully create highly functional apps using Swift. Style and approach This book is a fast-paced, practical guide compiled with ample images and screenshots that explain how to create apps and demonstrate their logic.