Server-side scripting: Difference between revisions

Content deleted Content added
m v2.05 - Fix errors for CW project (Link equal to linktext)
Line 1:
{{Short description|Technique used in web development}}
{{See alsobroader|Dynamic web page#Server-side scripting}}
{{Multiple issues|
{{Expert needed|technology|reason=unfocused, scattered, unnecessary details|date=April 2012}}
{{More citations needed|date=October 2008}}
}}
 
[[File:Server-side websites programming languages.PNG|thumb|Languages used in server side scripting.]]
 
'''Server-side scripting''' is a technique used in [[web development]] which involves employing [[Scripting language|script]]s on a [[web server]] which produces a response customized for each user's (client's) request to the website. The alternative is for the web server itself to deliver a [[static web page]]. Scripts can be written in any of a number of server-side scripting languages that are available (see below). Server-side scripting is distinguished from [[client-side scripting]] where embedded scripts, such as [[JavaScript]], are run client-side in a [[web browser]], but both techniques are often used together. The alternative to either or both types of scripting is for the web server itself to deliver a [[static web page]].
 
Server-side scripting is often used to provide a customized interface for the user. These scripts may assemble client characteristics for use in customizing the response based on those characteristics, the user's requirements, access rights, etc. Server-side scripting also enables the website owner to hide the source code that generates the interface, whereas, with client-side scripting, the user has access to all the code received by the client. A downside to the use of server-side scripting is that the client needs to make further requests over the network to the server in order to show new information to the user via the web browser. These requests can slow down the experience for the user, place more load on the server, and prevent the use of the application when the user is disconnected from the server.