|
1 | 1 | # PART 1 - Getting started |
2 | 2 |
|
3 | | -## 왜 Rx? |
| 3 | +## Rx? |
4 | 4 |
|
5 | | -> . |
6 | | -Welcome to Rx. This book is based on [Rx.NET](http://msdn.microsoft.com/en-us/devlabs/gg577609)'s www.introtorx.com and it introduces beginners to [RxJava](https://github.com/ReactiveX/RxJava), the Netflix implementation of the original Microsoft library. Rx is a powerful tool that enables the solution of problems in an elegant declarative style, familiar to functional programmers. Rx has several benefits: |
| 5 | +> 사용자는 실시간 데이터를 기대합니다. 그들은 당장 그들의 트윗이 보이길 원하고 명령이 당장 확인되길 원하며, 정확한 가격이 필요합니다. 또한 그들의 온라인 게임은 반응적일 필요가 있습니다. 개발자는 파이어-앤-포겟(발사 후 망각) 메시지를 요구합니다. 당신은 결과를 기다리는것을 막지 않고 준비가 되었을 때 결과를 푸시하고 싶습니다. 여러 개의 결과값을 사용하여 작업 할 때 준비가 되면 각각의 결과를 받기 원합니다. 전체 집합이 처리 될 때까지 기다리지 않으려고합니다. 세상은 밀어 붙이기 시작했습니다. 사용자는 우리가 따라잡길 기다리고 있습니다. 개발자는 데이터를 푸시 할 수 있는 도구를 가지고 있습니다. 개발자는 데이터를 푸시하기 위해 반응하는 도구가 필요합니다. |
7 | 6 |
|
8 | | -* Unitive |
9 | | - * Queries in Rx are done in the same style as other libraries inspired by functional programming, such as Java streams. In Rx, one can use functional style transformations on event streams. |
10 | | -* Extensible |
11 | | - * RxJava can be extended with custom operators. Although Java does not allow for this to happen in an elegant way, RxJava offers all the extensibility one can find Rx implementations in other languages. |
12 | | -* Declarative |
13 | | - * Functional transformations are read in a declarative way. |
14 | | -* Composable |
15 | | - * Rx operators can be combined to produce more complicated operations. |
16 | | -* Transformative |
17 | | - * Rx operators can transform one type of data to another, reducing, mapping or expanding streams as needed. |
| 7 | +Rx에 오신 것을 환영합니다. 이 책은 [Rx.NET](http://msdn.microsoft.com/en-us/devlabs/gg577609)의 www.introtorx.com을 기반으로 하며 오리지널 Microsoft 라이브러리의 Netflix 구현인 [RxJava](https://github.com/ReactiveX/RxJava)를 초보자를 위해 소개합니다. Rx는 함수형 프로그래머에게 익숙한 선언적 스타일로 문제를 해결 할 수 있는 강력한 도구입니다. Rx는 다음과 같은 몇 가지 이점이 있습니다. |
18 | 8 |
|
| 9 | +* 통합 |
| 10 | + * Rx의 질의는 함수형 프로그래밍에서 영감을 얻은 다른 라이브러리와 동일한 스타일로 수행됩니다.(예: Java 스트림). Rx에서는 이벤트 스트림에서 함수 스타일 변환을 사용 할 수 있습니다. |
| 11 | +* 확장 |
| 12 | + * RxJava는 커스텀 연산자를 사용하여 확장 할 수 있습니다. Java가 이것이 일어나는 것을 허용하지는 않지만 RxJava는 다른 언어로 Rx구현을 찾을 수 있는 모든 확장성을 제공합니다. |
| 13 | +* 선언 |
| 14 | + * 기능적 변환은 선언적 방식으로 읽혀집니다. |
| 15 | +* 구성 |
| 16 | + * Rx 연산자는 더 복잡한 연산을 생성하기 위해 결합 될 수 있습니다. |
| 17 | +* 변형 |
| 18 | + * Rx 연산자는 한 유형의 데이터를 다른 유형으로 변환하여 필요에 따라 스트림을 축소, 매핑 또는 확장 할 수 있습니다. |
19 | 19 |
|
20 | | -## When is Rx appropriate? |
21 | 20 |
|
22 | | -Rx is fit for composing and consuming sequences of events. We present some of the use cases for Rx, according to www.introtorx.com |
| 21 | +## 언제 Rx를 써야할까? |
| 22 | + |
| 23 | +Rx는 일련의 이벤트를 작성하고 소비하는 데 적합합니다. www.introtorx.com에 따르면 Rx에 대한 몇 가지 사용 사례를 제시합니다. |
23 | 24 |
|
24 | 25 | ### Should use Rx |
25 | 26 |
|
26 | | -* UI events like mouse move, button click |
27 | | -* Domain events like property changed, collection updated, "Order Filled", "Registration accepted" etc. |
28 | | -* Infrastructure events like from file watcher, system and WMI events |
29 | | -* Integration events like a broadcast from a message bus or a push event from WebSockets API or other low latency middleware like Nirvana |
30 | | -* Integration with a CEP engine like StreamInsight or StreamBase. |
| 27 | +* 마우스 이동, 버튼 클릭과 같은 UI 이벤트 |
| 28 | +* 속성 변경, Collection 업데이트, "주문 완료","등록 승인"등의 도메인 이벤트 |
| 29 | +* 파일 감시자, 시스템 및 WMI 이벤트와 같은 인프라 이벤트 |
| 30 | +* 메시지 버스의 브로드캐스트, WebSocket API & Nivana와 같은 대기 시간이 짧은 미들웨어의 푸시 이벤트와 같은 통합 이벤트 |
| 31 | +* StreamInsight 또는 StreamBase와 같은 CEP 엔진과의 통합 |
31 | 32 |
|
32 | 33 | ### Could use Rx |
| 34 | +* '미래'의 결과 또는 동등한 패턴 |
33 | 35 |
|
34 | | -* Result of `Future` or equivalent pattern |
35 | | - |
36 | | -Those patterns are already well adopted and you may find that introducing Rx on top of that does not add to the development process. |
37 | | - |
38 | | -### Won't use Rx |
39 | | - |
40 | | -* Translating iterables to observables, just for the sake of working on them through an Rx library. |
| 36 | +이러한 패턴은 미지 잘 구현되어있으며 Rx를 도입하면 개발 프로세스가 추가되지 않는 다는 것을 알고 있습니다. |
41 | 37 |
|
| 38 | +### Rx를 사용하지 않는 사례 |
| 39 | +* Rx 라이브러리를 통해 작업하기 위해서 iterable을 observable로 변환해야합니다. |
42 | 40 |
|
43 | | -##### Continue reading |
| 41 | +##### 계속 읽기 |
44 | 42 |
|
45 | | -| Previous | Next | |
| 43 | +| 이전 | 다음 | |
46 | 44 | | --- | --- | |
47 | 45 | | | [Key types](/Part 1 - Getting Started/2. Key types.md) | |
48 | 46 |
|
0 commit comments