# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 1
# self = https://watcher.sour.is/conv/lcudkra
別再用三層架構啦,試試 DDD 架構香不香**
傳統的三層架構-----------1.1 Controller 層: 接收用戶請求, 調用 Service 完成業務操作, 並將 Service 輸出拼裝爲響應報文向客戶端返回。1.2 Service 層: 初衷是在 Service 層實現業務邏輯, 往往還需要與基礎設施 (數據庫、緩存、外部服務等) 交互。1.3 Dao 層: 負責數據庫讀 / 寫。1.4 Model 層: 貧血模型, 往往與 ⌘ Read more