Database independence is good. I consider all DBMSs as simple SQL mechanisms.
Added
Nowadays, cool kids don't even use SQL. Instead, an intermediate Object-Relational Mapping (ORM) is used. For example, ActiveRecord in Rails or similar .
PHP ORM
A SO Question about ORM libraries for PHP . No SQL!
Last thought
Finally, in terms of performance, a DBMS is often the least extensible. - The application layer can be cloned much faster than overlaying the data warehouse. Thus, your mileage may vary, but I would be careful, believing that moving more functionality to the DBMS level would be a win for the whole system.
Rather, the opposite is often the case - moving functionality from a DBMS, where it makes sense. For example, the widespread use of MemCache today, despite the DBMS systems, including its own request caches.
source share