4 ms·
There’s nothing in OPs architecture that dictates a descent into spaghetti code. It looks very similar to a Flask (Python), Sinatra (Ruby) or Express (JavaScri
by williamcotton 3y ago
There’s nothing in OPs architecture that dictates a descent into spaghetti code.
It looks very similar to a Flask (Python), Sinatra (Ruby) or Express (JavaScript) server-side application. It is very straightforward to use a traditional MVC-with-HTTP-verbs architecture.
These end up being way cleaner than whatever happens when you split up the backend and front end into separate coupled applications.
The downside has always been that your website seems a bit sluggish when doing full page reloads… but that’s where edge compute comes into play and it starts to feel as snappy as a server-side rendered web app feels when running locally.