1

Possible Duplicate:
API vs Toolkit vs FrameWork vs Libarary

Can someone Explain the differences between an API, a Framework and a Library. Some examples would be helpfull , specially for API.

Community
  • 1
  • 1
TruckDriver
  • 1,383
  • 13
  • 28

1 Answers1

0

API (Application Programming Interface) - Allows you to use code in an already functional application in a stand-alone fasion.

Framework - Code that gives you base classes and interfaces for a certain task/application type, usually in the form of a design pattern. (Though not always)

Library - Related code that can be swapped in and out at will to accomplish tasks at a class level

Ref Ryan answer

Community
  • 1
  • 1
Soner Gönül
  • 97,193
  • 102
  • 206
  • 364
  • Thanks,Can you also give some examples? – TruckDriver Jul 12 '11 at 13:53
  • Sure, Api -> [Abstract Window Toolkit](http://en.wikipedia.org/wiki/Abstract_Window_Toolkit), Framework -> [.Net Framework](http://www.microsoft.com/download/en/details.aspx?id=19), Library -> [ASP.NET Ajax Library](http://www.asp.net/ajaxlibrary/download.ashx) – Soner Gönül Jul 12 '11 at 13:56
  • thanks a lot man, i will find out something with this.Some people in here seem quite hostile. – TruckDriver Jul 12 '11 at 14:00