You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: books/Learning API Styles/summary.en.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
***Author**: Lukasz Dynowski and Marcin Dulak
3
3
***Genre**: Software Engineering
4
4
***Publication Date**: 2025
5
+
***Book Link**: https://amazon.com/dp/1098153995
5
6
6
7
This document summarizes the key lessons and insights extracted from the book.
7
8
I highly recommend reading the original book for the full depth and author's perspective.
@@ -30,7 +31,7 @@ I highly recommend reading the original book for the full depth and author's per
30
31
**Example**: Imagine APIs as bridges connecting cities: the style is the toll gate, trucks are requests/responses, and traffic rules are protocols. Sync means waiting for a receipt; async means dropping off and moving on.
31
32
32
33
**Link for More Details**:
33
-
[Ask AI: Chapter 1: API Concepts](https://alisol.ir/?ai=Chapter%201%3A%20API%20Concepts%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
34
+
[Ask AI: API Concepts](https://alisol.ir/?ai=Chapter%201%3A%20API%20Concepts%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
34
35
35
36
## API Design Patterns
36
37
@@ -39,7 +40,7 @@ I highly recommend reading the original book for the full depth and author's per
39
40
**Example**: For pagination, it's like flipping through a phonebook—offset jumps to page 10, but cursor marks your spot with a bookmark for efficiency in large lists.
40
41
41
42
**Link for More Details**:
42
-
[Ask AI: Chapter 2: API Design Patterns](https://alisol.ir/?ai=Chapter%202%3A%20API%20Design%20Patterns%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
43
+
[Ask AI: API Design Patterns](https://alisol.ir/?ai=Chapter%202%3A%20API%20Design%20Patterns%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
43
44
44
45
## Network Protocols
45
46
@@ -48,7 +49,7 @@ I highly recommend reading the original book for the full depth and author's per
48
49
**Example**: Picture the OSI model as a postal system: application layer writes the letter (message), transport ensures delivery (TCP), network routes it (IP), and physical sends the bits like mail trucks.
@@ -57,7 +58,7 @@ I highly recommend reading the original book for the full depth and author's per
57
58
**Example**: HTTP versions are like car models: 0.9 is a basic cart, 1.1 adds cruise control, 2 turbocharges with multiple lanes, and 3 is electric with quick starts and lane-switching.
58
59
59
60
**Link for More Details**:
60
-
[Ask AI: Chapter 4: Web Protocols](https://alisol.ir/?ai=Chapter%204%3A%20Web%20Protocols%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
61
+
[Ask AI: Web Protocols](https://alisol.ir/?ai=Chapter%204%3A%20Web%20Protocols%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
61
62
62
63
## REST API
63
64
@@ -66,7 +67,7 @@ I highly recommend reading the original book for the full depth and author's per
66
67
**Example**: REST is like a menu at a restaurant—resources are dishes (URIs), orders are methods (GET to browse, POST to add), and the bill is the response, with links to related items.
@@ -75,7 +76,7 @@ I highly recommend reading the original book for the full depth and author's per
75
76
**Example**: GraphQL is like a customizable pizza order—you specify toppings (fields) precisely, avoiding the whole menu (over-fetching) or multiple trips (under-fetching).
76
77
77
78
**Link for More Details**:
78
-
[Ask AI: Chapter 6: Query API with GraphQL](https://alisol.ir/?ai=Chapter%206%3A%20Query%20API%20with%20GraphQL%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
79
+
[Ask AI: Query API with GraphQL](https://alisol.ir/?ai=Chapter%206%3A%20Query%20API%20with%20GraphQL%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
79
80
80
81
## Web Feeds API with the Atom Protocol
81
82
@@ -84,7 +85,7 @@ I highly recommend reading the original book for the full depth and author's per
84
85
**Example**: Feeds are like newspaper subscriptions—delivered updates (entries) in a bundle, pulled when you check your mailbox instead of constant pings.
85
86
86
87
**Link for More Details**:
87
-
[Ask AI: Chapter 7: Web Feeds API with the Atom Protocol](https://alisol.ir/?ai=Chapter%207%3A%20Web%20Feeds%20API%20with%20the%20Atom%20Protocol%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
88
+
[Ask AI: Web Feeds API with the Atom Protocol](https://alisol.ir/?ai=Chapter%207%3A%20Web%20Feeds%20API%20with%20the%20Atom%20Protocol%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
88
89
89
90
## RPC API with gRPC
90
91
@@ -93,7 +94,7 @@ I highly recommend reading the original book for the full depth and author's per
93
94
**Example**: gRPC is like a direct phone call—specify the procedure (method), pass args (Protobuf), get results fast, with streaming for ongoing chats.
94
95
95
96
**Link for More Details**:
96
-
[Ask AI: Chapter 8: RPC API with gRPC](https://alisol.ir/?ai=Chapter%208%3A%20RPC%20API%20with%20gRPC%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
97
+
[Ask AI: RPC API with gRPC](https://alisol.ir/?ai=Chapter%208%3A%20RPC%20API%20with%20gRPC%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
97
98
98
99
## Callback API with Webhooks
99
100
@@ -102,7 +103,7 @@ I highly recommend reading the original book for the full depth and author's per
102
103
**Example**: Webhooks are like a doorbell—event rings (POST), you respond if home, with a secret knock (HMAC) to verify it's not a prank.
103
104
104
105
**Link for More Details**:
105
-
[Ask AI: Chapter 9: Callback API with Webhooks](https://alisol.ir/?ai=Chapter%209%3A%20Callback%20API%20with%20Webhooks%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
106
+
[Ask AI: Callback API with Webhooks](https://alisol.ir/?ai=Chapter%209%3A%20Callback%20API%20with%20Webhooks%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
106
107
107
108
## Bidirectional API with WebSocket
108
109
@@ -111,7 +112,7 @@ I highly recommend reading the original book for the full depth and author's per
111
112
**Example**: WebSocket is like a two-way radio—constant open line for instant back-and-forth, upgrading from one-way mail (HTTP).
112
113
113
114
**Link for More Details**:
114
-
[Ask AI: Chapter 10: Bidirectional API with WebSocket](https://alisol.ir/?ai=Chapter%2010%3A%20Bidirectional%20API%20with%20WebSocket%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
115
+
[Ask AI: Bidirectional API with WebSocket](https://alisol.ir/?ai=Chapter%2010%3A%20Bidirectional%20API%20with%20WebSocket%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
115
116
116
117
## Broker-based API with RabbitMQ
117
118
@@ -120,7 +121,7 @@ I highly recommend reading the original book for the full depth and author's per
120
121
**Example**: RabbitMQ is like a post office—senders drop letters (messages) into boxes (queues), routed by labels (keys), with acknowledgments for delivery confirmation.
121
122
122
123
**Link for More Details**:
123
-
[Ask AI: Chapter 11: Broker-based API with RabbitMQ](https://alisol.ir/?ai=Chapter%2011%3A%20Broker-based%20API%20with%20RabbitMQ%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
124
+
[Ask AI: Broker-based API with RabbitMQ](https://alisol.ir/?ai=Chapter%2011%3A%20Broker-based%20API%20with%20RabbitMQ%7CLukasz%20Dynowski%20and%20Marcin%20Dulak%7CLearning%20API%20Styles)
124
125
125
126
[Personal note: RabbitMQ is still solid for many uses, but in 2026, I'd consider Kafka or cloud-managed options like AWS SQS for heavier streaming loads to cut ops hassle.]
0 commit comments