this post was submitted on 29 Jul 2024
133 points (92.9% liked)

Programming

17366 readers
465 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] masterspace@lemmy.ca 5 points 3 months ago* (last edited 3 months ago)

Think about something as simple as a form. That's a standard problem. But I can't just write down a "form-spec" and have a frontend and backend for that. No, I need a bunch of libraries that don't quite work together and need a lot of persuasion to work together.

You can just spin up a Next.js project complete with API calls and ready to go forms. Pick a full stack framework and go with it, there are several.

The larger reason that there is separation between front and back end though is that there is intentional decoupling between them because the backend might also be responding to requests from native applications, or other servers.

Hell, what you're describing with Gui based application builders also exist everywhere. That's basically airtable or salesforce or flutterflow, and guess what, those applications all kind of suck because a form is not as standard as you think. In a good application, there will always be customized design, flow and logic that happens to capture user input on the frontend, and on the backend there are a myriad of reasons to optimize different databases for different things. Look at the limitations you run into with Salesforce and Airtable databases because every database needs to have a whole plethora of features just to support the frontend Gui interface to manipulate them. I mean if you just want a flat form use Google forms, if business logic starts connecting some of the fields with complicated relationships and flows then suddenly things aren't so standard.