|
|
|
|
|
by j-j-j-j
837 days ago
|
|
Good example why using HTMX is usually a great idea. You can do your joins right there in the DB, it's easy and natural. SPAs are only a good idea if you ignore all the complexity required to make them actually work decently - like carrying over the whole data model all the way to the frontend app. |
|
Even back in the multi-page application days people doing large apps were already splitting their code MVC style with a model-layer that functions much like an API layer does today in an SPA.
Most devs don't understand that some techniques just don't work after a certain point and others are too complex for simple use cases. Everybody wants their silver bullet...