← Teaching
Web Server Programming Y2, 10cr
Overview
This unit introduces students to programming across the web by writing server-side scripts accessing server-side
files and databases; the reasons for doing so; and the underlying theory.
Aims
- To develop an understanding of web server scripting technology and the underlying theory.
- To develop an ability to write and install simple web server scripts.
Learning Outcomes
- Design and implement simple server scripts in an industry-standard server-side language.
- Demonstrate the uses of programmable web servers.
Syllabus
- Web server architecture; the concepts of web-server scripting; the difference between scripting and servlets;
review of server-side languages.
- Installation of a minimal web server and SQL server; and other support tools.
- The PHP language; invoking PHP by embedding scripts in HTML.
- Difficulties and techniques of debugging server-side scripts.
- Sending values to server-side scripts, both via URLs and from HTML forms.
- File-handling in PHP scripts; in particular, issues of concurrent access.
- Using SQL from PHP scripts.
- Using Cookies from PHP; Sessions.
- Review of other PHP library capabilities.