V2EX  ›  英汉词典
Enqueued related words: Graphql

Backend for Frontend

释义 Definition

Backend for Frontend(BFF):一种架构模式,为某个特定前端客户端(如 Web、iOS、Android)单独提供一个“定制化后端层”。该后端会按该前端的需求聚合数据、编排调用、做轻量业务适配,从而减少前端与多个微服务/后端系统的耦合,并优化接口形态与性能。
(也常写作 Backends for Frontends;属于软件架构/接口设计语境。)

发音 Pronunciation (IPA)

/ˈbækˌɛnd fɔːr ˈfrʌnˌtɛnd/

例句 Examples

A BFF can simplify the mobile app’s API calls.
BFF 可以简化移动应用的 API 调用。

By introducing a backend for frontend, the team created separate APIs for web and mobile, reducing over-fetching and isolating UI changes from core microservices.
通过引入 BFF,团队为 Web 和移动端分别提供 API,减少了“取多余数据”的问题,并把界面层变更与核心微服务隔离开来。

词源 Etymology

该术语源自软件架构实践中的命名:backend(后端)+ for(为……服务)+ frontend(前端)。它强调“后端不再只有一个通用入口,而是为不同前端提供各自最合适的后端接口层”。该概念在微服务与多终端(多客户端)流行后被广泛传播。

相关词 Related Words

文学作品/著名文本 Literary Works

  • Martin Fowler 网站文章《Backends for Frontends》(提出并普及该模式的经典论述之一)
  • Sam Newman《Building Microservices》(讨论微服务与前端集成/接口边界时常提及 BFF 思路)
  • Chris Richardson《Microservices Patterns》(涉及 API 组合、网关与客户端适配等与 BFF 密切相关的模式)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   726 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 19:38 · PVG 03:38 · LAX 11:38 · JFK 14:38
♥ Do have faith in what you're doing.