Hacker News new | ask | show | jobs
by jabradoodle 868 days ago
How can it operate completely independently if the front end requires data in a format it understands to perform logic on.
1 comments

By providing the data in a format that any consumer can understand. JSON, very often.
But your front end is still coupled to the structure of that JSON, which is often fine, but it is coupling
“Couples” means two-way. Of course your front end will depend on your backend, the problem arises when they become interdependent; when you can’t develop one without making changes to the other.

In this sense a frontend and a backend can be entirely independent, and in every sense the backend should be independent of the frontend.

It isn't entirely independent if a change in your backend can completely break your frontend.

Your using coupling as if it is a dirty word that means you've failed.