Need advice about which tool to choose?Ask the StackShare community!

Doctrine 2

253
196
+ 1
31
Objection.js

35
53
+ 1
0
Add tool

Doctrine 2 vs Objection.js: What are the differences?

Developers describe Doctrine 2 as "An object-relational mapper (ORM) for PHP 5.3.2+ that provides transparent persistence for PHP objects". Doctrine 2 sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. On the other hand, Objection.js is detailed as "It is an ORM for Node.js". It aims to stay out of your way and make it as easy as possible to use the full power of SQL and the underlying database engine while still making the common stuff easy and enjoyable.

Doctrine 2 and Objection.js can be categorized as "Object Relational Mapper (ORM)" tools.

Objection.js is an open source tool with 4.26K GitHub stars and 344 GitHub forks. Here's a link to Objection.js's open source repository on GitHub.

Vend, LinkORB, and Cine-Loisirs are some of the popular companies that use Doctrine 2, whereas Objection.js is used by Tuup Oy, Habx, and Welltory. Doctrine 2 has a broader approval, being mentioned in 45 company stacks & 109 developers stacks; compared to Objection.js, which is listed in 5 company stacks and 4 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Doctrine 2
Pros of Objection.js
  • 14
    Great abstraction, easy to use, good docs
  • 10
    Object-Oriented
  • 7
    Easy setup
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    - No public GitHub repository available -

    What is Doctrine 2?

    Doctrine 2 sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL.

    What is Objection.js?

    It aims to stay out of your way and make it as easy as possible to use the full power of SQL and the underlying database engine while still making the common stuff easy and enjoyable.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Doctrine 2?
    What companies use Objection.js?
    See which teams inside your own company are using Doctrine 2 or Objection.js.
    Sign up for Private StackShareLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Doctrine 2?
    What tools integrate with Objection.js?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Doctrine 2 and Objection.js?
    Propel
    Propel provides a GPU-backed numpy-like infrastructure for scientific computing in JavaScript.
    Hibernate
    Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
    Sequelize
    Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.
    SQLAlchemy
    SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
    Entity Framework Core
    It is a lightweight, extensible, open source and cross-platform version of the popular Entity Framework data access technology. It can serve as an object-relational mapper (O/RM), enabling .NET developers to work with a database using .NET objects, and eliminating the need for most of the data-access code they usually need to write.
    See all alternatives