DEV Community

Adam Miedema
Adam Miedema

Posted on • Originally published at Medium on

1

The concise web framework

Alpas is a concise web framework built with the wonderfully statically typed Kotlin development language.

Previously, I showcased using Alpas for a Stripe payment example. I used the standard file structure to create that example and showed how you can easily add Gson into the Alpas framework.

However, after looking through my previous post and while thinking how concise Alpas is as a framework, I wanted to tweak the example a bit to reduce the code and show off Alpas’s conciseness.

The result is the image at the top of this post.

In the revision, I brought everything into a single file, simplified the routes, removed some unnecessary code, and switched from Gson to Jackson, which is already built into Alpas.

The result is a nice, clean, single page of back-end code that works with Stripe’s payment example.

As in art, less is more. 🎨


Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

The best way to debug slow web pages cover image

The best way to debug slow web pages

Tools like Page Speed Insights and Google Lighthouse are great for providing advice for front end performance issues. But what these tools can’t do, is evaluate performance across your entire stack of distributed services and applications.

Watch video