agares/microorm

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.

dev-master 2017-03-12 15:38 UTC

This package is auto-updated.

Last update: 2021-05-04 18:07:43 UTC


README

Scrutinizer Code Quality Build Status

What is "MicroORM"?

A MicroORM is a concept borrowed from .NET circles (e.g. Dapper). The idea is to have a library that maps the results of queries into objects, but leaves the queries themselves up to you.

Why?

I like to have control over the code that is executed by my application. I believe that in some cases, the art of writing SQL queries is being slowly forgotten. Programmers sometimes forget about the power that lies in their databases, and they resort to transforming data using code. But it's hard to write code that will be as performant as SQL queries. (And don't forget that queries adapt to execute differently depending on what data is in the table!)

Your RDBMS has a lot of power (caches, indices, query planners), so why let some library generate crappy code that bypasses all of that?