Implementing Modern Design Patterns with Qt
summary
Implemented a proof‑of‑concept CQRS/ES framework in Qt/QML that uses a single message bus using Qt signals/slots to route commands and domain events. Concrete pieces: message publishers/dispatchers, aggregate repository, and event storage with two backends (in-memory and file event stores) and planned DB support. Demo models a code‑repository aggregate tracking per‑commit lines‑added/removed deltas with replay, snapshots and read models; framework is small, works “pretty well” in practice but adds complexity and is overkill for simple apps.
AI-written summary · about
chapters (13)
- 0:00Start
- 1:46Fortech at a glance
- 3:44Our goal
- 6:04MessageBus API
- 8:08MessageDispatcher
- 10:09EventStorage
- 11:51Aggregate repository
- 13:35Domain: code repository
- 15:21Sending a command
- 16:10Comand handler
- 17:33Domain aggregate
- 19:55Create a new view
- 21:25CORSES
related talks
49mHow to scale QML based projects an Architecture vision
30mThe building blocks of QML, and how to use it with C++
27mSet Yourself up for Success — Lessons Learned from Building 100+ Devices with C++/Qt/QML
02h 16mWORKSHOP: Back to Basics: writing a model
56mWriting applications in modern C++ and Qt
01h 30m“Qt as a C++ Framework: History, Present State and Future”
01h 21mAdvanced Qt - A Deep Dive 6/6 - ModelView Part 2
25mBest Practices for using QML and QtQuick
