Content deleted Content added
No edit summary |
VBScript was redifined as "server-side" rather than "client-side" because it is used almost exclusively as a server side script for active server pages. It is rarely ever used as a client-side script. |
||
Line 1:
'''Client-side scripting''' generally refers to the class of [[computer program]]s on the [[World Wide Web|web]] that are [[Execution (computers)|executed]] ''[[client-side]]'', by the user's [[web browser]], instead of ''[[server-side]]'' (on the [[web server]]). This type of [[computer programming]] is an important part of the [[Dynamic HTML]] (DHTML) concept, enabling [[web page]]s to be [[Script (computer programming)|scripted]]; that is, to have different and changing content depending on user [[input]], environmental conditions (such as the time of day), or other variables.
Web authors write [[client-side]] scripts in languages such as [[JavaScript]] ([[Client-side JavaScript]])
*[[HTML scripting]]
Line 11:
By viewing the file that contains the script, users may be able to see its [[source code]]. Many web authors learn how to write client-side scripts partly by examining the source code for other authors' scripts.
In contrast, [[server-side scripting|server-side scripts]], written in languages such as [[Perl]], [[PHP]], and [[
Client-side scripts have greater access to the information and functions available on the user's computer, whereas server-side scripts have greater access to the information and functions available on the server. Server-side scripts require that their language's [[Interpreter (computing)|interpreter]] is installed on the server, and produce the same output regardless of the client's browser, [[operating system]], or other system details. Client-side scripts do not require additional software on the server (making them popular with authors who lack administrative access to their servers); however, they do require that the user's web browser understands the scripting language in which they are written. It is therefore impractical for an author to write scripts in a language that is not supported by the web browsers used by a majority of his or her audience.
|