In server-side scripting, the scripts are never visible to the browser because they are executed directly on the server and emit HTML corresponding to user’s input to the page. This can be counted as an advantage because client-side scripting doesn’t prevent scripts from observing.
When servers use the common way of serving data, for example HTTP of FTP protocols, the users are granted with the privilege of choosing a number of client programs. The most modern web browsers usually support requesting and receiving data from both HTTP and FTP protocols. If more specialized applications are necessary, programmers have to write their own server, client and communications protocols, which are required to be used with each other.
Some examples for usage of server-side scripting are e-commerce enabled web sites with product catalogues, order forms and payment processing.
The main server-side languages are Active Server Pages (ASP), PHP HyperText Preprocessor (PHP), Java Server Pages (JSP) and Coldfusion (CFM). There are some other examples like: ANSI C scripts, SMX, Lasso, WebDNA and many more.