Introduction to Scala.js

Duration: 2 days

This well-balanced Primer course offers students the knowledge necessary to set up a web site using Scala.js.

It is expected that participants will be familiar with html/css and preferably have a basic understanding of the scala language.

Please find the course objectives below:

During this course you will learn the fundamentals of Scala.js: how to setup a project, how to write Scala.js code, how to interact with JavaScript libraries and vice versa.

Here's what the course offer in a little more detail:

  • Introduction to Scala.js
  • Multi-Project setup using SBT (client, server and shared code)
  • Sharing code between 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.

For an onsite course please contact us