Full Stack Scala with the Play Framework and Scala.js by Greg Dorrell

Поділитися
Вставка
  • Опубліковано 9 лют 2025
  • JavaScript front-ends are getting richer and codebases larger. TypeScript has seen good adoption as the static typing helps with a growing codebase. I think Scala.js, when combined with Scala on the backend, is even better! In Scala.js the types are not optional, and you can even share code between your backend and front-end. In this talk, we will look at how to build rich web apps end-to-end with Scala. We will start with an introduction to the Play framework, a traditional MVC framework which can be used for the backend. Then we will look at Scala.js - what it is, why you might want to use it, and how to use it - specially with the Play framework. We will also take a look at how developed the ecosystem around Scala.js is, and how you can use existing JavaScript libraries.
    Greg Dorrell is a backend Scala developer at Hotels.com. He's been using Scala in production for 5 years. In the last few years, he's gotten into teaching - initially getting involved with the Code Club initiative to each primary school children how to code. Now he's teaching colleagues at his company how to use Scala.

КОМЕНТАРІ • 18

  • @dfurmans
    @dfurmans 7 місяців тому

    Great stuff! Very well done conducted and convey! savvy!!

  • @robertschlak2161
    @robertschlak2161 6 років тому +5

    Update to async code shown in tutorial uses some deprecated methods (around 9:00).
    When following the tutorial with the current 2.6 version of Play, note you have to make an adjustment.
    From Github the original line is: class HomeController @Inject()(cc: ControllerComponents) extends AbstractController(cc) {
    Per video the change is: class HomeController @Inject()(ws: WSClient) extends Controller {
    Per current LIBs, should be: class HomeController @Inject()(ws: WSClient) extends InjectedController {

    • @jan-david450
      @jan-david450 4 роки тому

      I also needed to add `libraryDependencies += ws` to my build.sbt at that time

  • @abhishes
    @abhishes 7 років тому +2

    Great presentation. thanks! Its nice for someone to get started with 2 technologies. Surprised at downvotes. it is an awesome presentation made available free of cost.

  • @Sk8erMorris
    @Sk8erMorris 3 роки тому

    Why Scala over Golang ? Any thoughts please ?

  • @darrenkim8301
    @darrenkim8301 7 років тому

    Thanks for the good presentation.

  • @jamgamber0
    @jamgamber0 6 років тому

    Great talk dude!!! Thanks.

  • @zolongOne
    @zolongOne Рік тому

    Can Play work with Kotlin?

  • @zakariaamine88
    @zakariaamine88 7 років тому +3

    In his Scala.Js Demo, his is using scalatags which is an external library and not part of the core Scala.js, he should have mentionned that.

    • @abhishes
      @abhishes 7 років тому +3

      He clearly mentions that Autowire is a external library at 28:33.

  • @nsisodiya
    @nsisodiya 4 роки тому

    SPA?

  • @ketanmehta3058
    @ketanmehta3058 7 років тому

    how do I deploy a play project without using any cloud.. like we deploy java based project on tomcat | weblogic.. similarily how can we deploy play project..

    • @sushantadhikari7994
      @sushantadhikari7994 7 років тому +1

      akka http or netty servers

    • @harrydev2953
      @harrydev2953 6 років тому

      It’s not deployed!!! You can run the app as java - jar app.jar

  • @rajashahja8975
    @rajashahja8975 7 років тому

    Why bring Play between ScalaJs and WebServer ?

    • @rajashahja8975
      @rajashahja8975 7 років тому

      Why, because you were paid for by JetBrains ?

    • @Lulkr000
      @Lulkr000 6 років тому +4

      Play totally makes sense for serving production websites, do you write all your server-side scripts from scratch? Play isn't developed by JetBrains --- please think for a minute before you comment

    • @TheDelcin
      @TheDelcin 4 роки тому

      Read about native threads and green threads. You would be interested to learn how actor model fits here.