By Andrea Schauerhuber, on March 13, 2017
Vert.x is an open source framework for building reactive applications on the Java Virtual Machine. It can be used for a variety of purposes like simple network utilities, dynamic webservers, microservices and REST APIs and lets your app scale with minimal hardware.
The API-first CMS Gentics Mesh uses Vert.x at its very heart to build the Gentics Mesh REST API endpoints and we here at Gentics simply love it.
“Bring your own frontend” - as a headless CMS, Gentics Mesh focuses on delivering content through an API and allows developers create websites, apps, or any other data-driven projects with their favourite technologies.
We recently showed you a few examples of how to use modern routing frameworks to build a simple product catalogue web app with Gentics Mesh:
We would have loved to do this too with Vert.x and the handlebars template engine, but found that this would be quite cumbersome. So Johannes (@Jotschi) wrote an enhancement #509 for Vert.x which has now been released as part of the new Vert.x version 3.4.0. Now it’s possible to easily access nested data from Vert.x’s JsonObjects within the render context of your templates. You can find out everything about how to integrate these new possibilities in Johannes’ post Data-driven Apps made easy with Vert.x 3.4.0 and headless CMS Gentics Mesh.
As mentioned before, the Gentics Mesh REST API endpoints are built on top of Vert.x as a core component. We will soon publish a blogpost on how and why we use Vert.x in the Gentics Mesh core, explaining all the benefits comprehensively.
If you are interested to learn more, feel free to follow us on twitter (@genticsmesh) or to subscribe to our newsletter.
If you are interested in other modern routing frameworks, you might want to to take a look at these other posts:
Image via Unsplash by Thaddaeus Lim
Thanks for reading our blog! Try our headless CMS Gentics Mesh for free!