TDP013 Web Programming and Interactivity
AJAX, CORS & Ethics Task
Content
To create the web applications that users have become accustomed to today, you must somehow avoid the entire page reloading as soon as the user clicks on something. With AJAX, you can communicate asynchronously with a server and then update the affected parts with JavaScript.
CORS is a technology for how to make cross-domain calls from a web page (with JavaScript) to servers on other domains, something that is not possible for security reasons in the standard case.
In the project, the students are expected to learn aspects of web programming themselves. The focus is on future technologies such as HTML5, different libraries for Node.js and an understanding of the difference between what runs on the server and client side. For higher grades in the project, WebSockets and/or the Wedge framework should be used.
Lecturer: Huanyu Li
Slides (may still change): 1 slide per page
References
Code example
Page responsible: Huanyu Li
Last updated: 2026-08-24
