Hacker News new | past | comments | ask | show | jobs | submit login

Anyone got an example of this being implemented in real life?

Hard to understand from just text and the concepts.




I mean it's a pretty simple concept.

Your frontend team needs an API call that retrieves only friend requests with user names/avatars because the current API call is too heavy.

Normally they'd go to the back-end team and ask them to add an endpoint or modify an existing endpoint to give them the exact data they need. The problem with that is global API surface area becomes more complicated. Complexity is bad because more mistakes are made.

With this model your front-end team can implement the endpoint themselves in the BFF and model the response data exactly as they need it.

They also don't need to deal with that one zealot on the back-end team that gives everyone a hard time about tiny irrelevant issues.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: