Introduction to Programming and Scripting
(Electronic Communication and Publishing, Module P018)
This module uses ECMAscript and its commercial variants to introduce the fundamental principles of procedural computer programming and scripting languages. It reinforces these concepts by practical application in the context of automated Web browser and document manipulation. Fundamental programming topics include data types, operators, variables, flow control via selection and iteration, arrays and objects, functional abstraction, methods and constructors, abstract data types and pattern matching. Applications include manipulation of Web document frames, browser windows and images, dynamic generation of Web documents, saving state using cookies, and form verification via regular expressions.
By the end of the module, students will have an understanding of the basic principles of procedural computer programming. They will be able to apply this knowledge in order to embed scripts within HTML documents to manipulate frames, browser windows and images, and to generate pages of HTML code dynamically. They will be able to write scripts to generate and retrieve browser cookies, and perform simple form verification using pattern matching and regular expressions.
Assessment is by coursework only.
Page last modified on 25 aug 11 14:23