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

后端 未结 5 963
暖寄归人
暖寄归人 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:50

    The main difference is the purpose of functionality.

    An API is designed to solve some specific problem in a particular domain.it contains necessary data structure, classes,methods,interface etc. Such as ADO.net API provides the functionality to connecting Microsoft SQL Server.

    A framework designed to help developer to reusable,scalable software application.a frameworks has no specific functionality like API but its various functionality exposed by API . Such as , ADO.net is an API of .net framework for accessing data service. A framework has compiler, programs,class libraries,run-time.it can add plug-in.

提交回复
热议问题