nicky
nicky

Reputation: 3898

What is meant by framework, programming language and scripting language?

What is meant by framework, programming language and scripting language?

Upvotes: 24

Views: 23796

Answers (5)

Framework is a combination of class libraries and runtime environment to execute code by independent on operating system. It is placed on operating system, mask functionalities of OS. Scripting language is a language, it has script nothing but a support to another language its not used individual, like JavaScript, asp.net server side scripting, these are all give support and prompting to other languages, like JavaScript give prompting to html. Programming language is instruction to computer and then computer execute that one

Upvotes: 0

Venkat
Venkat

Reputation: 29

  • Framework is a combination of class libraries and runtime environment to execute code by independent on operating system. It is placed on operating system, mask functionalities of OS.
  • Scripting language is a language, it has script nothing but a support to another language its not used individual, like JavaScript, asp.net server side scripting, these are all give support and prompting to other languages, like JavaScript give prompting to html.
  • Programming language is instruction to computer and then computer execute that one

Upvotes: 2

Scott Evernden
Scott Evernden

Reputation: 39940

Frameworks are libraries or templates of pre-written stuff you can re-use. They often come with a pre-imposed structure and philosophy of how to approach a domain of problems.

Programming language is a superset of scripting language and includes anything you yourself write that makes a computer do something.

Scripting languages are traditionally interpreted meaning they are useful for smaller more light-weight purposes, but that definition is getting vaguer since JavaScript - a 'scripting language', for example, is not interpreted so much these days.

Upvotes: 2

duffymo
duffymo

Reputation: 308733

I think Daniel Pryden's points are excellent - I voted him up. I'd just like to add a couple of minor additions.

Programming languages, like C and C++, used to have a compiling and linking step that rendered the source code into a machine-language form that was run by the operating system.

Scripting languages, like the Unix Bourne, Korn, and C shell, were not compiled or linked like C and C++. (Thanks to Daniel Pryden's correction and citation of the Unix scripting languages.)

Since virtual machines have become so common in languages like Java, Python, and C#, the distinction between scripting and programming has been blurred.

As for the distinction between libraries and frameworks: your code links in libraries and calls them. This is different from a framework, because your code is plugged into the framework. It's known as the Hollywood principle: "Don't call us, we'll call you."

Upvotes: 19

Daniel Pryden
Daniel Pryden

Reputation: 60927

The distinction between programming languages and scripting languages is ill-defined. In my opinion, we should dispense with the term "scripting language" and just call them all programming languages.

A framework, on the other hand, is a collection of code that uses an inversion-of-control mechanism to help you structure your code. Frameworks are similar to libraries in that they provide building blocks you can use to build a bigger system.

Upvotes: 19

Related Questions