Scalatags
jatl
Scalatags | jatl | |
---|---|---|
3 | 5 | |
759 | 45 | |
0.5% | - | |
4.5 | 0.0 | |
19 days ago | over 2 years ago | |
Scala | Java | |
MIT License | Apache License 2.0 |
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.
- DSL for generating HTML in Java
jatl
-
Full stack web development in a single Java file: An intro to Javalin and htmx
As the author of a very similar ancient library (JATL) to j2html I strongly discourage this approach. I base this on decades of experience of generating HTML from Java.
- DSL for generating HTML in Java
- j2html is looking for a maintainer
- Revisiting Html in Java
-
Readable Regex v0.3.0 released! I would appreciate your feedback
For example: https://github.com/agentgt/jatl/blob/master/src/main/java/com/googlecode/jatl/MarkupBuilder.java
What are some alternatives?
monadic-html - Tiny DOM binding library for Scala.js
j2html - Java to HTML generator. Enjoy typesafe HTML generation.
Binding.scala - Reactive data-binding for Scala
JavaVerbalExpressions - Java regular expressions made easy.
xs4s - XML Streaming for Scala including FS2/cats support
scala-scraper - A Scala library for scraping content from HTML pages
Hepek - Typesafe HTML templates and static site generator in pure Scala
typedef
xyz-jphil-luvml - Luvml is a way to Love Html (and XML). It is a Html DSL compatible with normal Java and Javascript (using JSweet v3)
dream-html - Render HTML, SVG, MathML, htmx markup from your OCaml app