kotlinx.html
javalin
DISCONTINUED
Our great sponsors
kotlinx.html | javalin | |
---|---|---|
10 | 23 | |
1,540 | 5,583 | |
2.6% | - | |
7.6 | 9.1 | |
2 days ago | almost 2 years ago | |
Kotlin | Kotlin | |
Apache License 2.0 | 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.
kotlinx.html
-
Dart 3 will be on pair with Kotlin and other top languages (you can see more features in the proposal)
As for the strange infix syntax, you're correct - it's not important (for Dart anyway). Kotlin supports writing code that have DSL like syntax making things like typesafe HTML or Jetpack Compose possible.
- I taught the chat bot an alternative syntax for HTML, called HBML, basically just braces instead of tags... we are so screwed
-
Create any kind of app with Kotlin
Html DSL in Kotlin. See it on Github.
- Is there an equivalent for Compose Web for server side Kotlin apps?
-
Show HN: Imba – I have spent 7 years creating a programming language for the web
Thanks for sharing, I really like projects like this. And the website is really informative.
I find it less of a new language and more of a JS preprocessor, removing lots of the cruft and integrating XML-tags and CSS in a very neat way.
What I miss:
1) I feel the web is shifting to more type checking. TS, Elm, Kotlin.js... I personally also prefer more typesafety, especially if the project grows in LOC/team size.
2) Compared to JSX, Imba does a much better job in integrating adjacent technologies. Though I much prefer these to be integrated in an eDSL fashion. For example how Elm does HTML templating (in Elm) or Kotlinx.html[1].
Just taste i guess. Good luck with yr project!
-
Kotlin Team AMA #3: Ask Us Anything
I do use kotlinx.html and while there is a lack of the documentation about the tags, most of them are already implemented (as far as I know they are automatically generated) and the ones that aren't automatically generated can be implemented manually in your own project.
Recently I wanted to try doing Kotlin Fullstack with https://htmx.org/ , I looked at several HTML Template Engines and came across kotlinx.html. I really wanted to use it to make my whole stack type safe, but the few wiki pages that you call "documentation" really had me struggling to use it. https://github.com/Kotlin/kotlinx.html/wiki Like I didn't even find a whole list of all tags you have. I really expected different from a offical Jetbrains Kotlin library, not to mention there is a complete lack of tutorials for this library, I switched to mustache because they have way better documentation.
javalin
-
Looking for maintainer for jvm-brotli
If you've read this far, you might be interested to know that Javalin has been offering Brotli compression through jvm-brotli for three years already, and that there have been no (reported) issues. In other words, the effort required to release and maintain this is probably not huge.
- Using "equivalents" in other languages to help learn
-
Question about Kotlin from an ex-Java developer
I'm a big fan of Ktor (ktor.io) but another reasonable lightweight alternative is Javelin (https://javalin.io/). Heck even Spring Boot isn't that bad. HikariCP + JooQ (has both java and kotlin codegen) for DB access if you need and you're good to go.
-
Turbo: The speed of a SPA without writing JavaScript
A similar alternative that does not rely on web sockets is https://htmx.org. I have greatly enjoyed using it with some simpler web frameworks like https://javalin.io to do some prototyping and smaller projects. I'm sure if someone made a plug and play UI library like material UI for Angular on top of htmx you could absolutely fly through MVPs.
- Does Java has an equivalent to Django/Laravel/Node
-
Java Equivalent of Express.js for REST
If you want something really small that simply let's you expose REST APIs using plain Java, without the IoC containers, you might want to check out Javalin, Ratpack or Armeria
Javalin
-
Why people don't love Java?
I've been looking at https://javalin.io/ Seems close enough to express and some big names are using it, so I wouldn't say it's fizzling out
-
Is there Expressjs like framework for java
Javalin (https://javalin.io) is strongly inspired by Express and Koa, so you should feel right at home:
What are some alternatives?
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort
Spring Boot - Spring Boot
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
Quarkus - Quarkus: Supersonic Subatomic Java.
http4k - The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.
Jooby - The modular web framework for Java and Kotlin
vertx-lang-kotlin - Vert.x for Kotlin
spark-kotlin - A Spark DSL in idiomatic kotlin // dependency: com.sparkjava:spark-kotlin:1.0.0-alpha
springdoc-openapi - Library for OpenAPI 3 with spring-boot
vaadin-on-kotlin - Writing full-stack statically-typed web apps on JVM at its simplest
Elide - Elide is a Java library that lets you stand up a GraphQL/JSON-API web service with minimal effort.