Client-side and Server-side JavaScript - Core JavaScript
(Page 2 of 6 )
Core JavaScript encompasses all of the statements, operators, objects, and functions that make up the basic JavaScript language. Originally called LiveScript, JavaScript is a cross-platform, object-oriented scripting language created by Brendan Eich of Netscape. JavaScript is the world's most popular programming language, used on more platforms and in more languages than any other programming language in history. It's been licensed by more than 175 companies for inclusion in their web tools. JavaScript is even available as a standalone scripting language. You can thus take advantage of the booming popularity of JavaScript by integrating it into your own products.
There is the ECMA Script -- this is the version of JavaScript that has been standardized by ECMA (a European association for standardizing information and communications systems). The ECMA specification is based on JavaScript 1.1 and includes only the core JavaScript language. No client-specific or server-specific objects or functions were included in the ECMA standard at the time this article was written.
The following objects are part of core JavaScript:
- array
- date
- math
- number
- string
As you can see, core JavaScript contains objects that are applicable to both client and server. If you know core JavaScript, you can easily write client-side and server-side JavaScript. Again, the only distinction is that client-side and server-side JavaScript have additional objects and functions that you can use that are specific to client-side or server-side functionality. Any JavaScript libraries (.js files) you create in core JavaScript can be used on both the client and the server with no changes whatsoever.
Next: Client-Side and Server-Side JavaScript >>
More JavaScript Articles
More By Ibama Supreme Tmunotein