Event JSON
{
"id": "2846f00eaecd13f23611c2633cfcd6f463bf0ec782b0d5452fb430ce0864ec92",
"pubkey": "129f83898c7008d335771fe681ecf979e7767ad958c552ff85de962ba2f775be",
"created_at": 1774967549,
"kind": 1,
"tags": [
[
"t",
"delegatedtypes"
],
[
"t",
"laravel"
],
[
"t",
"php"
],
[
"t",
"eloquent"
],
[
"t",
"opensource"
],
[
"t",
"webdev"
],
[
"imeta",
"url https://social-cdn.vivaldi.net/system/media_attachments/files/116/324/273/081/527/031/original/fb87721c7d178ad5.png",
"m image/png",
"dim 1600x800",
"blurhash UXQtA[HX$kR*tlZ$%MSeRjR*Szf+%gaeIUoM"
],
[
"proxy",
"https://social.vivaldi.net/users/michabbb/statuses/116324273343281578",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "#DelegatedTypes in #Laravel — Smarter Alternative to STI #PHP #Eloquent #opensource #webdev\n\n🏗️ Model class hierarchies via polymorphic relationships \u0026 delegation — composition over inheritance, done right\n\n🧵👇\n\n🔄 Each subtype keeps its own table while sharing a common root Entry model — no more nullable column bloat like with STI\n🎯 Comments, likes \u0026 reactions attach to the Entry — one route, one controller, no endpoint explosion\n\nhttps://social-cdn.vivaldi.net/system/media_attachments/files/116/324/273/081/527/031/original/fb87721c7d178ad5.png",
"sig": "4c6b72023d2be4f75c24788d418e1b1311db2b8f32287149e6da4d6039e216a22ab2865daf13589807007eb9093c78d6f171138dc071390dee6cf13bdbea3bae"
}