Server-side scripting

From Wikipedia, the free encyclopedia

(Redirected from Server-side script)
Jump to: navigation, search

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.

Contents

In the "old" days of the web this 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.

Any programming language can generate web pages through CGI or an extension module or application server framework. This section lists technologies designed mainly or exclusively for server-side scripting, typically by embedding instructions directly in template web pages.

ASP
Microsoft designed solution allowing various languages (though generally VBscript is used) inside a HTML-like outer page. Primarily a Windows technology, but with limited support on other platforms.
ASP.NET
ASP.NET is a set of web application development technologies marketed by Microsoft. Programmers can use it to build dynamic web sites, web applications and XML web services. It is part of Microsoft's .NET platform and is the successor to Microsoft's Active Server Pages (ASP) technology.
ColdFusion
Cross platform tag-based commercial server side scripting system.
ESP
ESP or Escapade was written in 1997 by Ed Carp, and enjoys wide use in Europe, but has had limited acceptance in the US.
JSP
A Java-based system for embedding Java-related code in HTML pages.
Lasso
A Datasource neutral interpreted programming language and cross platform server.
LSP
Lua Server Pages, which is based on the Lua_(programming_language), is a fast scripting language suitable for CPU and/or memory constrained systems. The LSP comes as a plugin to the Barracuda Embedded Web Server. The LSP engine is also integrated into BarracudaDrive home/small business server. LSP applications include a Content Management System and a Bulletin Board.
PHP
Common opensource solution based on including code in its own language into an HTML page.
Server-side JavaScript
A language generally used on the client side but also occasionally on the server side.
SMX
Lisp-like opensource language designed to be embedded into an HTML page.
Server Side Includes
A fairly basic system which is part of the common Apache web server, used primarily for combining documents or parts of documents on the server side into a single server response.
Ruby on Rails

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.

Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.