Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Some ORM using PDO?

Tags:

php

orm

pdo

I am looking for a good ORM (i.e. Active Record) which use php extension PDO as base.Any suggestions?

like image 448
Balchev Avatar asked Aug 28 '09 11:08

Balchev


People also ask

Is PDO A ORM?

PDO and ORM are two entirely different things. PDO is a specific implementation of a Database Access Abstraction Layer, it enables you to connect, run SQL and retrieve results from the database with an API that is consistent across different database backends (e.g. MySQL, PostgreSQL, MS SQL, etc.)

Is there an ORM for PHP?

The Doctrine Project is the home to several PHP libraries primarily focused on database storage and object mapping. The core projects are the Object Relational Mapper (ORM) and the Database Abstraction Layer (DBAL) it is built upon.

What can be done with PHP PDO?

PDO—PHP Data Objects—are a database access layer providing a uniform method of access to multiple databases. It doesn't account for database-specific syntax, but can allow for the process of switching databases and platforms to be fairly painless, simply by switching the connection string in many instances.


2 Answers

Doctrine or Propel.

like image 109
Zed Avatar answered Oct 03 '22 18:10

Zed


Definitely go with Doctrine.

like image 25
Steven Mercatante Avatar answered Oct 03 '22 17:10

Steven Mercatante