Difference between revisions of "Web page"

From Internet User Guide
Jump to: navigation, search
Line 7: Line 7:
  
 
==Static webpages and dynamic webpages==
 
==Static webpages and dynamic webpages==
A [[static webpage]] is a file of static [[HTML]]text stored within the [[web server]]'s file system.
+
A [[static webpage]] is a file of static [[HTML]] text stored within the [[web server]]'s file system.
  
 
A [[dynamic webpage]] is one that changes or is customized automatically, through the action of a [[scripting language]]. The script may act either client-side or server-side:
 
A [[dynamic webpage]] is one that changes or is customized automatically, through the action of a [[scripting language]]. The script may act either client-side or server-side:
 
*Client-side scripting is embedded within the web page, and acts on the user's [[User Interface|computer interface]] when the webpage is read by the [[web browser]]
 
*Client-side scripting is embedded within the web page, and acts on the user's [[User Interface|computer interface]] when the webpage is read by the [[web browser]]
*Server-side scripting acts on the [[web server]] to modify or reconstruct the [[webpage]] automatically each time the page is requested by a [[web browser]]
+
*Server-side scripting acts on the [[web server]] to modify or reconstruct the [[webpage]] automatically each time the page is requested, and the modified or reconstructed page is then sent to the user's [[web browser]]
 
+
 
+
to change the supplied page source between pages, adjusting the sequence or reload of the web pages or web content supplied to the browser.
+
 
+
Server-side script
+
(In practice, however, frequently-requested pages are stored in the server's [[cache]] rather than being reconstructed at each request.) The web server constructs the HTML for each webpage by using a standard format and layout of selected elements, and then fetching the appropriate contect for each element from the website's [[data base]].
+
  
 +
The web server may for example use server-side scripting to construct the HTML text of each webpage by applying a standard format to changing content. The format defines the layout of page elements, and the script then fetches the appropriate contect for each element from the website's [[database]]. (In practice, however, frequently-requested pages are stored in the server's [[cache]] rather than being reconstructed at each request.)
  
 
==External links==
 
==External links==

Revision as of 20:03, 19 May 2010