Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "API"

From NetSec
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<b>A</b>pplication <b>P</b>rogrammable <b>I</b>nterface
 
<b>A</b>pplication <b>P</b>rogrammable <b>I</b>nterface
  
An API is a component for a specific piece of software which enables other software to communicate with it. For example, if you wanted to write some code to embed Google Maps into your website, you would have to read about the Google Maps API, then write code that makes requests to the Google Maps servers using the API protocols, which in result would allow you to embed Google Maps onto your website.
+
An API is a component for a specific piece of software which enables other software to communicate with it. It can also be defined as a group of functions provided for a programmer to call either locally or remotely using a defined calling convention.  For example, if you wanted to write some code to embed Google Maps into your website, you would have to read about the Google Maps API, then write code that makes requests to the Google Maps servers using the API protocols, which in result would allow you to embed Google Maps onto your website.
  
= API technologies o=
+
= API technologies =
  
 
== The Web ==
 
== The Web ==
 
=== Web services ===
 
=== Web services ===
Web services use the [[HTTP protocol]] verbs (GET, PUT, POST, DELETE...) to propose read-only or read/write access to data services.
+
Web services use the [[HTTP]] [[protocols|protocol]] verbs (GET, PUT, POST, DELETE...) to propose read-only or read/write access to data services.
  
 
=== Remote Procedure Calls ===
 
=== Remote Procedure Calls ===
Line 17: Line 17:
  
 
=== COM objects (Windows) ===
 
=== COM objects (Windows) ===
 +
[[Category:Programming]]

Latest revision as of 19:40, 7 August 2012

This article contains too little information, it should be expanded or updated.
Things you can do to help:
  • add more content.
  • update current content.

Application Programmable Interface

An API is a component for a specific piece of software which enables other software to communicate with it. It can also be defined as a group of functions provided for a programmer to call either locally or remotely using a defined calling convention. For example, if you wanted to write some code to embed Google Maps into your website, you would have to read about the Google Maps API, then write code that makes requests to the Google Maps servers using the API protocols, which in result would allow you to embed Google Maps onto your website.

API technologies

The Web

Web services

Web services use the HTTP protocol verbs (GET, PUT, POST, DELETE...) to propose read-only or read/write access to data services.

Remote Procedure Calls

RPC is a technology used to call remote procedures (pieces of code) and to retrieve the results, most often over a network. Using a RPC technology (Corba, RMI...) one may call a function with arguments to a remote service, and retrieve the result in normalized form, bypassing the endianness and other cross-platform issues.

General software

Software Libraries

COM objects (Windows)