Re:Back end of Meta Threads is built with Python 3.10 with s...
by DeathArrow on Thursday July 06, 2023 @03:33PM
(#36621555)
>True, but it's the best ORM currently available for any language.
Better than Entity Framework? Consider me impressed.
Re:Back end of Meta Threads is built with Python 3.10 with s...
by mrweasel on Thursday July 06, 2023 @04:06PM
(#36622026)
Depending on what you consider important, and I haven't used Entity since... 2010 I think. For me, those two doesn't compare, the simplicity of the Django ORM makes Entity look dated, complex, like something out of the mainframe era.
Entity is way more flexible, in the sense that you can use in any .Net project really. The Django ORM have no value outside Django, I have yet to anyone use just the ORM, without the rest of the framework.
Re:Back end of Meta Threads is built with Python 3.10 with s...
by fomine3 on Friday July 07, 2023 @04:24AM
(#36628824)
Early EF was GUI based complex one. Recent version is fine after they support "Code-first" API.
Re:Back end of Meta Threads is built with Python 3.10 with s...
by cosmic_quanta on Thursday July 06, 2023 @05:13PM
(#36623147)
> True, but it's the best ORM currently available for any language.
Such a strong assertion!
I've used multiple ORMs (not Django's), including some of Haskell's type-safe ORMs (e.g. Persistent and Beam). I could not imagine going back. What makes Django's ORM so great?
Re:Back end of Meta Threads is built with Python 3.10 with s...
by roflyear on Thursday July 06, 2023 @07:01PM
(#36624481)
Have you used SQLAlchemeny and PeeWee extensively? I have found these to be pretty fair when compared to Django.
Anyway, you can use the Django ORM without Django :)
Re:Back end of Meta Threads is built with Python 3.10 with s...
by murkt on Thursday July 06, 2023 @11:57PM
(#36626912)
I am not a fan of ORMs personally, so haven’t tried lots of them. But even in Python, SQLAlchemy is way better than Django ORM.
Django ORM is tolerable on small projects, and quickly gets in the way on anything a bit more complicated.
Using Django is probably the reason why I can stand using SQLAlchemy, it's way to complicated for everything I do and it's just not a nice an experience.