Hacker News new | ask | show | jobs
by imtringued 123 days ago
You know, I thought about doing something like this, but without the LLM.

Rails scaffolding takes a data model and automatically generates a UI. The obvious problem with this is that the web development community lives in the stone age and has failed to sufficiently separate layout from content and styling [0].

In scaffolding, the component types are chosen automatically based on the data model, but there is no obvious way to specify their arrangement. This leads to bland UIs that always follow the same layout structure unless you go out of your way to rip out pretty big parts of the scaffolding where layout and content is mixed, which defeats the value proposition.

[0] Introducing layout features to CSS was a mistake. The CSS grid syntax is horrible.