Client-side and Server-side JavaScript - Client-Side and Server-Side JavaScript
(Page 3 of 6 )
Client-Side JavaScript
Client-Side JavaScript (CSJS) is the single most popular language on the Internet, used in major web pages which are too numerous to be counted. CSJS is composed of core JavaScript and many additional objects, such as the following:
- document
- form
- frame
- window
The objects in CSJS enable you to manipulate HTML documents (checking form fields, submitting forms, creating dynamic pages, and such) and the browser itself (directing the browser to load other HTML pages, display messages, and so on).
Server-Side JavaScript
Server-side JavaScript (SSJS) is composed of core JavaScript and additional objects and functions for accessing databases and file systems, sending e-mail, and so on. SSJS enables developers to quickly and easily create database-driven web applications by leveraging their existing knowledge of JavaScript. It's used to create and/or customize server-based applications by scripting the interaction between objects.
SSJS is included with the Netscape Enterprise Server and is ideal for creating web applications that can be run on any platform, on any browser, and in any language. Why create something in Visual Basic or PowerBuilder that can be run on only one platform, when you can create a web application with SSJS that can be run on any existing platform (such as UNIX, Mac, and Windows) and even future platforms (like BEOS)?
SSJS is also available in the Actra line of E-Commerce applications from Netscape, so that customers can customize their applications. The objects employed in the Actra implementation of SSJS are different from those used on the Enterprise Server because the data access engines are different. However, the core language is the same.
Next: CSJS vs. SSJS >>
More JavaScript Articles
More By Ibama Supreme Tmunotein