+ 1
What are frameworks?
what is a framework? how does it work? Where to use and how to use?
2 Answers
+ 6
A framework is a collection of programs that do something useful and which you can use to develop your own applications. A framework guides you on how to do something (like a predefined way of doing things). It's kind of the skeleton of an application which you take advantage of to build your own stuff.
Normally frameworks are written in a specific progamming language. That is, I haven't heard about a framework that is implemented in many language and you can choose from among them.
There are some very special characteristics that differentiate frameworks from normal libraries. For example:
Inversion of control: the framework already laid things for you. You have to follow the way of doing things that the framework author determined.
Has a default implementation: A framework does something useful out of the box. You just "customize" it for your specific needs.
all in all, A language is syntax, grammar, semantics (and perhaps a core library) that implementers are required to support. A framework is a cohesive set of library code that together simplifies programming in any given language.