DEV Community

Discussion on: DO NOT trust your frontend validators

Collapse
 
latobibor profile image
András Tóth

However, I also don't like putting business logic directly into my database.
And why is that? Because the database is a really clunky coding experience.

I came to the conclusion that it is time for reimagining SQL. The language and connection must be modernized:

  • gain the ability to easily integrate with source control tools like git
  • modern programming language features: move away from thinking "it's a language to query the database" to have packages, code modules, unit testing/mocking capabilities

If this sounds ridiculous how does it sound to do n non-transactional rounds to the DB just because the team can only use ORMs and they don't know how to write the one action as one database transaction...

Thread Thread
 
polterguy profile image
Thomas Hansen AINIRO.IO

how does it sound to do n non-transactional rounds to the DB just because the team can only use ORMs

I've already covered ORMs ... ;)