htmx, ScalaTags and ZIO HTTP - Single-Page Web Applications in Scala

Sdílet
Vložit
  • čas přidán 16. 06. 2024
  • GitHub: github.com/rockthejvm/scalata...
    ZIO course: rockthejvm.com/p/zio
    This video is a demonstration of a small web application written in Scala, called Neon Pages: a catalogue of contacts where you can add, edit, remove and bulk-edit data with instant feedback and persistence.
    The application is written in Scala with
    - ScalaTags with server-side rendering (SSR)
    - htmx for custom HTML attributes which handle SPA flows
    - ZIO HTTP for server endpoints
    - ZIO for effects
    - Quill for database
    You can clone the Git repository and edit the application to your heart's desire, and create your own full-blown SPAs with the stack inside. This video discusses the architectural decisions and best practice for writing a similar application.
    Timeline:
    0:00 Intro & app overview
    2:13 Code overview
    3:31 Database Layer
    5:45 Repository Layer
    8:00 Service Layer
    11:41 Controller Layer
    14:30 htmx
    17:23 htmx in ScalaTags
    20:29 Running the Application
    Follow Rock the JVM on:
    LinkedIn: / rockthejvm
    Twitter: / rockthejvm
    Blog: Blog: blog.rockthejvm.com
    -------------------------------------------------------------------------
    Home: rockthejvm.com
    -------------------------------------------------------------------------
  • Věda a technologie

Komentáře • 14

  • @PieterPrinsloo
    @PieterPrinsloo Před měsícem +4

    ❤ Thanks Daniel. ZIO and HTMX in one video, 2 things I wanted to learn more about! These bit more "real world" examples help out a ton with things like how to structure the code which always trips me up.

  • @GVLPedro
    @GVLPedro Před měsícem +2

    After some time trying to run the project I saw java 11 has a problem executing the code, so as requirement it needs java 17. Good job Daniel! all zio courses are amazing 🚀

  • @alejandroramos9461
    @alejandroramos9461 Před měsícem +3

    Amazing! Thank you ❤
    Would love to see a kotlin/arrow/htmx version 😍

  • @thomash398
    @thomash398 Před měsícem +1

    Ah yes, what an amazing resource, thank you Daniel!!

  • @HelloForeignWorld
    @HelloForeignWorld Před měsícem +1

    Nice project organization ❤

  • @rydmerlin
    @rydmerlin Před měsícem +1

    Impressive thumbnails

  • @kali786516
    @kali786516 Před měsícem

    Scala community should plan to create something like python stream-lit to build interactive data dashboards and web app's

  • @duckeggcarbonara
    @duckeggcarbonara Před 24 dny

    Hey brother! Love your vids as I am currently messing with Scala. I am also learning more about another JVM language called Flix! Please check it out sometime, it combines logic programming with more "traditional" hybrid imperative/functional that you are more used to in Scala. Maybe even do a video on Flix :)

  • @kali786516
    @kali786516 Před měsícem +1

    its better to build a course in rock the jvm using this tech may be building a real estate app with real world live data using HTMX

  • @haroonalishah1940
    @haroonalishah1940 Před měsícem

    Hi Daniel, do have "ZIO Rite of Passage" course in Udemy ? Can you please upload !!

    • @rockthejvm
      @rockthejvm  Před 29 dny

      On the Rock the JVM site only

    • @haroonalishah1940
      @haroonalishah1940 Před 29 dny

      I saw lots of your courses on udemy - not sure why wouldn’t you upload “ZIO rite of passage “ too.

    • @66javi66
      @66javi66 Před 13 dny

      @@haroonalishah1940 He lose money on Udemy.