Doctrine 2
Doctrine 2

160
2
23
peewee
peewee

18
0
4
Add tool

Doctrine 2 vs peewee: 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, peewee is detailed as "A small, expressive ORM -- supports postgresql, mysql and sqlite". A small, expressive orm, written in python (2.6+, 3.2+), with built-in support for sqlite, mysql and postgresql and special extensions like hstore.

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

peewee is an open source tool with 6.64K GitHub stars and 1.1K GitHub forks. Here's a link to peewee's open source repository on GitHub.

- 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 peewee?

A small, expressive orm, written in python (2.6+, 3.2+), with built-in support for sqlite, mysql and postgresql and special extensions like hstore.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose Doctrine 2?
Why do developers choose peewee?
What are the cons of using Doctrine 2?
What are the cons of using peewee?
    Be the first to leave a con
      Be the first to leave a con
      What companies use Doctrine 2?
      What companies use peewee?
      What are some alternatives to Doctrine 2 and peewee?
      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.
      EntityFramework
      Home of the Microsoft ASP.NET development community. Download Visual Studio, post to the forums, read ASP.NET blogs and learn about ASP.NET.
      See all alternatives
      What tools integrate with Doctrine 2?
      What tools integrate with peewee?
      Decisions about Doctrine 2 and peewee
      No stack decisions found
      Interest over time
      Reviews of Doctrine 2 and peewee
      No reviews found
      How developers use Doctrine 2 and peewee
      Avatar of Dag Sneeggen
      Dag Sneeggen uses peeweepeewee

      model_to_dict is a function in the "playhouse" extension, which automagically converts a model into a Python dictionary. In other words; you can easily convert data from complex SQL queries straight to JSON.

      Avatar of Itbid
      Itbid uses Doctrine 2Doctrine 2

      ORM Layer para acceso a datos en la aplicación ITBID

      Avatar of Jacobsen og Svart
      Jacobsen og Svart uses peeweepeewee

      ORM SQL<->JSON

      How much does Doctrine 2 cost?
      How much does peewee cost?
      Pricing unavailable
      Pricing unavailable
      News about Doctrine 2
      More news
      News about peewee
      More news