A scripting language is a programming language which is interpreted at runtime instead of being compiled to machine code. A language can be executed in different ways - interpreted or compiled (to bytecode or machine code). Traditionally, when talking about the difference about scripting vs. programming, scripting languages are interpreted and programming languages are compiled. Basically, all scripting languages are programming languages. The theoretical difference between the two is that scripting languages do not require the compilation step and are rather interpreted .
The spectrum of scripting languages ranges from very small and highly domain-specific languages to general-purpose programming languages used for scripting. The most basic scripting interface developed at W3C is the DOM, the Document Object Model which allows programs and scripts to dynamically access and update the content, structure and style of documents. DOM specifications form the core of DHTML . Scripting can make Web pages more dynamic. For example, without reloading a new version of a page it may allow modifications to the content of that page, or allow content to be added to or sent from that page.
- What is noscript tag?
- Difference between '=', '==' and '===' operators?
- What is Browser Object Model
- How to test a string as a literal and as an object ?
- What is Associative Array? How do we use it?
- What's the Difference Between Class and Prototypal Inheritance?
- Event bubbling and Event Capturing in JavScript?