January 30, 2008
Harvard University
Division of Continuing Education
Extension School
Course Web Site: http://cscie12.dce.harvard.edu/
Copyright 1998-2008 David P. Heitmeyer
Instructor email:
david_heitmeyer@harvard.edu
Course staff email:
cscie12@fas.harvard.edu
Course Syllabus | Course Schedule
In addition to the texts, there will be online readings assigned and online references cited.
Required texts:
Freeman, Elisabeth and Eric Freeman. 2005. Head First HTML with CSS & XHTML . O'Reilly & Associates. 658 p. ISBN 0-596-10197-X
Jennifer Niederst Robbins, 2006. Web Design in a Nutshell . O'Reilly & Associates. 826 p. ISBN 0596009879
Texts are available through:
Recommended for who are not yet familiar working with Unix or Linux:
Ray, Deborah S. and Eric J. Ray. 2006.
UNIX: Visual QuickStart Guide, 3rd edition. Peachpit Press. 448 p. ISBN
0321442458
This course is designed to give students a thorough overview of web development. Students explore the vocabulary, tools, and standards that prevail in the field today, and learn how the various components - including CSS, Javascript, multimedia, scripting languages, content management systems, web/applications servers, and databases - fit together.
For the final project, each student will have the opportunity to produce an interactive web site on the topic of their choice.
The course will give students a strong foundation for more specific web development study in the future, whether that be in programming, database administration, server administration, security, interface design, or multimedia development.
Image by Matt Britt (used with permission under Creative Commons
Attribution 2.5
)
| Region | Internet Penetration |
|---|---|
| North America | 71% |
| Oceania/Australia | 58% |
| Europe | 43% |
| Latin America/Caribbean | 22% |
| Middle East | 17% |
| Asia | 12% |
| Africa | 5% |
The irony is that in all its various guises -- commerce, research, and surfing -- the Web is already so much a part of our lives that familiarity has clouded our perception of the Web itself.
Image from Opte Project and is used under the Creative Commons 1.0 license.
Graph made from TouchGraph GoogleBrowser.
45 billion pages as of January 2008 (http://www.worldwidewebsize.com/)
Nielson NetRatings for Home Web Use, December 2007:
| Sessions/Visits per Person per Month | 34 |
| Domains Visited per Person per Month | 69 |
| Web Pages per Person per Month | 1,504 |
| Time Spent During Surfing Session | 0:56:28 |
Top Sites, United States from Alexa: The Web Information Company
|
|
Approximately 70 million active sites as of December 2007.
TCP/IP, HTTP, HTML, CSS
Apache HTTP Server, Mosaic, Netscape, Firefox, JavaScript, Perl, PHP, etc.
Banking, molecular biology, information search and retrieval, etc.
We cannot command nature except by obeying her.
Francis
Bacon
Motto of Kansas State
University:
Rule By Obeying Nature's Laws
client-server computing
The interaction between two programs when they communicate across a network. A program at one site sends a request to a program at another site and awaits a response. The requesting program is called a client; the program satisfying the request is called the server. (definition from The Internet Book, 2nd edition by Douglas E. Comer)
Client-Server Architecture from Webopedia, http://www.webopedia.com/
http://cscie12.dce.harvard.edu/lecture_notes/20080130/toc.html
For those who truly wish to find out more of the details, see Untangle URIs, URLs, and URNs by Dan Connolly
http://cscie12.dce.harvard.edu/lecture_notes/20080130/toc.html#slide10
http://cscie12.dce.harvard.edu/lecture_notes/20080130/toc.html#slide10
Common schemes: http, https, ftp, mailto, file, rtsp
http://cscie12.dce.harvard.edu/lecture_notes/20080130/toc.html#slide10
http://cscie12.dce.harvard.edu:80/lecture_notes/20080130/toc.html#slide10
http://cscie12.dce.harvard.edu/lecture_notes/20080130/toc.html#slide10
http://cscie12.dce.harvard.edu/lecture_notes/20080130/toc.html#slide10
A "tree" structure view of XHTML produced by Amaya, the open source Web editor/browser from the W3C.
Start Tag
<a href="http://www.harvard.edu/">Harvard</a>
Element Name
<a href="http://www.harvard.edu/">Harvard</a>
Attribute
<a href="http://www.harvard.edu/">Harvard</a>
Attribute Value
<a href="http://www.harvard.edu/">Harvard</a>
Content
<a href="http://www.harvard.edu/">Harvard</a>
End Tag
<a href="http://www.harvard.edu/">Harvard</a>
Maintain this "separation of concerns" -- between structure and style.
And here is the stylesheet (simple-style.css):
|
With CSS disabled:
|
css Zen Garden: The Beauty in CSS Design. A demonstration of what can be accomplished visually through CSS-based desgin.
|
|
|
|
|
|
|
|
Well-formed + Conforms to DTD = Valid
W3C HyperText Markup Language Home Page
The Document Type Declaration for an XHTML 1.0 strict document is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
A closer look at the components follows:
Some Document Type Declarations for HTML documents. Remember that the HTML document must conform to the rules of the Document Type Definition that is referenced in the Document Type Declaration:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11-flat.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html401/strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html401/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html401/frameset.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html40/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/html40/strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"
"http://www.w3.org/TR/html40/frameset.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"
"http://www.w3.org/TR/HTML.dtd">
<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN"
"http://www.w3.org/MarkUp/html-spec/html.dtd" >
|
|
|
|
XHTML 1.0 Strict documentation produced from DTD
Modules
body, head, html, title
abbr, acronym, address, blockquote, br, cite, code, dfn, div, em,
h1, h2, h3, h4, h5, h6, kbd, p, pre, q, samp, span, strong, var
h1, h2, h3, h4, h5, h6
address, blockquote, div, p, pre
abbr, acronym, br, cite, code, dfn, em, kbd, q, samp, span, strong, var
a
dl, dt, dd, ol, ul, li
b, big, hr, i, small, sub, sup, tt
del, ins
bdo
form, fieldset, input, label, select, option, textarea, button, legent, optgroup
form, fieldset
input, label, select, textarea, button
table, td, th, tr, caption, col, colgrop, tbody, thead, tfoot
img
object, param
meta
script, noscript
style
link
base
What do GE, IBM, Library of Congress, EDS, Stanford, AGFA, Abbott, and Princeton have in common?
They adhere to Web standards
Web Standards Project
The Web Standards Project is a grassroots coalition fighting for standards
which ensure simple, affordable access to web technologies for all.
|
|
|
|
|
|
|
|
Windows
Mac / Apple
Linux / UNIX