Skip to main content

DH2642 Interaction Programming and the Dynamic Web 7.5 credits

Interaction programming gives the basic Model-View-Presenter principles for developing interactive applications. These principles can be applied to many desktop, mobile or web apps frameworks. The course currently applies these principles to web applications, using JavaScript, JSX, HTML, CSS  and frameworks like React and Vue.js. These front-end applications use data from remote back-ends using web APIs.

Choose semester and course offering

Choose semester and course offering to see current information and more about the course, such as course syllabus, study period, and application information.

Application

For course offering

Autumn 2024 iprogdh programme students

Application code

50115

Headings with content from the Course syllabus DH2642 (Autumn 2021–) are denoted with an asterisk ( )

Content and learning outcomes

Course contents

JavaScript for interaction programming, callbacks, synchronous and asynchronous code, functional programming.
Web development interfaces (API): REST, JSON, AJAX, Fetch, Promises.
Local data: cookies, local storage.
User interfaces, appearance: HTML, CSS, DOM API, other tree based frameworks for user interfaces (e g Android).
User interfaces, interaction: events, event levels, event propagation, event management.
User interfaces, architectures: Model-View-Controller.
User interfaces, frameworks: React, Angular, Vue.

Intended learning outcomes

Having passed the course, the student will be able to

  • choose appropriate technical platforms or JavaScript frameworks to create useful data persistent interactive web applications or native applications
  • program interactive web applications according to Model-View-Controller or related architectures
  • program systems that read data from, and send data to, web interfaces with good use qualities
  • assess and improve the usability of existing interactive web applications
  • cooperate with others to implement interactive web applications.

Literature and preparations

Specific prerequisites

Completed course in programming technique equivalent to DD1337, DD1318 or ID1018.

Recommended prerequisites

Corresponding to the course Human-Computer Interaction, introductory course (DH1620/DH2620) and programming competence, elements of object-oriented programming.

Equipment

No information inserted

Literature

No information inserted

Examination and completion

If the course is discontinued, students may request to be examined during the following two academic years.

Grading scale

A, B, C, D, E, FX, F

Examination

  • LAB1 - Lab, 3.0 credits, grading scale: P, F
  • PRO1 - Project, 4.5 credits, grading scale: A, B, C, D, E, FX, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted

Examiner

Ethical approach

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Further information

Course room in Canvas

Registered students find further information about the implementation of the course in the course room in Canvas. A link to the course room can be found under the tab Studies in the Personal menu at the start of the course.

Offered by

Main field of study

Computer Science and Engineering

Education cycle

Second cycle

Add-on studies

No information inserted

Contact

Cristian Bogdan, e-post: cristi@kth.se

Supplementary information

In this course, the EECS code of honor applies, see:
http://www.kth.se/en/eecs/utbildning/hederskodex