Single-Page Web Applications





Offered by

ICT Engineering




SDJ3 and RWD1 or similar.

Main purpose

The purpose of this course is to learn to implement single-page web applications.


The student should be able to

  • contrast dynamic languages with static languages
  • apply common design patterns to document object models
  • explain techniques and pitfalls of asynchronous programming
  • explain the prototype model and contrast it with class-based inheritance 
  • compare single-threaded and multi-threaded asynchronous model



  • Object-oriented programming in JavaScript
  • Functional programming in JavaScript
  • Call backs and higher-order functions in JavaScript
  • Asynchronous programming using Promises
  • Manipulating web pages from JavaScript
  • Calling web services from JavaScript using XmlHttpRequest



At the end of the course, the students should be able to create single-page application using AJAX techniques, including JavaScript, HTML DOM, XML, JSON and web services.


  • JavaScript
    • Dynamic objects
    • Prototypes
    • Prototypical inheritance
    • Functional programming
    • Promises
  • Application Development
    • HTML DOM
    • Asynchronous programming
    • XmlHttpRequest
    • JSON

Teaching methods and study activities

Lessons alternate between theory and practical exercises. The course contains one or more compulsory assignments. If the assignments are not approved by the teacher, the student will be denied attending the exam and will thus have used one exam attempt.
Expected workload for the average student:

Expected workload for students is estimated to 135 hours.


  • Martin Haverbeke, Eloquent JavaScript: A Modern Introduction to Programming, 2nd Edition, No Starch Press, ISBN 978-1593275846
  • Internet resources


The course is evaluated according to the 7-point grading scale based on the oral exam at the end of the course.


Oral examination based on a question from the course syllabus. Approximately 20 minutes (including discussion of examinee's performance) without preparation.

Internal examination.

Grading criteria

According to the 7-point grading scale.

Mark 12:
Awarded to students who have shown excellent comprehension of the above-mentioned competences. A few minor errors and shortfalls are acceptable.

Mark 02
Awarded to students for the just acceptable level of comprehension of the required competences.

Additional information


Ole Ildsgaard Hougaard

Valid from

9/1/2017 12:00:00 AM

Course type

6. semester
7. semester
Compulsory for the specialization Cross Media