From 40798d83395bac055f4f3b267603a5b02bfcfda3 Mon Sep 17 00:00:00 2001 From: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com> Date: Sat, 23 Apr 2022 08:26:32 +0200 Subject: [PATCH] add some notes on the architecture page --- Architecture.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Architecture.md b/Architecture.md index 86b37f2..8a725bb 100644 --- a/Architecture.md +++ b/Architecture.md @@ -1,3 +1,23 @@ # Architecture -> Here be text \ No newline at end of file +![PTB Architecture](https://gcdnb.pbrd.co/images/VYfQoTJBY1Mo.png?o=1) + +## Required and optional components + +> Explain which components are opt-in and which are opt-out. + +* `Updater` +* `JobQueue` +* `CallbackDataCache` +* `Defaults` +* `BasePersistence` +* `ContextTypes` + +## Customizing Components + +> Explain which components can (or even must) be replaced by custom implementations + +* `BasePersistence` +* `BaseRequest` +* `Handler` +* `Application` (special case in the builder pattern) \ No newline at end of file