seu logo     COSC 3325 Dr. Laura J. Baker, Professor    home >> cosc3325


Dr. Baker's help pages for various tasks

Tentative Course Schedule

Week # Date Topics Covered Assignments
1 Aug. 25, 27, 29 A free perl web-text
Another (maybe better) on-line Perl Text by Samuel Cozens Another perl book on-line but with web development in mind.
Begin introduction to Perl. Perl features, execution of perl scripts . Perl variables, control structures, basic programming features. Perl control structures if, if else, if elsif else while, do while, for, foreach loops using next, last.
Assignment #1
In class assignment #1
2 Sept 3, 5 (no class Sept. 1) Operators - arithmetic, compare, strings Scalars, arrays, hashes (associate arrays) in Perl. Examples of use of each. Using arrays with file i/o, join, split, chop, shift unshift, push, pop.
A complete Perl tutorial
Web Security FAQ
A nice tutorial on using perl's CGI module
Assignment #2 using perl.
In class Assignment #2 using perl.
3 Sept 8, 10, 12 file i/o - read/write/append ARGV, explanation of using regular expressions in perl with examples
Regular expression testing tool for perl
The CPAN Comprehensive Perl Archive Network for lots of previously written Perl modules.
In class Assignment #3 using perl.
4 Sept 15, 17, 19 Web programming introduction, terms commonly used client vs server side programming. Intro to perl and cgi using forms with perl scripts security issues, using CGI.pm form inputs various types. GET and POST NO class FRIDAY, SEPT 19th, I will be in the lab on Thursday, Sept. 18th from 330-5pm in place of Friday's class. Security issues with cgi Assignment #3
5 Sept 22, 24, 26 More security issues with perl scripts Work on In-class Assignment with cookies and regular expressions.
6 Sept 29, Oct 1, Oct 3 Pattern matching and regular expressions checking parameters, verifying user data
Exam #1 Friday, Oct. 3
Assignment #4 In-class Assignment #4
7 Oct 6, 8, 10 MONDAY meet in Lab work to work on in-class assign #4
Introduction to PHP, language basics, syntax, variables, operators, control structures, history of php. html and PHP, built in functions, operators The official PHP manual Another php tutorial for help.
In-class assignment #1 php.

assignment #1 php
PHP Intro Chapter 1 PHP
8 Oct 13, 15, 17 Parameters in php, form elements, arrays in-class assignment #2
assignment #2 php
Chapter 2 PHP
9 Oct 20, 22, 24 _GET and _POST data and html form elements funtions, built in and user-defined, variable scope. Regular expressions, strings, input validation code reuse with include() assignment #3 php assignment #4 php
Chapter 3 PHP
10 Oct 27, 29, 31 PHP require(), include() and include_path. File system functions and file input and output, error handling Exam #2 To Be Announced Chapter 4 PHP
11 Nov. 3, 5, 7 Begin mysql connectivity with php, compare/contrast to perl creating queries and forms for queries, Example program that uses a database for managing a phone list Here is a link to the actual running script. brief review of mysql syntax, commands, creating tables, insert,update,retrieval, deletion
Another example using SESSIONS in PHP
and the actual php program.
PHP Exam-Assignment

Chapter 5 PHP
12 Nov 10, 12, 14 Session, cookies, output control, file uploads http headers, setting session ids, session variables, limiting access, password protection Intro to javascript and ajax Chapter 6 PHP
Chapter 7 PHP
13 Nov 17, 19, 21 Javascript and ajax introduction
XMLRequest variables
A simple Ajax page
The javascript used in the example
and the php file used by the xmlhttprequest
Another example of javascript written with separate methods
and here is the script that uses those methods.
Yet another example html page that uses this set of javascript methods
And here is the php file sending the response back to the request...
assignment #1 ajax
14 Nov 24 AJAX exam exam ajax
15 Dec. 1, 3, 5 Finish up ajax review for final
Final exam as scheduled next week for MWF 12:00pm classes
16 Dec 8-11 Final Exam as scheduled by Registrar.