-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
requesting an htmx server-side tutorial or example that doesn't use a 'web framework' #3099
Comments
I may be nitpicking, but you say
Yet the 2 examples linked above use Javalin, which describes itself as
Not beating the framework allegations! 😄 |
Yes, it is true that Javalin describes itself as a web framework however it is also a 'simple' web framework, and the examples I have found indicate that Javalin can be used as a simple http server with support for mapping handlers to routing. I have also looked at sparkjava (which hasn't had any updates since Jetty 9), and spark-11 (which is an updated fork) however these don't seem to have broad support. And I briefly looked at Java's simplehttpserver but to my knowledge it is oracle-licensed so it would be irresponsible of me to suggest that as well. If anyone can suggest a simpler approach than Javalin, and that doesn't depend on an Oracle library, please chime in. |
As far as I can tell, all of the Server-Side Examples on the htmx site involve the use of some sort of web-framework.
Providing a server-side example of the use of htmx with a simple http-server would be well received, given htmx's interest in focus on the simplicity and power of hypertext.
If such an example already exists, then can it be added to the server-side examples page and also placed at the top of the page as a starting point?
Thanks :)
The text was updated successfully, but these errors were encountered: