CS460 ADVANCED WEB
PROGRAMMING (3 Cr.)
COURSE DESCRIPTION
Prerequisite: Six (6) credit hours of Computer Science at the level of 200 or above.
Offered: Winter
Description
This course teaches students how to program client/server applications
for the Web focusing on database integration. Topics cover scripting
languages such as Perl, PHP, or other current alternatives, using them to
read input from Web forms and produce Web output. SQL will be used to interface
with databases as the backend technology.
Course Outline
We will teach Perl, PHP, SQL, and database basics. Please note that this is
a programming course, and not an applications course. Also, please note that
this course outline is tentative. We will change the material taught to reflect
changes in technology as well as further experiences in teaching this class.
- Architecture of the World Wide Web
- Web servers
- Web clients
- The HTTP protocol and CGI
- Databases and other back ends
- Databases
- SQL queries
- Advanced SQL statements
- Transactions and the ACID properties
- Perl
- Basic Perl syntax
- Variables, variable names, and variable score
- The Perl type system
- Control loops
- Functions and procedures in Perl
- Arrays in Perl
- Basic array syntax
- Perl specific array manipulation (sort, reverse, delete, etc.)
- String manipulation in Perl
- Associative arrays
- Functionality
- Novel examples of use
- Run time costs in using associative arrays
- File handling in Perl
- Opening files
- Opening programs as if they were files
- Perl objects
- Basic objects
- Constructors
- Arrays as member variables in Perl
- CGI
- Using Perl to make CGI programs
- HTTP headers
- Status codes
- Mime types
- Cookies
- Forms and getting form data into a CGI program
- DBI (connecting Perl to a database)
- DBI basic architecture
- The DBI->DO method
- The prepare, execute and fetch method
- PHP
- Basic PHP syntax
- Arrays in PHP
- String manipulation in PHP
- Embedding HTML code inside PHP scripts
- File handling in PHP
- Connecting PHP to a database
- Conclusion
- Comparing PHP and Perl
- Comparing with other technologies (databases vs. flat files)
|






|