7 Comments

Love this, especially the Best Practices section! Much insights right there, keep these coming my friend!

Expand full comment
author

Thanks Daniel!

Expand full comment

It is like giving each frontend its own personal assistant; custom APIs that make sure it gets exactly what it needs without the extra baggage.

Thanks for the shoutout, Saurabh!

Expand full comment
author

Indeed...more flexibility for every client.

Thanks Raul. Your article was amazing! 👊

Expand full comment
Oct 8Liked by Saurabh Dashora

Great intro to the BFF Pattern!

I've never heard about this pattern before, but I've used it in the past.

It involves a lot of work. I had more success with GraphQL, maintaining a single schema and simply pulling what's required for each device. This way, the server remains consistent, and the client application knows what needs to be fetched — they already know what they need for their UIs anyway.

Expand full comment
author

Thanks Akos. Glad you enjoyed the post.

Yes, I agree. GraphQL is a nice alternative to BFF. One place where BFFs are better suited as compared to GraphQL is resiliency. One BFF going down due to some localized bug doesn't impact other BFFs serving other clients or partner integrations.

Expand full comment

And when you feed your backend-fro-frontend with event-drive, you have something beautiful :)

Expand full comment