Question

Possible Duplicates:
What is a framework? What does it do? Why do we need a framework
What is the difference between a class library and a framework

Although I referred to various sources, I still can't understand the proper definition. What is meant by "application framework"?

Was it helpful?

Solution

Here's a simpler answer:

Application frameworks make writing applications easier.

Creating applications is hard. Applications have to provide input and output which they get through operating system semantics. Modern applications are usually GUI based and a GUI app is orders of magnitude more complex than a non-GUI app.

It's that simple. The framework takes all the complexities of interfacing with the operating system and simplifies them for you. It handles all the nitty-gritty details for you. Obviously certain frameworks do a better job at it than others.

There is one drawback to using an application framework that rarely seems to be discussed (presumably because we are all smiling about the amount of work we didn't have to do). In order to provide a simplified view of the operating environment, a framework has to box you into a certain 'style'. If your app is sufficiently different from the usual form of app, you are likely to end up frustrated in the framework as it will make doing what you want very difficult. This is partly because you now have to do all the things that the framework was hiding from you and partly because the framework is probably a closed system.

OTHER TIPS

Frameworks are a special case of software libraries in that they are reusable abstractions of code wrapped in a well-defined Application programming interface (API), yet they contain some key distinguishing features that separate them from normal libraries.

An application framework consists of a framework used by software developers to implement the standard structure of an application for a specific development environment

Wikipedia answers, as you might expect, that an application framework is a framework for developing applications.

An application typically provides a user interface. "Application framework" can be used loosely to refer to user-interface frameworks that provide little more than a collection of low-level user-interface controls -- like MFC, Swing, Qt and the like.

However, it is useful to distinguish these from more powerful frameworks like the Eclipse Rich-Client Platform and the Netbeans Platform, which provide a higher-level framework -- built atop those low-level toolkits -- on which to develop applications.

I personally use "application platform" only for these latter platforms, and refer to the low-level APIs as "user-interface toolkits."

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top