API的含义

发布于 2024-07-29 22:44:10 字数 239 浏览 6 评论 0原文

谁能告诉我下面一段中API的含义,它实际上是关于传输对象的:

如果可能是商业服务 可能会被要求发送或接收所有 或者它的大部分数据在一个大的、 粗粒度消息,很常见 为该服务提供该 其 API 中的功能。

提前致谢。

Could anyone please tell me the meaning of API in following paragraph, that's actually about Transfer Object:

If it's likely that a business service
might be asked to send or receive all
or most of its data in a big,
coarse-grained message, it's common
for that service to provide that
feature in its API.

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

堇年纸鸢 2024-08-05 22:44:10

“应用程序编程接口”——程序员用来与软件或服务进行通信的一组函数。

"Application Programming Interface" - a set of functions that a programmer uses to communicate with a piece of software or a service.

茶色山野 2024-08-05 22:44:10

API = 应用程序编程接口。 它是您向其他组件提供的编程接口的正式声明。 如果您是一家认真的服务提供商,那么您会特别注意 API 的设计。 使用 DTO 通常非常适合提供良好的接口。

维基百科链接

API = Application Programming Interface. It is your formal statement of the programming interafce you offer to other components. If you are a serious service provider then you pay careful attention to the design of your API. The use of DTOs is often very appropriate in the provisision of a good interface.

Wikipedia Link

七分※倦醒 2024-08-05 22:44:10

应用程序编程接口(API)是定义应用程序可以从库和/或操作系统请求服务的方式的接口

请参见此处:

有关 API 的维基百科文章

an application programming interface (API) is an interface that defines the ways by which an application program may request services from libraries and/or operating systems

see here:

Wikipedia article on API

紫瑟鸿黎 2024-08-05 22:44:10

它只是意味着该对象公开方法。 人们在表示对象的方法时使用 API 一词并不罕见。

编辑:顺便说一句,API 意味着应用程序可编程接口

It just means that that the object exposes methods. It's not uncommon for people to use the term API when they means methods of an object.

Edit: By the way, API means Application Programmable Interface

为你鎻心 2024-08-05 22:44:10

添加到前面的答案,假设对于美味网站 API,在您当前的程序中,您可以询问用户添加书签的最后一个网站的信息,以将其放入您的网站。 为了做到这一点,delicious 在他们的 API 中提供了一个 url,您可以将其与某些参数一起使用,它会返回一个 html 代码...

基本上任何提供 API 的网站/程序,基本上都可以让开发人员使用其数据库(由他们指定),他们基本上在 API 部分向开发人员提供方法

to add to the previous answers, let's say for the delicious websites API, in your current program, you can ask for it info on the last site that was bookmarked by a user to put it onto your website. In order to do that, delicious provides a url in their API, and you can use that with certain parameters and it will return you a html code...

Basically any sites/program that provides an API, basically enables the developers to use its database (dictated by them) and they basically provide methods to the developers in their API section

吖咩 2024-08-05 22:44:10

当您谈论任何对象的“API”时,您谈论的是可以发送到该对象的函数(也称为“命令”)。

When you talk about any object's "API", you're talking about the functions (aka 'commands') you can send to that object.

冷弦 2024-08-05 22:44:10

API = 应用程序编程接口

比较正式 API 的最佳方法是代码某些部分之间的契约。

如果你以这种特定的方式呼唤我,我总是会以特定的方式回应。

API = application programming interface

The best way to compare a formal API is an contract between certain parts of your code.

If you call me in this certain way, I will always respond in that certain way.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文