Atlas.Orm
sql-template-tag
Our great sponsors
Atlas.Orm | sql-template-tag | |
---|---|---|
6 | 3 | |
426 | 312 | |
0.0% | - | |
1.8 | 6.3 | |
almost 3 years ago | 5 days ago | |
PHP | TypeScript | |
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
sql-template-tag
-
Python: Just Write SQL
You can avoid this entirely with JavaScript's tagged template literals. Here is an example library: https://github.com/blakeembrey/sql-template-tag
-
Knex Raw SQL String SQL Highlighting VS Code and best practices to avoid SQL Injection Attack?
If you prefer SQL and you use postgres you can check out slonik. If you want to keep using knex you can use https://github.com/blakeembrey/sql-template-tag. They will add placeholders for all the values and expose helper for query building via strings (e.g. a special join). At the same time they are typesafe.
- Objection to ORM Hatred
What are some alternatives?
Doctrine - Doctrine Object Relational Mapper (ORM)
Dapper.SimpleCRUD - Who wants to write basic read/insert/update/delete statements? SimpleCRUD provides simple CRUD helpers for Dapper.
Eloquent - [READ ONLY] Subtree split of the Illuminate Database component (see laravel/framework)
yesql - A Clojure library for using SQL.
Aura.Sql - SQL database access through PDO.
vscode-sqltools - Database management for VSCode
Spot2 - Spot v2.x DataMapper built on top of Doctrine's Database Abstraction Layer
jOOQ - jOOQ is the best way to write SQL in Java
Propel - Propel2 is an open-source high-performance Object-Relational Mapping (ORM) for modern PHP
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.
Doctrine Extensions - Doctrine2 behavioral extensions, Translatable, Sluggable, Tree-NestedSet, Timestampable, Loggable, Sortable
powderkeg - Live-coding the cluster!