![]() |
what is the difference between an API and a library?
hi. i didn't know what API stands for so i looked it up. to me a library and an API sound similar to a library but im sure there are some differences that i don't know about. It soundslike a library could be part of an API but i dunno. Is a library moreso to make new programs and an API is to help developers develop an existing program? thanks for any replies in advance
|
just google for 'define:api'. You will find loads of definitions.
One description: Quote:
|
A library is not part of an API; the reverse is closer to being true. The API (Application Programmers Interface) is the specification of how applications can use the library.
|
Quote:
|
Quote:
|
Quote:
|
You don't want to write the all code to operate your system. You don't even want to learn all the code that already exists to operate your system. All you want to do is learn to invoke the code that operates your system. If the invocations are standardized, remain unchanged, and always result in the promised operation, you are in Fat City. If the operations are improved internally without deep-sixing your efforts, no sweat. This little piece of lagniappe given you by the people that actually wrote all that code, is the API. In my opinion, it includes the small layer of software necessary to standardize the invocations, as well as the detailed instructions for using it.
|
| All times are GMT -5. The time now is 5:34 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC