Command sourcing logs the request and runs your business rules again on every replay. Event sourcing logs the result and only applies it. That is the whole difference, and it decides what breaks when your code changes. In a typical CRUD backend you UPDATE the row, and the old value is gone. Both patterns keep every change in an append-only log... Weiterlesen: Command Sourcing vs Event Sourcing
Intelligence View
⚡ tsecurity.de Intelligence
Command Sourcing vs Event Sourcing
Command sourcing logs the request and runs your business rules again on every replay. Event sourcing logs the result and only applies it. That is the whole…
Quelle & Fakten · 1 Min. Lesezeit
Quelle: DEV Community (dev.to)
Rubrik: Programación segura
Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Community-Hinweise zur Meldung
Briefing de seguridad Gratis · baja en 1 clic
Intelligence Digest — gratis
Cada día las noticias de seguridad más importantes · baja en cualquier momento
💬 Debate de la comunidad y comentarios
Inicia el debate en el stream de difusión del Social Chat o envía arriba una contribución experta mediante el formulario de ampliación.