CPSC 415E: Web Programming

Fall 2012

MW: 4:30 - 6:00pm in Trexler 263

Dr. Anil M. Shende

Trexler 365B

Email: shende at roanoke dot edu

Tel: 540-375-2341

Office Hours: MTF 9-10am; Th 3-5pm;

and by appointment.

Course Website: http://cs.roanoke.edu/CPSC415E/

Course Description

In this course we will learn various technologies to build attractive, functional and efficient web sites. For development on the client side, we will learn HTML5, Cascading Style Sheets and Javascript. On the server side, we will study the workings of a web server (apache), experiment with using the languages PHP and Ruby to write server-side scripts, and query a backend database to populate web pages with data stored in the database. We will also work with scripts that mine data from web pages on the world wode web. compile information from various web pages on the world wide web and then display it on one page in a

Recommended Text

Programming the World Wide Web, seventh edition, by Robert W. Sebesta, Pearson.


CPSC 250, or permission of the instructor. Familiarity with Java and Unix is assumed.

Intended Learning Outcomes At the end of this course successful students will be able to:
  1. use HTML5, Cascading Style Sheets and Javascript to build functional and efficient web sites,
  2. use server-side scripts written in PHP and Ruby, and interacting with a database, to enhance the functionality of their web sites, and
  3. use server-side scripts to mine relevant data from a multitude of web sites.
Class Attendance

Regular attendance is highly recommended. Regardless of attendance, students are responsible for all material covered or assigned in class.


The course will be run in an integrated classroom/lab format. Concepts studied in the classroom part will be complemented by relevant programming assignments. There will be two tests (on October 3 and November 7) in class during the semester. A final project and its presentation will take the place of a final exam.

Make-up tests will be available by pre-arrangement only in case of scheduling conflicts. After the test, make-ups will be available only in case of documented medical emergencies.

Besides the exams, there will be quizzes in class, regular homework assignments and programming projects, and a co-curricular requirement.

Quizzes: Quizzes will be in class and will be announced one class period before the quiz.

Programming projects: There will be several short programming projects assigned during the semester. Programs will be graded on correctness, style and documentation. Programs are due by midnight on the assigned date. No late programs will be accepted. All programs are to be turned in by email; instructions for submission will be given in the assignment handout.

Co-curricular Requirement: The Mathematics, Computer Science and Physics department offers a series of discussions that appeal to a broad range of interests related to these fields of study. These co-curricular sessions will engage the community to think about ongoing research, novel applications and other issues that face these disciplines. Each student is required to attend at least three of these sessions, and turn in a short paper describing the contents of the session, and his/her critical reflections about the topic and content. These papers are due in class within a week of the session. A paper submitted beyond a week from the event being discussed in the paper will not be accepted.


The final grade will be computed based on the grades in the tests, the final exam, home works and programming projects according to the following weights.

Component Weight
Home works10%
Programming Assignments20%
Tests (2)30% (15% each)
Final project and Presentation26%

The final course grade will be calculated as follows:

< 60 60-62 63-65 66-69 70-72 73-75 76-79 80-82 83-85 86-89 90-92 > 92
F D- D D+ C- C C+ B- B B+ A- A

Academic Integrity

Students are expected to adhere to the Academic Integrity policies of Roanoke College. All work submitted for a grade is to be strictly the work of the student unless otherwise specified by the instructor. The policies as outlined in the Academic Integrity handbook will be enforced in the course.

Graded programs are subject to the Roanoke College Academic Integrity policies. Copying a program or a portion of a program (even a single line) or reading another person's program to obtain ideas for solving a problem is plagiarism. Other examples of integrity violation include writing code for some else, using code written by someone else, telling someone else how to solve a problem or having someone tell you how to solve a problem (and using their method). These cases apply to any work that is handed in for a grade under the instructor's assumption that the work is your own. Unless specified otherwise by the instructor, discussion among students should be limited to general discussion of concepts and language details, not specific aspects of a solution to the assigned problem.