Datasheet
<title>BuzzWatch 2.0</title>
<script type=”text/javascript” src=”yui/yahoo/yahoo.js”> </script>
<script type=”text/javascript” src=”yui/event/event.js”> </script>
<script type=”text/javascript” src=”yui/dom/dom.js”> </script>
<script type=”text/javascript” src=”yui/dragdrop/dragdrop.js”> </script>
<script type=”text/javascript” src=”yui/animation/animation.js”> </script>
<script type=”text/javascript” src=”yui/container/container.js”> </script>
<script type=”text/javascript” src=”yui/connection/connection.js”>
</script>
<script type=”text/javascript” src=”yui/menu/menu.js”> </script>
<script type=”text/javascript” src=”XML/ObjTree.js”> </script>
<script type=”text/javascript” src=”menuBar.js”> </script>
<script type=”text/javascript” src=”script.js”> </script>
<script type=”text/javascript” src=”panels.js”> </script>
<script type=”text/javascript” src=”config.js”> </script>
<script type=”text/javascript” src=”editInPlace.js”> </script>
<script type=”text/javascript” src=”controller.js”> </script>
<link rel=”stylesheet” type=”text/css” href=”buzzWatch.css”/>
<link rel=”stylesheet” type=”text/css” href=”yui/reset/reset.css”/>
<link rel=”stylesheet” type=”text/css” href=”yui/fonts/fonts.css”/>
<link rel=”stylesheet” type=”text/css” href=”yui/menu/assets/menu.css”/>
<link rel=”stylesheet” type=”text/css”
href=”yui-container-css/example.css”/>
<link rel=”stylesheet” type=”text/css”
href=”yui/container/assets/container.css”/>
<link rel=”stylesheet” type=”text/css”
href=”yui-container-css/panel-aqua.css”/>
</head>
<body>
.
.
.
</body>
</html>
The answer is composed of HTTP headers followed by the actual content. The first line gives the status
of the transaction. Here the server answers that it’s okay to exchange using HTTP version 1.1 and
returns a code equal to 200 with its textual meaning (
OK). The following headers are information about
the server itself and the document that is returned, including its media type (
text/html) and encoding
(
UTF-8). The first line of the document following the headers is called a DOCTYPE definition. Here, this
DOCTYPE definition indicates that the document uses XHTML 1.1. (X)HTML documents are composed of
a
head and a body section. The body section has been cut from this listing to keep it short. The head sec-
tion contains a title and a number of references to cascading style sheets (CSS) and JavaScript scripts.
In theory, the media type of XHTML documents is
application/xhtml+xml. Unfortunately, Internet
Explorer does not support this media type and refuses to display documents sent with this type. A com-
mon practice is thus to serve XHTML documents with a media type of
text/html.
When receiving such a document, a browser that supports CSS and JavaScript (which is true of modern
graphical browsers such as Internet Explorer, Firefox, Opera, Safari, and Konqueror if their users have
not disabled JavaScript) downloads all the CSS files and JavaScript scripts referenced in the
head section
8
Chapter 1
04_087889 ch01.qxp 5/2/07 12:56 PM Page 8