[Django]-ORM in Django vs. PHP Doctrine

3👍

The Django ORM does everything I want it to do. I’ve found it to be easier to use and more straight-forward than Doctrine. Sorry that I can’t help with an in-depth comparison.

If you find the Django ORM is missing a feature you’d like to have, check out SQL Alchemy. It can easily be used with Django.

👤JAL

5👍

I am a rare person who had to switch from Django 1.4 to Symfony 2.1 so I had to use Doctrine 2 instead of current Django ORM.

Maybe Doctrine can do many things but let me tell you that it is a nightmare for me to use it coming from Django.

I’m bored with the verbosity of php/Symfony/Doctrine …

Also I never needed something that Django’s ORM didn’t manage already (maybe projects not big enough to reach the limits).

Simply compare the description of data between both orms (including setters & getters)…

1👍

Ive used Doctrine over a 2 year project that ended 1.5 years ago, since then i’ve been doing mostly Django.

I prefer Djangos ORM over Doctrine any day, more features, more consistency, faster and shinier.

👤krs

-1👍

Django isn’t just an orm. It is a web framework like symfony. The form framework in symfony is modeled on django for example. It’s orm part is more like doctrine 2 I think, but I haven’t played with either much.

Leave a comment