Server-side scripting: Difference between revisions

Content deleted Content added
m Added a notion on server-side script.
Tags: Reverted Visual edit
Restored revision 1261796348 by Frap (talk): Unreliable source
Line 7:
 
'''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. Scripts can be written in any of a number of server-side scripting languages that are available. 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]].
 
A '''server-side script''' is a program that is executed on the server side when the user requests information. The script do not download at the client side.<ref>{{Cite web |last=Easy |first=Scientech |date=2021-12-31 |title=What is Server Side Scripting Language |url=https://www.scientecheasy.com/2021/12/server-side-scripting.html/ |access-date=2025-03-06 |website=Scientech Easy |language=en-US}}</ref>
 
Server-side scripting is often used to provide a customized [[User interface|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.