Scalatags
Binding.scala
Our great sponsors
Scalatags | Binding.scala | |
---|---|---|
3 | 1 | |
731 | 1,585 | |
-0.1% | 0.1% | |
4.3 | 6.0 | |
5 months ago | 6 days ago | |
Scala | Scala | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Scalatags
-
Second-Guessing the Modern Web
Nowadays I highly recommend HTML embedding libraries directly in the programming language. E.g. ScalaTags https://com-lihaoyi.github.io/scalatags/ or (my own) https://github.com/yawaramin/dream-html
Yes, you give up the ability of designers and frontend-only people to easily work with the HTML templates. But in exchange you get quite a lot.
> templating languages are horrible and stuck in 2005. An underrated pro of react [1] + typescript is that you get to write your UI logic in regular typescript,
Yeah exactly, which is why I always recommend DSLs that embed HTML directly in the language. E.g. https://com-lihaoyi.github.io/scalatags/ or (my own) https://github.com/yawaramin/dream-html
They make writing HTML a breeze with the full power of the programming language available.
> We were doing this the same year that React came out, and clearly had some of the same thoughts as Dan Abramov did
Dan Abramov is not the original creator of React. That was Jordan Walke: https://www.youtube.com/watch?v=GW0rj4sNH2w
- DSL for generating HTML in Java
Binding.scala
What are some alternatives?
Laminar - Simple, expressive, and safe UI library for Scala.js
monadic-html - Tiny DOM binding library for Scala.js
Udash - Scala framework for building beautiful and maintainable web applications.
scala-scraper - A Scala library for scraping content from HTML pages
xs4s - XML Streaming for Scala including FS2/cats support
Korolev - Single Page Applications running on the server side.
Widok - Client-server skeleton
OutWatch - The Functional and Reactive Web-Frontend Library for Scala.js
Hepek - Typesafe HTML templates and static site generator in pure Scala
Vert.x Web - The wiki and issues for the vert-x3 organisation
abandon - :relieved: Simple and Robust Accounting
typedef