简体   繁体   English

以API为中心的应用程序或REST或Web服务从何处开始

[英]API centric application or REST or Web service Where to start

BRIEF: 简要:

I am working on a web application, we decide to make some major. 我正在开发Web应用程序,因此我们决定学习一些专业。 We did some researches and we found this tutorial that talks about "Creating api centric application". 我们进行了一些研究,发现此教程涉及“创建以api为中心的应用程序”。

we found the topic is very useful to us as we need in the near future to make an android app. 我们发现该主题对我们非常有用,因为在不久的将来我们需要制作一个Android应用。

WE STARTED WITH: 我们开始于:

Doing some searches starting from this query "api centric application" and we found these two topics related to that query: 从此查询“以API为中心的应用程序”开始进行一些搜索,我们发现了与该查询有关的以下两个主题:

  1. REST 休息
  2. WEB SERVICE 网络服务

WHAT WE WANT TO KNOW: 我们要知道的是:

  1. What is the difference between these terms "API centric application", "REST", "Web Service" 这些术语“以API为中心的应用程序”,“ REST”,“ Web服务”之间有什么区别

  2. Is Rest an alternative way of Web service? Rest是Web服务的替代方法吗?

  3. Is API Centric Application an approach of REST? 以API为中心的应用程序是REST的方法吗?

  4. Is Web Service the parent of all this terms? Web Service是所有这些条款的父项吗?

Do i need to produce some other information in order to this question be eligible for policy. 我是否需要提供其他信息才能使该问题符合政策要求。

After study all these types i found that : 研究所有这些类型后,我发现

A Web Service is a type of API, and all web-services must be API but not all API's must be web-services, The REST is a new concept of writing web-services and Web services written by apply REST Architectural concept are called RESTful web services Web服务是API的一种,并且所有Web服务都必须是API,但并非所有API都必须是Web服务。REST是一种编写Web服务的新概念,而由应用REST编写的Web服务被称为RESTful网页服务

So my focus will be on changing my application to be API centric application by using REST Web service as this practice 所以我的重点将是改变我的应用程序通过使用REST Web服务,因为这是API为中心的应用实践

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM