COMP284
Scripting Languages
Aims
- To provide students with an understanding of the nature and role of scripting languages.
- To introduce students to some popular scripting languages and their applications.
- To enable students to write simple scripts using these languages for a variety of applications.
Syllabus
- Overview: The nature of scripting languages; scripting vs programming; scripting languages (1 lecture)
- PHP: Elements of the language, integration with HTML, integration with databases (3 lectures)
- JavaScript: Elements of the language, client-side web scripting, the Document Object Model (3 lectures)
- Perl: Elements of the language, regular expressions, text processing (3 lectures)
Recommended Texts
- R. Nixon: Learning PHP, MySQL, and JavaScript. O'Reilly (latest edition).
- R. L. Schwartz, T. Phoenix, and B. D. Foy: Learning Perl. O'Reilly (latest edition).
- M. David: HTML5: designing rich Internet applications. Focal Press (latest edition).
- N. C. Zakas: Professional JavaScript for Web Developers. Wiley (latest edition).
Learning Outcomes
At the end of the module the students should be able to
- compare and contrast languages such as JavaScript, Perl and PHP with other programming languages;
- produce an outline design for applications written using a scripting language;
- rapidly develop simple applications, both computer and web-based, using an appropriate scripting language.
Learning Strategy
Formal Lectures: In a typical week, students will be expected to attend two hours of formal lectures per week over 5 weeks. Formal lectures will be used to introduce students to the concepts and methods covered by the module.
Practicals: Students will be expected to attend one hour of computer lab practicals per week over 10 weeks. Computer lab practicals are intended to allow students to undertake practical exercises with the possibility of immediate feedback. The lab exercises will focus on the design and implementation of applications that exploit and utilise the approaches discussed in the lectures.
Private study: In a typical week students will be expected to devote about 4 to 5 hours of unsupervised time to private study over a period of 12 weeks. Private study will provide time for reflection and consideration of lecture material, background reading and completion of the assessment tasks.
Assessment: The module will be 100% continually assessed, in particular, using programming assignments, which will necessitate the design and development of solutions using an appropriate scripting language.