|
|
|
|
|
by scarface74
2599 days ago
|
|
I keep as much logic out of the database as possible besides PKs/FKs etc. I keep all of my logic in the application and only one “service” can write to related tables. I also think that you should always write software as domain specific “microservices”. Not necessarily out of process, separately released microservices, but the Domain Driven Design concept of “services” that can just as easily be part of a monolithic project with different modules or if necessary shared between teams via versioned modules. It is so much easier to deploy, rollback, and version code than databases. |
|