Hands-On Reactive Programming with Python: Event-driven development unraveled with RxPY
暫譯: 實作反應式程式設計:使用 RxPY 解開事件驅動開發的秘密
Romain Picard
- 出版商: Packt Publishing
- 出版日期: 2018-10-27
- 售價: $2,010
- 貴賓價: 9.5 折 $1,910
- 語言: 英文
- 頁數: 420
- 裝訂: Paperback
- ISBN: 1789138728
- ISBN-13: 9781789138726
-
相關分類:
Python、程式語言
海外代購書籍(需單獨結帳)
商品描述
A comprehensive guide to help you understand the principles of Reactive and asynchronous programming and its benefits
Key Features
- Explore the advantages of Reactive programming
- Use concurrency and parallelism in RxPY to build powerful reactive applications
- Deploy and scale your reactive applications using Docker
Book Description
Reactive programming is central to many concurrent systems, but it's famous for its steep learning curve, which makes most developers feel like they're hitting a wall. With this book, you will get to grips with reactive programming by steadily exploring various concepts
This hands-on guide gets you started with Reactive Programming (RP) in Python. You will learn abouta the principles and benefits of using RP, which can be leveraged to build powerful concurrent applications. As you progress through the chapters, you will be introduced to the paradigm of Functional and Reactive Programming (FaRP), observables and observers, and concurrency and parallelism. The book will then take you through the implementation of an audio transcoding server and introduce you to a library that helps in the writing of FaRP code. You will understand how to use third-party services and dynamically reconfigure an application.
By the end of the book, you will also have learned how to deploy and scale your applications with Docker and Traefik and explore the significant potential behind the reactive streams concept, and you'll have got to grips with a comprehensive set of best practices.
What you will learn
- Structure Python code for better readability, testing, and performance
- Explore the world of event-based programming
- Grasp the use of the most common operators in Rx
- Understand reactive extensions beyond simple examples
- Master the art of writing reusable components
- Deploy an application on a cloud platform with Docker and Traefik
Who this book is for
If you are a Python developer who wants to learn Reactive programming to build powerful concurrent and asynchronous applications, this book is for you. Basic understanding of the Python language is all you need to understand the concepts covered in this book.
Table of Contents
- An introduction to Reactive Programming
- Asynchronous Programming in Python
- Functional Reactive Programming
- Exploring Observables and Observers
- Concurrency and Paralellism in RxPY
- Implementation of an Audio Transcoding Server
- Using third-party services
- Dynamic reconfiguration
- Other operators in RxPY
- Testing and Debugging
- Deploying and Scaling your Application
- Reactive Streams for Remote Communication
- A checklist on best practices
商品描述(中文翻譯)
全面指南,幫助您理解反應式和非同步程式設計的原則及其優勢
主要特點
- 探索反應式程式設計的優勢
- 在 RxPY 中使用併發和並行性來構建強大的反應式應用程式
- 使用 Docker 部署和擴展您的反應式應用程式
書籍描述
反應式程式設計是許多併發系統的核心,但因其陡峭的學習曲線而聞名,這使得大多數開發人員感到困惑。通過本書,您將逐步探索各種概念,掌握反應式程式設計。
這本實用指南將幫助您在 Python 中開始學習反應式程式設計 (RP)。您將了解使用 RP 的原則和優勢,這些優勢可以用來構建強大的併發應用程式。隨著您逐步進入各章節,您將接觸到函數式和反應式程式設計 (FaRP) 的範式、可觀察對象和觀察者,以及併發和並行性。本書將引導您實現一個音頻轉碼伺服器,並介紹一個幫助編寫 FaRP 代碼的庫。您將了解如何使用第三方服務並動態重新配置應用程式。
在本書結束時,您還將學會如何使用 Docker 和 Traefik 部署和擴展您的應用程式,並探索反應式流概念背後的重大潛力,並掌握一套全面的最佳實踐。
您將學到什麼
- 結構化 Python 代碼以提高可讀性、測試和性能
- 探索事件驅動程式設計的世界
- 掌握 Rx 中最常用的運算子
- 理解超越簡單範例的反應式擴展
- 掌握編寫可重用組件的技巧
- 使用 Docker 和 Traefik 在雲平台上部署應用程式
本書適合誰
如果您是一位希望學習反應式程式設計以構建強大的併發和非同步應用程式的 Python 開發人員,那麼這本書適合您。對 Python 語言的基本理解即可幫助您理解本書所涵蓋的概念。
目錄
- 反應式程式設計簡介
- Python 中的非同步程式設計
- 函數式反應式程式設計
- 探索可觀察對象和觀察者
- RxPY 中的併發和並行性
- 音頻轉碼伺服器的實現
- 使用第三方服務
- 動態重新配置
- RxPY 中的其他運算子
- 測試和除錯
- 部署和擴展您的應用程式
- 用於遠程通信的反應式流
- 最佳實踐檢查清單