Course Overview Web Programming 1 Course Introduction n
Course Overview Web Programming 1
Course Introduction n Course Objective ► Learn basic programming skills for Web-based information management • Become familiar with basic programming concepts • Learn the basics of Perl and CGI scripting • Acquire hands-on experience with developing CGI applications n Course Design ► Lecture • Online readings ► Lab • Hands-on application of lecture materials ► Homework Exercises • Application and reinforcement of lecture & lab ► Midterm & Final Exams • Extension of lecture, lab & homework Web Programming 2
Course Policy This class advocates an open book policy of allowing students to consult textbooks, Internet resources, and classmates when working on assignments to facilitate learning and promote collaboration. Students are encouraged to work together in all aspects of the course (e. g. , homework and group projects) except for the final exam, where they must work by themselves although they will still be allowed to consult books and Internet resources. n Grading ► ► ► Lab Exercises (30%) Homework Assignments (40%) Midterm Exam (10%) Final Exam (20%) Participation (Extra Credit) Web Programming 3
Course Requirements n Prerequisites ► ► n Technical background is not required. Basic computer skills Essentials (to acquire as soon as possible) ► Basic Unix proficiency • Basic Unix commands • Unix Editor (pico or vi) ► Pu. TTY • Connecting to WIDIT server ► SFTP • Transferring files to WIDIT server ► Basic HTML • HTML Form Web Programming 4
Why Unix? n Unix is an essential building block of World Wide Web Data CGI Programs Internet (HTTP) Web documents Web Programming User (Windows/IE) Web Server (Unix/Apache) 5
Publishing Web Content n Web Content Creation Mode #1 (easy) 1. 2. Create HTML & CGI files on the PC using Notepad. Upload the files to the Web server using SFTP. • n Secure File Transfer Protocol (SFTP) Method for transferring data on the Internet Web Content Creation Mode #2 (preferred) 1. Login to the Web server using SSH. • 2. Secure SHell (SSH) Method for connecting to computers on the Internet Create HTML & CGI files using a Unix editor (e. g. , pico, vi) Edit Web Server PC Edit Display upload to Web Server Publish Display Publish WCC Mode #1 WCC Mode #2 Web Programming 6
Course Resources n Homepage ► n Required Readings ► n Lecture material and online contents Supplemental Readings ► n http: //widit. knu. ac. kr/~kiyang/teaching/WP/ Perl for Dummies (4 th Edition), Paul Hoffman, March 2003, Hungry Minds Online Resources ► ► ► Teach Yourself Perl in 21 days HTML Form Tags Unix • Unix Tutorial for Beginners • Unix Reference Guide • Unix Editors: vi, pico Web Programming 7
- Slides: 7