Introduction Flashcards
What is JavaScript?
JavaScript is a cross-platform, object-oriented scripting language used to make webpages interactive
There are also more advanced server side versions of JavaScript such as Node.js, which allow you to add more functionality to a website than downloading files
Inside a host environment JavaScript can be connected to the objects of its environment to provide programmatic control over them
Describe the features of Client-Side JavaScript
JavaScript’s core language can be extended by supplying objects to control a browser and its Document Object Model (DOM)
For example, client-side extensions allow an application to place elements on an HTML form and respond to user events such as mouse clicks, form input, and page navigation
Describe the features of Server-Side JavaScript
JavaScript’s core language can be extended by supplying objects relevant to running JavaScript on a server
For example, server-side extensions allow an application to communicate with a database, provide continuity of information from one invocation to another of the application, or perform file manipulations on a server
Is JavaScript standardized?
JavaScript is standardized at Ecma International - the European association for standardizing information and communication systems (ECMA was formerly an acronym for the European Computer Manufacturers Association) to deliver a standardized, international programming language based on JavaScript
This standardized version of JavaScript, called ECMAScript, behaves the same way in all applications that support the standard