Reactive programming is a paradigm oriented around data flows and change propagation. RxJS is a library for reactive programming that provides Observables to compose asynchronous operations through operators like map, filter, combineLatest. It allows building responsive applications by making asynchronous code look like synchronous code. RxJS provides both hot and cold Observables, with hot Observables closing over a producer source and cold Observables creating their own producer.
This document summarizes the new features and goals of RxJS version 5, which aims to improve the modularity, performance, debugging, and extensibility of the RxJS library. Key changes include making RxJS fully modular, improving performance by reducing allocations and call stack sizes, enhancing debugging with simpler operator implementations, and allowing better extensibility through subclassing Observables and maintaining Subject bi-directionality. Simpler unit tests using marble diagrams are also highlighted.
「我是一個前端工程師,每次要進行頁面套版時,都要等後端工程師寫好 API 才能測試,我覺得很痛苦,但公司的後端我又叫不動,有沒有甚麼方法可以簡單的設計出 RESTful API,讓我可以立即套版使用?我不想每次都苦苦哀求後端工程師快點生出 API 給我!」這是之前某位學生告訴我的一段話,也想必是許多前端工程師的痛,現在,你可以不一樣!
我將在這場分享中講解如何利用 JSON Server 快速建立 RESTful API 服務,讓前端工程師可以在完全沒有後端開發能力的情況下,自行設計出任意格式的 API 讓自己使用。本次直播完全免費,當天還會簡單示範如何在 Angular 使用 Http 服務元件呼叫自製的 API!
「TECH x GAME COLLEGE #21」 2019/06/05 登壇資料
https://techxgamecollege.connpass.com/event/130420/
【Laravelを用いたゲームサーバーのチューニング】
主にDB周りの話題で、
・速度を出す
・水平分散をする
という観点で
Laravelをゲームサーバーで用いた際にチューニングしてきたことを紹介します。
Introduction to Spring WebFlux #jsug #sf_a1Toshiaki Maki
The document provides an introduction and overview of Spring WebFlux, a non-blocking web framework for Spring. It discusses the differences between blocking and non-blocking web stacks, and how Spring WebFlux uses reactive streams and programming. Code examples are provided showing how to build reactive controllers and streams in Spring WebFlux that support backpressure.
This document summarizes the new features and goals of RxJS version 5, which aims to improve the modularity, performance, debugging, and extensibility of the RxJS library. Key changes include making RxJS fully modular, improving performance by reducing allocations and call stack sizes, enhancing debugging with simpler operator implementations, and allowing better extensibility through subclassing Observables and maintaining Subject bi-directionality. Simpler unit tests using marble diagrams are also highlighted.
「我是一個前端工程師,每次要進行頁面套版時,都要等後端工程師寫好 API 才能測試,我覺得很痛苦,但公司的後端我又叫不動,有沒有甚麼方法可以簡單的設計出 RESTful API,讓我可以立即套版使用?我不想每次都苦苦哀求後端工程師快點生出 API 給我!」這是之前某位學生告訴我的一段話,也想必是許多前端工程師的痛,現在,你可以不一樣!
我將在這場分享中講解如何利用 JSON Server 快速建立 RESTful API 服務,讓前端工程師可以在完全沒有後端開發能力的情況下,自行設計出任意格式的 API 讓自己使用。本次直播完全免費,當天還會簡單示範如何在 Angular 使用 Http 服務元件呼叫自製的 API!
「TECH x GAME COLLEGE #21」 2019/06/05 登壇資料
https://techxgamecollege.connpass.com/event/130420/
【Laravelを用いたゲームサーバーのチューニング】
主にDB周りの話題で、
・速度を出す
・水平分散をする
という観点で
Laravelをゲームサーバーで用いた際にチューニングしてきたことを紹介します。
Introduction to Spring WebFlux #jsug #sf_a1Toshiaki Maki
The document provides an introduction and overview of Spring WebFlux, a non-blocking web framework for Spring. It discusses the differences between blocking and non-blocking web stacks, and how Spring WebFlux uses reactive streams and programming. Code examples are provided showing how to build reactive controllers and streams in Spring WebFlux that support backpressure.
邁向 Windows Server 應用程式現代化 (Windows Server Application Modernization)Will Huang
The document discusses application modernization and Kubernetes. It introduces Will Huang as the CTO of Miniasp and provides links to his blog and social media profiles. It then discusses the goals of application modernization projects and provides a link to the CNCF landscape. The rest of the document outlines features of Kubernetes like portability, scalability, and self-healing. It discusses Kubernetes 1.14 enhancements like Windows node support and demonstrates creating a Windows container on AKS. Finally, it provides links to learn more about Kubernetes and Windows containers.
The document discusses microservices architecture and containers. It explains that microservices are small, independent services that communicate through APIs. It provides examples of building and pushing container images to different hosts, and shows how image caches and digests allow efficient distribution of images. It also mentions using Azure Container Registry for storing images and Azure Container Registry Tasks for running tasks.
全新 Windows Server 2019 容器技術及邁向與 Kubernetes 整合之路 (Windows Server 高峰會)Will Huang
Windows Server 2019 隨之而來的容器功能,帶領 Windows 容器化邁向另一個里程碑。本次演講將介紹全新容器功能,以及跟 Kubernetes 整合的歷程,並透過線上展示 Windows Server 2019 加入到 Kubernetes 叢集的完整步驟!
👉 Windows Server 高峰會
https://www.microsoft.com/taiwan/events/windows-server-2019/
3. Reactive Extensions (Rx)
• Reactive Extensions (Rx)
- is a library for composing asynchronous and event-based programs using
observable sequences and LINQ-style query operators.
• ReactiveX
- is a combination of the best ideas from the Observer pattern, the Iterator
pattern, and Functional programming.
• Reactive Programming
- is programming with asynchronous data streams.
• Streams
- are cheap and ubiquitous, anything can be a stream.
- variables, user inputs, properties, caches, data structures, etc.
37. 相關連結
• RxJS 官網
• RxJS API 文件
• RxJS 4 API 文件 (舊版文件官網)
• ReactiveX 官網
• 30 天精通 RxJS
• Launchpad for RxJS
• RxMarbles: Interactive diagrams of Rx Observables
37
38. The Will Will Web
網路世界的學習心得與技術分享
http://blog.miniasp.com/
Facebook
Will 保哥的技術交流中心
http://www.facebook.com/will.fans
Twitter
https://twitter.com/Will_Huang
38
聯絡資訊