What is the difference between an API and a framework?

Questions by joel   answers by joel

Showing Answers 1 - 6 of 6 Answers

mohammed umer farooq

  • Mar 9th, 2007
 

API is a set of classes written for a desired functionality..For example JDBC API provides the functionality to connecting databases in java..whereas framework is also a set ot classes but the purpose is not a specific functionality this time..but purpose is to help out the developers to develop robust,resusable and sacalabe applications..

regards
Mohammed

  Was this answer useful?  Yes

Dusan

  • Nov 2nd, 2007
 

Furthermore, an API is often a finished, working component which is readily used (maybe with some minor additions). Frameworks are in no instance ready out-of-the-box and aim to take care some of the work which would be done over and over again to solve a problem in a particular domain.

One of many examples of frameworks is the Ruby on Rails framework, which takes care of some of the work which would be done by everyone making a website - however, the framework is not ready out of the box (you have to fill in some gaps).

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions