HTML and CSS Reference
In-Depth Information
1.4 JavaScript and Its Place in a Web Page
PHP
ASP
Database
MySQL
Oracle
Sybase
Client
JavaScript
HTML/XML
Network
Server
HTTP
Web page displayed here
http://website.page.html
Perl
Python
CGI
<html>
<head>
<title>See Me!</title>
</head>
<script type="text/JavaScript"
src="file.js">
</script>
<link rel=stylesheet
href=styling.css
... continues ...
Web page is fetched by the Server
Figure 1.2 The life cycle of a typical Web page.
1.4.1 Analysis of the Diagram
The Players.
The players in Figure 1.2 are the applications involved in the life cycle
of a Web page:
1. A browser (Firefox, Internet Explorer, Safari, Opera). This is where JavaScript
lives!
2. A network (HTTP).
3. A server (Apache, Windows IIS, Zeus).
4. A server module (PHP, ASP.NET, ColdFusion, Java servlet).
5. External files and/or a database (MySQL, Oracle, Sybase).
The Steps. Figure 1.2 illustrates the life cycle of a Web page from when the client
makes a request until it gets a response.
1. On the left hand side of the diagram, we see the client, or browser where the
request is made. The user makes a request for a Web site by typing the address
 
 
 
 
Search WWH ::




Custom Search