Mar 10, 2020
Laravel is a very interesting PHP framework for building web applications. Their docs have a nice tutorial to build a task list to explain many of their concepts. This blog post basically mirrors that tutorial but shows how to build the same web application using Spring Boot and Thymeleaf.
Read More...
Mar 3, 2020
The previous blog post showed how to use Value Objects with a REST API with Spring Boot. In that post, the value object used a long under the hood. This post shows an alternative using UUID objects instead.
Read More...
Feb 26, 2020
In Using primary key objects with Spring Data and Hibernate, I explained how to use Value Objects for interaction with the database. This time, I will focus on how to do something similar at "the other end" of the application, in the REST API.
Read More...
Feb 17, 2020
Tailwind CSS is an interesting utility-first CSS framework for rapidly building custom designs. It is perfectly possible to use this in a Java Spring MVC application that uses Thymeleaf for server-side rendering.
Read More...
Feb 11, 2020
Testcontainers-cypress 0.4.0 is released with support for Cypress 4.0.1 which has Firefox support.
Read More...
Feb 5, 2020
This post marks the start of the new blog at https://www.wimdeblauwe.com.
The content of the old blog at https://wimdeblauwe.wordpress.com/ has all been migrated here. Do let me know if there would be an error or something missing on a page.
Read More...
Feb 1, 2020
My project testcontainers-cypress allows to run Cypress tests from JUnit using the excellent Testcontainers project. In this blog post, I will show how to get started with the project in a very simple Spring Boot application.
Read More...
Dec 20, 2019
This blog post was written for asciidoctor-pdf 1.x. If you are using asciidoctor-pdf 2.x, then be aware that you need to use pdf-themesdir and pdf-theme in the Maven configuration.
So replace:
<attributes> <pdf-stylesdir>${project.basedir}/src/main/asciidoc/theme</pdf-stylesdir> <pdf-style>pegus-digital</pdf-style> </attributes> with:
<attributes> <pdf-themesdir>${project.basedir}/src/main/asciidoc/theme</pdf-themesdir> <pdf-theme>pegus-digital</pdf-theme> </attributes> Using Asciidoc (the markup language) with the Asciidoctor toolchain is one of our favorite ways to write documentation. We mainly use it to create API documentation from our REST API backends using Spring REST Docs.
Asciidoctor supports a variety of output formats, where HTML and PDF are ones we used the most. While the default PDF output already looks very good, it is always nice to be able customize the output a bit to better align with the project the documentation is created for. This post will explain exactly how to do that.
Read More...
Oct 27, 2019
Most of the tutorials or blog posts that use Spring Data JPA use auto-generated primary keys. This post shows how you can use primary key objects instead of primitives like Long or UUID.
Read More...
Oct 20, 2019
This blog post will explain how to setup a Spring Boot project with server-side HTML rendering using Thymeleaf templates.
Read More...