Event sourcing & CQRS
Në shqip përdoret i njëjti emër.
ShpjegimiSQ
Te event sourcing, s'ruan gjendjen aktuale, por çdo ngjarje që ndodhi („u depozituan 50 €“) — gjendja llogaritet duke i rilexuar. CQRS ndan modelin e shkrimit nga ai i leximit. Të fuqishme, por të ndërlikuara.
EnglishEN
With event sourcing you don't store the current state but every event that happened (“€50 deposited”) — the state is computed by replaying them. CQRS separates the write model from the read model. Powerful but complex.
Si ta mendosh
Si libri i llogarisë bankare që regjistron çdo lëvizje, jo vetëm bilancin.
Lexoje në anglisht
Like a bank ledger recording every movement, not just the balance.