Please enable JavaScript.
Coggle requires JavaScript to display documents.
Web Services (Class-based APIs (As an example for C#, there’s the MSDN…
Web Services
"RSS is a type of web feed which allows users to access updates to online content in a standardized, computer-readable format. These feeds can, for example, allow a user to keep track of many different websites in a single news aggregator."
-
-
-
-
"REST stands for Representational State Transfer. It relies on a stateless, client-server, cacheable communications protocol — and in virtually all cases, the HTTP protocol is used. REST is an architecture style for designing networked applications."
The client handles the frontend, and the server handles the backend. Both can be independent from each other.
Makes data available as resources (nouns), for example “user” or “invoice””
-
-
"SOAP relies exclusively on XML to provide messaging services. Microsoft originally developed SOAP to take the place of older technologies that don’t work well on the Internet such as the Distributed Component Object Model (DCOM) and Common Object Request Broker Architecture (CORBA)."
Makes data available as services (verb + noun), for example “getUser” or “PayInvoice”
-
When to use
When clients need to have access to objects available on servers
When you want to enforce a formal contract between client and server
-
-
JSON-RPC is similar to XML-RPC, but uses JSON instead of XML for data transfer.
XML-RPC
XML-RPC is an older protocol than SOAP. It uses a specific XML format for data transfer, whereas SOAP allows a proprietary XML format. An XML-RPC call tends to be much simpler, and to use less bandwidth, than a SOAP call. (SOAP is known to be “verbose”.) SOAP and XML-RPC have different levels of support in various libraries. There’s good information in this Stack
Source: Stackoverflow
Hardware APIs
Hardware APIs are for manipulating addressable pieces of hardware on a device – things like video acceleration, hard disk drives, PCI buses.
Class-based APIs
As an example for C#, there’s the MSDN Class Library for the .NET Framework. The Twilio APIs mentioned above also include both Java and C#.
Source: Stackoverflow
-
-
The Java API itself. This is a set of classes that come along with the Java development environment (JDK) and which are indispensable if you’re going to program in Java. The Java language includes the basic syntax and primitive types. The classes in the Java API provide everything else – things like strings, arrays, the renowned Object, and much much more.
These APIs provide data and functionality organised around classes, as defined in object-oriented languages. Each class offers a discrete set of information and associated behaviours, often corresponding to a human understanding of a concept.
-
-
-
-
-
-
-