Department of Computer and Information Science
CIS 70.1 Special Topics in Computer Science
Programming for the Web
3 hours; 3 credits
Description:
An introduction to various programming techniques used
in developing World Wide Web sites.
Using JavaScript and Java to enhance Web pages.
Creating and processing fill-out forms. Dynamic documents.
Interactive pages.
Communicating with and writing server scripts.
Prerequisites: CIS 22 and CIS 2.50
Discussion:
With the growth of the Internet, there
is widespread interest in creating home pages
and Web sites. Programming for the Web involves
many interesting programming features not covered
in other CIS courses. (Note that we will not
focus on Java programming, since that is the
focus of other courses. Nevertheless, we will
discuss the use of Java applets in Web pages.)
Syllabus:
- HTML
- Basic HTML tags
headings, paragraphs, ordered and unordered lists,
text styles, hypertext links and anchors.
- Color and graphics
RGB codes, backgrounds, inline images, rules, bullets,
fonts.
- Tables
- Frames
- Forms
- JavaScript
- Basic syntax
- Arrays and objects
- Working with built-in objects
- Event handling
- Using cookies to maintain state
- Java
- Java vs. JavaScript
- Including Java applets in a Web page
<APPLET> and <PARAM> tags
- Useful Java applets
working with freeware applets for decoration and animation
- Interfacing Java with JavaScript
- CGI Programming
- Communicating with scripts
passing parameters, using forms, GET and POST transmission methods
- Image maps
- Gateway scripts
- Writing server scripts
- Introduction to scripting languages, e.g. Perl
Bibliography:
- D. Flanagan,
JavaScript: The Definitive Guide ,
O'Reilly & Associates, 1997.
- C. Musciano and B. Kennedy,
HTML: The Definitive Guide,
O'Reilly & Associates, 1996.
- L. Stein,
How to Set Up and Maintain a Web Site,
Addison-Wesley, 1997.
- L. Wall and R. L. Schwartz,
Programming Perl, O'Reilly & Associates.
- HTML Primer,
http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimerP1.html
- NCSA documentation for the Common Gateway Interface(CGI), http://hoohoo.ncsa.uiuc.edu/cgi/
- Netscape's JavaScript Authoring Guide ,
http://home.netscape.com/eng/mozilla/Gold/handbook/javascript/index.html
-
Sun's Java page,
http://java.sun.com/