GitHub 上有许多将 htmx 与服务器端框架集成的示例。一般来说,大多数服务器端框架已经很好地设置为与 htmx 集成 - 毕竟,它们中的大多数早在 JSON 流行之前就已渲染 HTML。
¥There are many examples of integrating htmx with server-side frameworks available on GitHub. Generally speaking, most server-side frameworks are already pretty well set up to integrate with htmx - after all, most of them were rendering HTML long before JSON became popular.
不同的框架和平台可能提供用于安装 htmx 的替代系统 - 例如,在 Java / JVM 生态系统中,WebJars 允许将 npm 包与流行的 Java 构建工具(如 Maven 和 Gradle)一起使用。
¥Different frameworks and platforms may offer alternative systems for installing htmx - for example, in the Java / JVM ecosystem, WebJars allows the use of npm packages with popular Java build tools such as Maven and Gradle.
这些示例可能会让你更轻松地在所选平台上开始使用 htmx。
¥These examples may make it a bit easier to get started using htmx with your platform of choice.
¥General Resources
¥ColdFusion (CFML - a JVM Language)
¥CFWheels Framework
https://github.com/Rattlyy/htmx-ktor
¥Bandit with Plug Application
¥Suave (with Feliz)
https://github.com/chasefleming/elem-go/tree/main/examples/htmx-fiber-counter
https://github.com/chasefleming/elem-go/tree/main/examples/htmx-fiber-todo
https://github.com/danieleteti/delphi-dmvcframework-htmx-todo
https://github.com/danieleteti/delphimvcframework/tree/master/samples/htmx
¥FreePascal with Pas2JS