|
|
|
|
|
by TeMPOraL
462 days ago
|
|
> Should I write this logic in the DB itself ? Yes? If it sounds impractical, it's because the whole industry got used to not learning databases beyond most basic SQL, and doing everything by hand in application code itself. But given how much of code in most applications is just ad-hoc reimplementation of databases, and then how much of the business logic is tied to data and not application-specific things, I can't help but wonder - maybe a better way would be to treat RDBMS as an application framework and have application itself be a thin UI layer on top? On paper it definitely sounds like grouping concerns better. |
|