From the course: HTMX with Thymeleaf in Spring Boot

HTMX resources (htmx.org, Twitter, GitHub) - Spring Boot Tutorial

From the course: HTMX with Thymeleaf in Spring Boot

HTMX resources (htmx.org, Twitter, GitHub)

- [Instructor] There are a number of valuable external links available for htmx. Let me share a few key resources to help you get the most out of it. I recommend bookmarking and coming back to them as you need them. First and foremost is htmx.org, the official website for htmx. This is your go-to resource for comprehensive documentation. The documentation here is quite in-depth. Here, you'll find everything from getting-started guides to explanations of htmx's features. I would pause and take some time to explore the examples and tutorial sections, which are perfect for seeing how htmx can be applied in real-world scenarios. htmx.org is well organized, making it easy to quickly find the information you need, whether you're a beginner or an experienced developer. Next, check out htmx org on X, the platform formally known as Twitter. This is the official social media account for htmx, where you'll find the latest updates, tips, and community discussions. If you can, I recommend following this account. It's a great way to stay up to date on new releases, see how others are using htmx in creative ways, and even ask questions directly to the community. It's also a wonderful space for finding inspiration and connecting with other developers who are passionate about htmx. In addition to the core features of htmx, you can further enhance your applications with htmx extensions available at extensions.htmx.org. These extensions provide additional functionality such as advanced event handling, animations, server-sent events, web sockets, and more that can be effortlessly integrated into your projects. By leveraging these extensions, you can expand htmx's capabilities and tailor your web applications to meet specific needs, all while keeping your code clean and maintainable. The next resource I recommend keeping up with is htmx GitHub repository at github.com bigskysoftware/htmx, which is an essential resource. This is the central hub for the htmx code base where you can dive into the source code, submit issues, and even contribute to the project. The repository includes detailed documentation on installation, usage and API references. If you're interested in the latest developments or want to contribute to the project, be sure to explore these issues and pull request sections. The GitHub repository is also where you can find the latest release notes and the latest version of htmx. Another great resource is start.spring.io, for generating Spring Boot projects with all the necessary dependencies. Interestingly, htmx Spring Boot plugin developed by Wim Deblauwe has been integrated directly into the Spring ecosystem. Can find htmx support on start.spring.io by adding the htmx Spring Boot starter dependency. To include htmx, simply click on ADD DEPENDENCIES, type htmx in the search bar, and select the results to add it to your project. In your palm, it will show up with a group ID of io.github.wimdeblauwe and the artifact ID of htmx-spring-boot. This dependency will provide necessary ability for influencing the behavior of backend code based on htmx headers passed in the request and response. The integration of spring.io also underscores the growing popularity and utility of htmx, making it even easier to create dynamic web applications within the Spring framework. We'll be using this dependency later in the project, but this is where to find it if you want to include it in your own projects. Additionally, because we're going to be working with Spring Boot Maven project, we're going to want to utilize the WebJars to manage htmx JavaScript dependencies. A quick note, this WebJar dependency is different from the htmx Spring Boot dependency. As you can see here, there are other WebJars that we could pull down, as well as htmx-ext-sse for servers-sent events, and htmx-ext-ws for web sockets. The ext here identifies these dependencies as external as we talked about a few minutes ago. The project code for this course will also begin to use WebJars to efficiently manage some other essential JavaScript libraries like Bootstrap and Font Awesome. WebJars are a convenient way to include frontend libraries in your project by managing them as a Java dependency and eliminating the need for manual downloads or CDN links. WebJars integrates these libraries directly into your Maven or Gradle build. This will keep your project clean, organized, and up to date with the latest versions of these powerful tools. The next site I want to mention is thymeleaf.org. Thymeleaf is a powerful Java templating engine, and you can find all of the resources and documentation and guides you need at thymeleaf.org. Everything from getting started tutorials, up to in-depth documentation about Thymeleaf can be found here. Additionally, because we'll be using Thymeleaf Layout Dialect, I also recommend taking a look the ultraq github.io site for the Thymeleaf layout. And lastly, it will serve you well to get familiar with where to find the documentation resources on Spring Boot. Everything you need or want to know can be found here. Okay, so together, these resources and tools provide everything that you need to master htmx, from foundational knowledge and community support to seamless integration into your Spring Boot projects.

Contents