Course Overview
This well-balanced Primer course offers students the knowledge necessary to set up a web site using Scala.js.
Course Prerequisites
It is expected that participants are familiar with html/css and preferably have a basic understanding of the scala language.
Outline
During this course, you will learn the fundamentals of Scala.js: how to set up a project, how to write Scala.js code, how to interact with JavaScript libraries, and vice versa.
Here's what the course offers in a little more detail:
- Introduction to Scala.js
- Multi-Project setup using SBT (client, server and shared code)
- Sharing code between a client and server (isomorphism)
- Specifics of Scala.js versus Scala on the JVM
- Scala/JavaScript type interoperability
- Calling JavaScript using static types (primitives, functions, objects etc.)
- Define traits as interfaces to JavaScript APIs
- Calling JavaScript dynamically
- Exposing Scala.js APIs to JavaScript
- Testing your Scala.js code
If there are any specific topics, you want to concentrate on feel free to let us know, and we will be happy to accommodate your needs.