phpc.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A server for PHP programmers & friends. Join us for discussions on the PHP programming language, frameworks, packages, tools, open source, tech, life, and more.

Administered by:

Server stats:

774
active users

Larry Garfield

Why is it the language-agnostic formats for defining data models are either

1. Grossly over-engineered for one purpose
2. Grossly over-verbose
3. Both

Where's my clean, easy syntax for defining data classes that can be generated into *simple* PHP, JS, Kotlin, etc? Where's my DTO-maker format?

@Crell apps.kde.org/fr/umbrello/ does something like that *ish*.

Generate your classes objects in diagram class graph and then you can generate the code related.

Not perfect but can be a starting point?

Applications de KDEUmbrelloModeleur UML

@artusamak Maybe, but I would prefer an easy text format, not a GUI. Plus, I'm the only Linux user on the team. 🙂

@Crell basically an object definition language?

@Crell I dislike myself for saying this, but ... this sounds like something LLM's might actually be good at.