u/danielciocirlanin r/scala • Recommends
htmx, ScalaTags and ZIO HTTP - Single-Page Web Applications in Scala
27K subscribers • 59 videos on Hallway
Intermediate. Assumes working knowledge.
4.3K views2 years ago1 recommendation
Web developmentProgramming languagesScalaVue, Svelte, Angular and othersHTTP, REST and GraphQL
A demonstration of building a single-page application using ScalaTags for server-side rendering, htmx for dynamic updates, and ZIO HTTP.
GitHub: github.com/rockthejvm/scalatags-htmx-demo 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: Intro & app overview Code overview Database Layer Repository Layer Service Layer Controller Layer htmx htmx in ScalaTags Running the Application Follow Rock the JVM on: LinkedIn: linkedin.com/company/rockthejvm Twitter: twitter.com/rockthejvm Blog: Blog: blog.rockthejvm.com ------------------------------------------------------------------------- Home: rockthejvm.com -------------------------------------------------------------------------What people say. Recommended as a practical example of building modern, lightweight web applications in Scala without heavy frontend frameworks.
u/danielciocirlanin r/scala • Recommends