Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

php orm powerful enough?

Tags:

php

orm

I'm translating an application from MySQL to MSSQL, with statements written in db-specific SQL. Some of the statements involve isnull(), ifnull() and concat() which currently needs to be manually rewritten to MSSQL syntax.

To improve code portability I'm thinking of ORM alternatives which can solve the above, still with speed (I don't want the ORM to postprocess the result set).

Target databases:

  • MySQL
  • MSSQL
  • PostgreSQL

Appreciate any hints or experiences in this matter.

like image 685
Teson Avatar asked Nov 13 '22 23:11

Teson


1 Answers

I think that one of the best ORMs out there is Doctrine 2.

See the project website at http://doctrine-project.org/

like image 102
Matteo Tassinari Avatar answered Nov 15 '22 13:11

Matteo Tassinari