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

Dapper

513
62
+ 1
5
Doctrine 2

268
201
+ 1
31
Add tool

Dapper vs Doctrine 2: What are the differences?

Dapper: A simple object mapper for .Net. It is an object-relational mapping product for the Microsoft.NET platform: it provides a framework for mapping an object-oriented domain model to a traditional relational database; Doctrine 2: 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.

Dapper and Doctrine 2 can be primarily classified as "Object Relational Mapper (ORM)" tools.

uLekare.cz, Crisis Text Line, and Vend are some of the popular companies that use Doctrine 2, whereas Dapper is used by Credit Clear, Business Logic, and Knowcross Solution Pvt Ltd. Doctrine 2 has a broader approval, being mentioned in 53 company stacks & 148 developers stacks; compared to Dapper, which is listed in 6 company stacks and 17 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Dapper
Pros of Doctrine 2
  • 5
    Fastest ORM
  • 14
    Great abstraction, easy to use, good docs
  • 10
    Object-Oriented
  • 7
    Easy setup

Sign up to add or upvote prosMake informed product decisions

What is Dapper?

It is an object-relational mapping product for the Microsoft.NET platform: it provides a framework for mapping an object-oriented domain model to a traditional relational database.

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.

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

Jobs that mention Dapper and Doctrine 2 as a desired skillset
CBRE
United States of America Massachusetts Boston
What companies use Dapper?
What companies use Doctrine 2?
See which teams inside your own company are using Dapper or Doctrine 2.
Sign up for StackShare EnterpriseLearn More

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

What tools integrate with Dapper?
What tools integrate with Doctrine 2?

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

What are some alternatives to Dapper and Doctrine 2?
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.
Entity Framework
It is an object-relational mapper that enables .NET developers to work with relational data using domain-specific objects. It eliminates the need for most of the data-access code that developers usually need to write.
See all alternatives