3 ms·
Systems that do this tend to burn a lot of cycles without the coder having any idea what's going on. For simple CRUD system that can be OK, but making abstract
by Retric 18y ago
Systems that do this tend to burn a lot of cycles without the coder having any idea what's going on. For simple CRUD system that can be OK, but making abstractions above the database is dangerous from a performance standpoint.
Edit: There are a lot of DB tools to help you. Adding views let's you keep normalized schema's while simplifying reading data. Triggers can automate logging etc. I often see people using high level data views that end up giving them less power to manipulate data than the DB has.
PS: Why assume the schema is going to suck? Often it does suck, but that should be telling you to change the schema. I mean I know people that can't stand ugly code but they are willing to turn a blind eye to terrible databases.