Hacker News new | ask | show | jobs
by obrhoff 1264 days ago
People don't speak about other approaches. For example my team adopted the BFF (Backend for frontend) pattern. Android and iOS Developers work together on a shared BFF and encapsulate there as business logic as possible. Also we define OpenAPI specs on the BFF to generate data models and API code for the clients. It works pretty good for us.
2 comments

The ol’ moving more logic to the backend

I see this being a trend in the coming years

Isn't a shared BFF an oxymoron, considering that you typically build a BFF specifically for one client and its needs? Maybe you just have a backend :)
If you want to nitpick ofc. in this case its about mobile.