Skip to main content
Article

Does the world really need another frontend framework?

Does the world really need another frontend framework? I think this is the case because different frameworks have different underlying assumptions that lead to optimization for different things. Tokens

2 min read
frameworkjavaspringboottypescriptvaadinweb
Does the world really need another frontend framework?

Does the world really need another frontend framework? I think this is the case because different frameworks have different underlying assumptions that lead to optimization for different things. Let's take a look at the principles that led to building Hilla as a framework that integrates Spring Boot backends with responsive TypeScript frontends.

‘Around the code’ Hello, in this article, we are going to discover hilla.

We often use web frameworks and JavaScript libraries such as Vuejs, React or Angular to create our business web applications. The observation is that the typical approach to web application development is not perfectly aligned with the needs of typical business applications. Don't panic, a new framework is put in place for these types of applications.

Hilla what is it?

Hilla is a modern web framework for Java.

Hilla integrates a Java Spring Boot back-end with a responsive TypeScript front-end. It helps you build applications faster with secure server communication, included user interface components, and built-in tools.

Hilla helps you easily access the background with secure hotspots.

  • **Hilla automatically generates TypeScript definitions for all parameter types and

returns.**

  • Call the server via asynchronous TypeScript methods instead of URLs.
  • Type checking at build time.
  • Endpoints are secure by default.

Declarative and component-based.

Hilla uses a simple, yet powerful reactive programming model based on Lit,

It allows you to:

  • Define components and views declaratively in HTML.
  • Update the model efficiently whenever the application state changes.
  • Bind properties and values ​​using standard JavaScript syntax.
  • Create and validate forms using Binder
  • Navigate between views and enter settings with Router.

You should know that the Vaadin components included include all the basic elements needed to create complex applications.

The backend with Spring Boot

Hilla uses Spring Boot on the server. This means you can get started quickly and have access to the full power of the Spring ecosystem:

  • Simply access your database with Spring Data.
  • Secure your application with Spring Security.
  • Deploy your application as a standalone JAR.

Hilla offers a configuration-free toolchain for building web applications that include both your frontend UI and Java stack in a single project. Extracting data from the Java backend is simple, thanks to automatically generated TypeScript code.

Hilla combines server-side Java and client-side TypeScript for increased productivity.

Go further with Hilla

Why did you build Hilla?

"backends for frontends" #pattern.

ShareXLinkedIn