/Web-Teaching

Overview of CSE1500 (Web technology part)

Primary LanguageJavaScript

CSE1500: Web and Database Technology

Build Status

The Web technology materials and resources of the 2018/19 Web and Database Technology course at TU Delft are listed here.

The database materials are not included here!

Table of Content

Contact

The responsible instructors (A. Bozzon, C. Hauff) can be reached at cse1500-ewi[at]tudelft.nl. Warning: the mailbox will note be active before November 2018.

Web technology course book

The course book for the web technology part is Learning Web App Development by Semmy Purewal. This book covers HTML, CSS, JavaScript and Node.js/Express - exactly the technologies we cover in this course. The book is written for learners without any prior knowledge in these technologies.

Web course book

Tooling

Recommended

Visual Studio Code is the strongly recommended development environment for this course. It is a free and open-source IDE available for all major operating systems. It was originally designed to support Node.js programmers (a server-­side JavaScript framework we use in this class), but now has extensions for many programming languages. Best of all, Visual Studio Code itself is written in JavaScript! It has integrated source control with git support out of the box - making it easy to program in pairs. It als has a Live Share extension, which allows you to code in pairs without the need for tools like git.

Visual Studio Code

VS Code offers many extensions. You can find a guide on how to browse and install them here. A list with all kinds of "delightful" extensions can be found here. Since this may be a bit overwhelming, we made a short list of the extensions we recommend to install for this course:

  • ESLint, the most popular linting utility for JavaScript (a linter is a tool that analyzes source code to flag potentially poor code such as unused variables) - use it to improve your code;
  • Bracket Pair Colorizer does what the name suggests;
  • Quokka.js - a great tool to try out JavaScript snippets without hassle;
  • VS Live Share - a collaborative real-time coding extension (especially useful if a student team works mostly remotely);
  • Material Icon Theme to make finding the file you are after in your app directory a bit easier;
  • finally, a good theme for your IDE to make coding more enjoyable is also not a bad idea; Dracula is a popular one. If you want to pick based on visuals, head over to https://vscodethemes.com/.

If you need to be convinced abut why Visual Studio Code is a great IDE to use, check out this podcast by Wes Bos and Scott Tolinski on this very topic.

Browser developer tools: they are built into all modern browsers; familiarize yourself with the developer tools of your favorite browser. For Firefox (my personal choice), you can find an elaborate description of the developer tools at MDN.

If you are new to team programming, and want to use VSC's features efficiently, read our guide.

Required

Node.js, version 8.12 or higher (i.e. the latest stable one). If you are a Windows user, you may want to use the virtual machine from the Q1 2018/19 Computer Organisation course and install Node.js yourself; the root password is cse&(]] (yes! those are not typos, this is the password).

Two modern web browsers such as Chrome, Firefox, Edge, etc. to test your project code across browser implementations.

Telnet (for Assignment 1): if you use a Linux derivative (e.g. Ubuntu, older versions of Mac OS), open a terminal and you are good to go; for new Mac OS versions you may need to install telnet yourself. If you are a Windows user please use the Windows Subsystem for Linux or use the Virtual Machine provided to you in Q1 (the root password is cse&(]]).

Course grading

grading

Passing requirements: the overall grade must be 5.8 or higher AND the midterm grade must be at least a 5 AND the final exam grade must be at least a 5 in accordance with TU Delft's exam regulations.

Assignments are done in pairs of two students and are graded by student assistants in a binary manner (pass or fail). There are six assignments in total, three cover web programming topics and three cover database topics. While the assignments together make up only 20% of the final grade and are not required, we strongly recommend to tackle the assignments - they cover a lot of exam materials in a practical manner!

We have two assessment moments: one for the Web technology assignments and one for the Database technology assignments. The three Web assignments are assessed in a single session of your team's own choosing: you can book a timeslot for the Web assessment in weeks 2.3, 2.4, 2.5 or 2.6. The assessment is interview-based. The assessment session can yield anything between 3x pass and 3x no-pass. The grading is conducted per student, i.e. you and your partner may receive different pass/no-pass results.

Course topics

  • Week 2.1: (Lecture L1) HTTP and (L2) HTML5
  • Week 2.2: (L3) JavaScript and (L4) Node.js
  • Week 2.3: (L5) CSS and (L6) Node.js (advanced topics)
  • Week 2.4: (L7) Cookies & sessions and (L8) web security
  • Week 2.5: DB topics; midterm on December 13 (the midterm only covers web technology topics)
  • Week 2.6: DB topics
  • Week 2.7: DB topics
  • Week 2.8: DB topics
  • Week 2.9: DB topics
  • Week 2.10: no lectures this week; final exam on February 1 (the final exam only covers DB topics)

Sample exams

In the past years, the web and database (DB) topics were interwoven (usually 1 lecture of web and 1 lecture of DB topics per week) and thus the existing midterm and final exams also contain questions on both topics. To study for the midterm and/or final this year, make sure to look at the midterm and final exams from the past together to find examples of all Web/DB question types.

Exam topics are all topics covered in the lectures and the required readings. Content of the recommended activitivies/readings that goes beyond what is covered in the lectures/course book is not tested in the exam.

Assignments

There are six assignments in total.

The first three assignments cover web technology topics.

Demo application

A demo board game application (a word guesser) is available as well. If you are stuck on how to go about implementing something, the source code of this app can help you to get unstuck. Is has been implemented along the lines of the assignments.

The demo app, just as listed in this year's board game project, consists of two screens, a splash screen:

splash screen

and a game screen:

splash screen

Interactive web technology exercises

Students who do not have a lot of prior knowledge often struggle to get started. Here is a list of useful interactive exercises and how they match up with each lecture. Each of these exercises is small, taking just a few minutes (sometimes less than a minute) to solve.

Web development resources

The practical assignments of this work often require looking up Web development specifics. Two good resources, in general, for Web engineering are Mozilla's MDN portal and Google's Web Fundamentals.

MDN Google Fundamentals

Lecture material types

materials

For each lecture we provide a range of materials:

  • Required readings: most of the required readings are book chapters of the web course book. The book introduces each technology from scratch. The lectures go beyond what is covered in the book and assume that you have read the corresponding book chapter(s) before the lecture.
  • Recommended activities: activities that we think will help you get a better grasp of the different web technologies. Activities are either programming exercises or podcasts (there are some great ones out there!).
  • Recommended readings: if you have trouble understanding one or more concepts introduced in the lectures, take a look at the recommended reading list; you will find here materials that cover the lecture content in a different manner.
  • Relevant scientific publications: we are often asked why this kind of course is part of the computer science curriculum. Isn't this "just" programming? To showcase how web technologies are researched, we here list a number of scientific publications that contribute to our understanding of (the use of) web technologies.

Web lectures

Status update: transcripts of Lectures 1 to 8 are online. Lectures under constructions are tagged: 🚧. The lecture slides are from the 2017/18 edition and will be updated in the coming month.