Atlas.Orm
iodio
Our great sponsors
Atlas.Orm | iodio | |
---|---|---|
6 | 1 | |
426 | 10 | |
0.0% | - | |
1.8 | 5.0 | |
almost 3 years ago | about 3 years ago | |
PHP | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Atlas.Orm
-
🔥 Yii Database abstraction release
I'm sure Atlas would compare favorably here.
-
Active Record: How We Got Persistence Perfectly Wrong
On second reading, I begin to think that parts of it also apply to Data Mapper implementation practices I see in the wild. I'll need to think about that some more, and perhaps apply the lessons to Atlas.
-
Simple Solutions 1 - Active Record versus Data Mapper
It was that article that inspired me to put together Atlas.
-
Increase performance by using Eloquent's `setRelation` method
That's just what Doctrine does, as does Atlas.
-
Critical SQL injection in doctrine/dbal 3.0.0 - 3.1.3 for LIMIT clause generation, please upgrade immediately to 3.1.4
Perhaps Atlas would be more to your liking.
-
Objection to ORM Hatred
> People always seem to ignore the third option: using an ORM that embraces SQL!
I had a similar revelation several years ago, based on the distinctions between a "domain model" and "persistence model" described by Mehdi Khalili, resulting in Atlas for PHP: http://atlasphp.io
iodio
-
Objection to ORM Hatred
Considered it, but I think that there are advantage in programmatically construct the query (see for example knex modify). Directly write down SQL or use template with sql make it harder. The only problem with knex is that it mutate at every operation instead of returning a new instance. I'm experimenting in wrapping it in a lazy monad that return a Fluture (https://github.com/FbN/iodio)
What are some alternatives?
Doctrine - Doctrine Object Relational Mapper (ORM)
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
Eloquent - [READ ONLY] Subtree split of the Illuminate Database component (see laravel/framework)
Dapper.SimpleCRUD - Who wants to write basic read/insert/update/delete statements? SimpleCRUD provides simple CRUD helpers for Dapper.
Aura.Sql - SQL database access through PDO.
sql-template-tag - ES2015 tagged template string for preparing SQL statements, works with `pg`, `mysql`, and `sqlite`
Spot2 - Spot v2.x DataMapper built on top of Doctrine's Database Abstraction Layer
knex-to-dbml - Generate DBML from a knex.js connection
Propel - Propel2 is an open-source high-performance Object-Relational Mapping (ORM) for modern PHP
Doctrine Extensions - Doctrine2 behavioral extensions, Translatable, Sluggable, Tree-NestedSet, Timestampable, Loggable, Sortable
Idiorm - A lightweight nearly-zero-configuration object-relational mapper and fluent query builder for PHP5.
EasyDB - Easy-to-use PDO wrapper for PHP projects.