← Teaching
Web Script Programming Y2, 20cr
Overview
This unit introduces students to:
- Client-side programming (inside a web browser) by embedding program scripts in HTML; using those scripts to
dynamically modify HTML and CSS; asynchronous reading of information from the server (Ajax).
- Server-side programming (across the web) by writing server-side scripts accessing server-side files and
databases.
- The reasons for these two forms of programming and the underlying theory. Throughout, particular emphasis is
placed on producing contemporary sites using industry best practices.
Aims
- To develop an understanding of web client and web server scripting technologies and the underlying theory.
- To develop an ability to write and install simple web server scripts and web client scripts.
Learning Outcomes
- Design and implement a simple modern web application in industry-standard client-side and server-side
languages.
Syllabus
- Web client-and-server architecture; the concepts of web scripting.
- Installation of a minimal web server and SQL server; and other support tools.
- The JavaScript programming language.
- AJAX for accessing a server-side API to update server-side databases and return information to client-side.
- The Document Object Model (DOM) — the browser's internal view of a displayed web page.
- Dynamic HTML (DHTML) — using JavaScript to modify the DOM of the HTML of a current web page.
- Dynamic CSS (DCSS) — using JavaScript to modify the DOM of the CSS of a current web page.
- The PHP language; to provide server-side APIs including invoking SQL from PHP scripts.