Server-side scripting

Server-side scripting

Server-side scripting is a web server technology in which a user's request is fulfilled by running a script directly on the web server to generate dynamic HTML pages. It is usually used to provide interactive web sites, that interface to databases or other data stores. This is different from client-side scripting where scripts are run by the viewing web browser, usually in JavaScript. The primary advantage to server-side scripting is the ability to highly customize the response based on the user's requirements, access rights, or queries into data stores.

When the server serves data in a commonly used manner, for example according to the HTTP or FTP protocols, users may have their choice of a number of client programs (most modern web browsers can request and receive data using both of those protocols). In the case of more specialized applications, programmers may write their own server, client, and communications protocol, that can only be used with one another.

Programs that run on a user's local computer without ever sending or receiving data over a network are not considered clients, and so the operations of such programs would not be considered client-side operations.

Explanation

In the "old" days of the web, server-side scripting was almost exclusively performed by using a combination of C programs, Perl scripts and shell scripts using the Common Gateway Interface (CGI). Those scripts were executed by the operating system, mnemonic coding and the results simply served back by the web server. Nowadays, these and other on-line scripting languages such as ASP and PHP can often be executed directly by the web server itself or by extension modules (e.g. mod perl or mod php) to the web server. Either form of scripting (i.e., CGI or direct execution) can be used to build up complex multi-page sites, but direct execution usually results in lower overhead due to the lack of calls to external interpreters.

Dynamic websites are also sometimes powered by custom web application servers, for example the Python "Base HTTP Server" library, although some may not consider this to be server-side scripting.

Dynamic web page production

The production of server-side dynamic web pages is one of the main applications of "server-side scripting" languages.

One important alternative to use them, on a MVC framework, is using web template systems. Any "not web specific" programming language can be used to manage template engines and web templates.

ee also

* Content management system (CMS)
* Web development
* Server-side JavaScript

External links

* [http://dmoz.org/Computers/Programming/Internet/Server_Side_Scripting/ Open Directory/Server Side Scripting]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Server Side Scripting — bezeichnet eine Technologie für Web Server bei der Benutzeranfragen erfüllt werden, indem ein Script (oder auch binäres Programm) auf dem Server ausgeführt wird um eine Dynamische Webseite zu erstellen. Im unterschied zu Client Side Scripting… …   Deutsch Wikipedia

  • Server Side Includes — (SSI) is a simple interpreted server side scripting language used almost exclusively for the Web. The most frequent use of SSI is to include the contents of one or more files into a web page on a web server. For example, a web page containing a… …   Wikipedia

  • Server-side — refers to operations that are performed by the server in a client server relationship in computer networking.Typically, a server is a software program, such as a web server, that runs on a remote server, reachable from a user s local computer or… …   Wikipedia

  • Server Side Include — noun a server side scripting language used on the Web …   Wiktionary

  • Client-side scripting — generally refers to the class of computer programs on the web that are executed client side, by the user s web browser, instead of server side (on the web server).[1] This type of computer programming is an important part of the Dynamic HTML… …   Wikipedia

  • Client side Scripting — Le Client Side Scripting (script côté client) fait référence généralement à des programmes dans un contexte web qui s exécutent côté client (navigateur web, par opposition aux scripts Server Side s exécutant côté serveur Web. Principe Les scripts …   Wikipédia en Français

  • Client Side Scripting — Le Client Side Scripting (script côté client) fait en général référence à des programmes dans un contexte web qui s exécutent côté client (navigateur web, par opposition aux scripts Server Side s exécutant côté serveur Web. Principe Les scripts… …   Wikipédia en Français

  • Comparison of server-side JavaScript solutions — This is a list of Server side JavaScript solutions. Contents 1 Server side JavaScript use 2 See also 3 External links 4 References …   Wikipedia

  • Server Pages — are scripts that are embedded in HTML and processed on the server before the page is sent to the client s web browser. This concept is explained generally at Server side scripting.Examples of server pages implementations are:* Active Server Pages …   Wikipedia

  • Scripting language — Scripting redirects here. For other uses, see Script. A scripting language, script language, or extension language is a programming language that allows control of one or more applications. Scripts are distinct from the core code of the… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”