What is meant by "application framework"? [duplicate]
Asked Answered
S

3

4

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"?

Spade answered 22/11, 2010 at 3:3 Comment(1)
Other possible dups and related stuff: #724938 #2521815 #4100475Aniela
S
7

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.

Sarazen answered 22/11, 2010 at 5:1 Comment(3)
Thanks ya,now i got hold of this jargon.:-)Spade
@Tergiver, Regarding "frameworks make writing applications easier".... Not necessary in real-life. See discuss.joelonsoftware.com/default.asp?joel.3.219431.12Pleuron
@Pleuron That is a very funny article and quite appropriate here.Sarazen
W
2

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

Wooded answered 22/11, 2010 at 3:9 Comment(0)
W
2

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."

Weissberg answered 22/11, 2010 at 3:33 Comment(1)
Qt has being mentioned both app framework and UI framework(again confusion).Can we program(like java) in it or just exclusively for GUI(something like GUI builder)?Spade

© 2022 - 2024 — McMap. All rights reserved.