L07 – Classes and modules

Keywords

ES6 classes, ES modules, builders .

Content

How to work with classes and modules in the browser and how to build an application using a builder.

Resources

The session for L07 and L08 was combined in a 2 hour lecture held on Zoom. An example repo was used with code samples and a slide presentation was held. There were 2 recordings of 50 + 48 minutes.

In L07 Mikael talks about A02 part 2 and shows how to build JavaScript applications using Snowpack and how to create ES modules and ES6 classes.

In L08 Mikael shows how to do requests to a REST server and deal with the responses. It deals with the Fetch API, asynchronous programming and JSON.

The videos L07 and L08 are found in this playlist on YouTube.

The slides L07-08-JavaScript-module.html is available in its repo.

The slides can be viewed online.

The example repo can be cloned from its origin.

Review these resources to complement the lecture.

  1. Snowpack

  2. In the (free online) book "JavaScript for impatient programmers", review the following chapters.

External resources

Welcome to CoursePress

en utav Linnéuniversitets lärplattformar. Som inloggad student kan du kommunicera, hålla koll på dina kurser och mycket mer. Du som är gäst kan nå de flesta kurser och dess innehåll utan att logga in.

Läs mer lärplattformar vid Linnéuniversitetet

Student account

To log in you need a student account at Linnaeus University.

Read more about collecting your account

Log in LNU