oliver, to php
@oliver@phpc.social avatar

If you were about to start a medium-sized project, what would you choose as an , and why? It should be something stable and well maintained. If the business takes off, then there should be no need to replace that layer.

Caveat: imagine that Doctrine and Eloquent haven't been invented yet.

wyri, to github
@wyri@haxim.us avatar

Writing this month's sponsors update while watching The Cup Head Show on the side: https://github.com/sponsors/WyriHaximus

(It includes a blog post preview 😎 .)

wyri,
@wyri@haxim.us avatar

Also added a bit about my @reactphp based and my thoughts on and how to get ORM's to it: https://github.com/WyriHaximus/reactphp-simple-orm

cincura_net, to dotnet
@cincura_net@mas.to avatar

Package Microsoft.EntityFrameworkCore has now over 1B downloads.

🎉

SenseException, to golang German
@SenseException@phpc.social avatar

When I did my multilanguage SQL/ORM talk many years ago, GORM was one of my choices for the / parts.
https://github.com/go-gorm/gorm

sarahboyce, to django
@sarahboyce@mastodon.social avatar

Did you know that many Django newcomers get confused between null=True and blank=True?
With over 1000 upvotes, this is one of the most popular StackOverflow questions on Django.
Here I try to demystify blanks and nulls: https://youtube.com/shorts/2BgoCIYkT4c?feature=shared

Article: https://www.jetbrains.com/guide/python/tips/django-blank-null/

(but as always the Django docs does a really great explanation 👏)

anubhav, to php

Could anyone suggest an for 7.2 & MariaDB 10 (Rocky Linux 8, Apache 2.4)? So far I have only used raw SQL in PHP.

I found <https://www.doctrine-project.org/projects.html>, <https://github.com/propelorm/Propel2/releases>, & <https://github.com/bcosca/fatfree> "F3". I have zero familiarity with all of those.

I noticed that Doctrine 3 documentation mentions 7.4 & latest stable versions of PHP, ALONG WITH "7.1+" <https://www.doctrine-project.org/projects/doctrine-orm/en/3.1/tutorials/getting-started.html#guide-assumptions>. What would I be missing with PHP 7.2?

almet, to django French
@almet@tutut.delire.party avatar
h30x, to random French
@h30x@mastodon.zaclys.com avatar

La page wikipedia qui liste les (object relational mapping) précise en commentaire :
"Only place entries here that are links to actual Wikipedia articles about notable object–relational mapping software. External links, redlinks, non-notable sites will be removed. If you have questions, use the talk page."

https://en.wikipedia.org/wiki/List_of_object%E2%80%93relational_mapping_software

Mais il y a plein d'ORM qui n'ont pas de page wikipedia. Connaissez-vous un endroit où on pourrait trouver une liste plus complète ?

paulox, (edited ) to django
@paulox@fosstodon.org avatar

I published my latest article in the series on database-generated columns, using PostgGIS, GeoDjango, and the GeneratedField added in Django 5.0 🤖🌍

Send feedback 👇
https://www.paulox.net/2023/12/11/database-generated-columns-part-3-geodjango-and-postgis/

paulox, (edited ) to django
@paulox@fosstodon.org avatar

Django 5.0 has been released 🎉

After months of work, everyone can use this great new version 🙌

My favorite features are:
• 🤖 generated fields
• ✅ database default values
• 🔑 prefetch related for generic foreign keys

Which are your favorite features?
https://www.djangoproject.com/weblog/2023/dec/04/django-50-released/

lo_fye, to php
@lo_fye@mastodon.cloud avatar

I use ORMs like Eloquent for CUD and very simple R, but custom queries for any complex R. It always executes quicker and returns more memory-efficient results. If I want instances of the first page of results’ objects, I select just those IDs and get models back.

leanmapper, to php

New version 4.0.5

This release added support for PHP 8.3.

https://github.com/tharos/leanmapper

paulox, to django
@paulox@fosstodon.org avatar

I published my second article about database generated columns, using PostgreSQL and new generated fields added in Django 5.0 🤖🐘

I'd be very happy to have your feedback 🤗
https://www.paulox.net/2023/11/24/database-generated-columns-part-2-django-and-postgresql/

paulox, to django
@paulox@fosstodon.org avatar

After Django 5.0rc1 release, I updated my generated fields article ✨

I also tried to improve the titles as suggested by @adamchainz whom I thank 🎨

All feedback is welcome 🤗

https://www.paulox.net/2023/11/07/database-generated-columns-part-1-django-and-sqlite/

paulox, (edited ) to django
@paulox@fosstodon.org avatar

I published an introduction to database generated columns, using SQLite and the new GeneratedField added in Django 5.0 🤖

I'd be very happy to have your feedback on my article 🤗

https://www.paulox.net/2023/11/07/database-generated-columns-part-1-django-and-sqlite/

jknodlseder, to climate
@jknodlseder@astrodon.social avatar

Are you sure that you want to power your astronomical telescopes with electricity that has such high carbon intensity?

paulox, to opensource
@paulox@fosstodon.org avatar

I didn't know about this SQLite fork. ⎇

I wonder if it can be used with the same SQLite backend for the Django ORM. 🤔

You can read more about our goals and motivation in the announcement article 👇
https://itnext.io/sqlite-qemu-all-over-again-aedad19c9a1c

SenseException, to random German
@SenseException@phpc.social avatar

Phoenix is reopening the case for a third time.

cincura_net, (edited ) to dotnet
@cincura_net@mas.to avatar

Entity Framework Core, or any ORM for that matter, can be magic, madness and maybe even a sin. Come to my workshop so your following project is not your next mistake. I'll show you incredible things, leave you breathless (and without scars), possibly screaming and crying.

https://www.tabsoverspaces.com/id/233927

kushal, to python
@kushal@toots.dgplug.org avatar
paulox, to django
@paulox@fosstodon.org avatar

I found my second bug in Django 5.0 after the feature freeze 🐛

It's related to GeneratedField and DecimalField and maybe you can help to fix it 👇
https://code.djangoproject.com/ticket/34877

paulox, to django
@paulox@fosstodon.org avatar

I found my first bug in Django 5.0 after the feature freeze 🐛

It's related to GeneratedField and JSONField and maybe you can help to fix it 👇
https://code.djangoproject.com/ticket/34861

oscarmlage, to django Spanish

I'll never cease to be amazed by the power of Django's ORM. 🚀

mrysav, to random

If the ecosystem you're writing in doesn't have a , and you don't want to write and maintain an ORM, you are doomed to poorly recreate an ORM.

emacsen, to programming
@emacsen@emacsen.net avatar

A bit of a programmer rant...

People wonder why I like ORMs even when they're unnecessary. Firstly, I've never liked SQL. I think that writing queries to a RDBMS is something that a computer should do, akin to compilation. In the few times when extreme optimization is warranted, low level code can be generated to suit that specific case. In other times, ORMs usually provide a more natural interface to data that increases readability and code flow.

1/2

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • rosin
  • mdbf
  • everett
  • DreamBathrooms
  • Durango
  • magazineikmin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • vwfavf
  • khanakhh
  • kavyap
  • megavids
  • ngwrru68w68
  • cubers
  • modclub
  • tester
  • InstantRegret
  • ethstaker
  • tacticalgear
  • normalnudes
  • cisconetworking
  • anitta
  • GTA5RPClips
  • Leos
  • JUstTest
  • All magazines