What is the difference between an API , framework and middleware?

后端 未结 5 958
暖寄归人
暖寄归人 2021-01-30 09:10

Just Randomly got this question in my head! Whats the difference between API , Framework and middleware? Essentially all of them provide abstract low level services to apps. In

5条回答
  •  广开言路
    2021-01-30 09:52

    A framework implements an API. The API isolates framework clients from the implementation details of the underlying framework. Thus (broadly speaking) you can use Mono or .Net Framework to run a program based on common source code, because the API to either framework is the same.

    Middleware is typically a framework specialized for interprocess communication.

提交回复
热议问题