Tuesday, April 5, 2011

Web Services Via Apis

Web service: [A software system designed]

A Web service (also Web Service) is defined by the W3C as "a software system designed to support interoperable machine-to-machine interaction over a network".

API: [An application programming interface]

An application programming interface (API) is a set of routines, data structures, object classes and/or protocols provided by libraries and/or operating system services in order to support the building of applications.

Q: So all web services are API but not all API's a webservice?
Yes, APIs can be libraries such as DLLs, JARs or OCX etc.
They can also be a source code distribution such as Facebooks' PHP api...

&

An webservice IS a API over HTTP. They often utilize JSON or XML,
but there are some other approaches as well.

Examples:

Examples of web services specifically see SOAP, REST, and XML-RPC

Example of another type of API, one written in C for use on a local machine, see the Linux Kernel API




Note: web service is a type of API. OR Web service as a web api.

courtesy of Wikipedia and http://stackoverflow.com

2 comments:

  1. I am Web marketer and also working on the e-commerce solutions such as vituemart, os-commerce and latest one prestashop etc. Can you add some article on it!
    SEO Guild

    ReplyDelete
    Replies
    1. Dear F@!S@LI,
      'm sorry, i don't have any experience in SEO. i have experience in programming.

      Regards

      Delete