<html>
<head>
<link rel="stylesheet" type="text/css"
href="first.css" />
</head>
<body>
<p>This is all about my friends!</p>
<hr/>
<p>They are nice.</p>
</body>
</html>
for the web site, use an external style sheet on at least one web page.
client side scripting vs. server-side scripting
web server sends info to the web browser (which is the client)
Javascript -- carried out on the client's machine
javascript is event-driven.
as opposed to procedural-based programming.
Javascript can write cookies.
drawbacks of cookies.
stays only on that machine.
third-party cookies.
both site A and site B get their ads from site Z. site Z is the third party.
third-party cookies can be used to track users.
Amazon obviously does NOT use simple cookies to keep track of your order.
they use server-side scripting. examples of lanugages that support it: PHP, vbscript meaning ASP, ASPX.
often, hooked up to a database.
next up, AJAX.
No comments:
Post a Comment