<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Frameworks on genhttp-kt</title><link>https://genhttp-kt.genhttp.run/documentation/content/frameworks/</link><description>Recent content in Frameworks on genhttp-kt</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://genhttp-kt.genhttp.run/documentation/content/frameworks/index.xml" rel="self" type="application/rss+xml"/><item><title>Webservices</title><link>https://genhttp-kt.genhttp.run/documentation/content/frameworks/webservices/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genhttp-kt.genhttp.run/documentation/content/frameworks/webservices/</guid><description>&lt;div class="cards"&gt;&#10;&lt;a class="card card-icon" href="https://central.sonatype.com/artifact/org.genhttp/genhttp-modules-webservices" rel="noopener"&gt;&lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="m16.5 9.4-9-5.19"/&gt;&lt;path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/&gt;&lt;path d="M3.29 7 12 12l8.71-5M12 22V12"/&gt;&lt;/svg&gt;&lt;span class="card-title"&gt;genhttp-modules-webservices&lt;/span&gt; &lt;span class="card-text"&gt;Package on Maven Central&lt;/span&gt;&lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="M7 17 17 7M8 7h9v9"/&gt;&lt;/svg&gt;&lt;/a&gt;&#10;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;The webservice module provides an easy way to implement RESTful services&#10;that can be consumed by clients as needed.&lt;/p&gt;</description></item><item><title>Functional Handlers</title><link>https://genhttp-kt.genhttp.run/documentation/content/frameworks/functional/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genhttp-kt.genhttp.run/documentation/content/frameworks/functional/</guid><description>&lt;div class="cards"&gt;&#10;&lt;a class="card card-icon" href="https://central.sonatype.com/artifact/org.genhttp/genhttp-modules-functional" rel="noopener"&gt;&lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="m16.5 9.4-9-5.19"/&gt;&lt;path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/&gt;&lt;path d="M3.29 7 12 12l8.71-5M12 22V12"/&gt;&lt;/svg&gt;&lt;span class="card-title"&gt;genhttp-modules-functional&lt;/span&gt; &lt;span class="card-text"&gt;Package on Maven Central&lt;/span&gt;&lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="M7 17 17 7M8 7h9v9"/&gt;&lt;/svg&gt;&lt;/a&gt;&#10;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;With this module, requests can be handled in a functional manner, reducing&#10;the boilerplate code to be written by a web application developer.&lt;/p&gt;</description></item><item><title>Controllers</title><link>https://genhttp-kt.genhttp.run/documentation/content/frameworks/controllers/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genhttp-kt.genhttp.run/documentation/content/frameworks/controllers/</guid><description>&lt;div class="cards"&gt;&#10;&lt;a class="card card-icon" href="https://central.sonatype.com/artifact/org.genhttp/genhttp-modules-controllers" rel="noopener"&gt;&lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="m16.5 9.4-9-5.19"/&gt;&lt;path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/&gt;&lt;path d="M3.29 7 12 12l8.71-5M12 22V12"/&gt;&lt;/svg&gt;&lt;span class="card-title"&gt;genhttp-modules-controllers&lt;/span&gt; &lt;span class="card-text"&gt;Package on Maven Central&lt;/span&gt;&lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="M7 17 17 7M8 7h9v9"/&gt;&lt;/svg&gt;&lt;/a&gt;&#10;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;This framework allows to create APIs by defining and implementing controller classes. In contrast&#10;to Spring MVC, you cannot use this framework to dynamically render HTML pages in an MVC style project,&#10;so this is just another flavor of defining a web API.&lt;/p&gt;</description></item><item><title>Websockets</title><link>https://genhttp-kt.genhttp.run/documentation/content/frameworks/websockets/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genhttp-kt.genhttp.run/documentation/content/frameworks/websockets/</guid><description>&lt;div class="cards"&gt;&#10;&lt;a class="card card-icon" href="https://central.sonatype.com/artifact/org.genhttp/genhttp-modules-websockets" rel="noopener"&gt;&lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="m16.5 9.4-9-5.19"/&gt;&lt;path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/&gt;&lt;path d="M3.29 7 12 12l8.71-5M12 22V12"/&gt;&lt;/svg&gt;&lt;span class="card-title"&gt;genhttp-modules-websockets&lt;/span&gt; &lt;span class="card-text"&gt;Package on Maven Central&lt;/span&gt;&lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="M7 17 17 7M8 7h9v9"/&gt;&lt;/svg&gt;&lt;/a&gt;&#10;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;Websockets allow to create a bidirectional connection between your clients and your server,&#10;allowing both sides to push content without the need of sending HTTP requests.&lt;/p&gt;</description></item><item><title>Single Page Applications (SPA)</title><link>https://genhttp-kt.genhttp.run/documentation/content/frameworks/single-page-applications/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genhttp-kt.genhttp.run/documentation/content/frameworks/single-page-applications/</guid><description>&lt;div class="cards"&gt;&#10;&lt;a class="card card-icon" href="https://central.sonatype.com/artifact/org.genhttp/genhttp-modules-single-page-applications" rel="noopener"&gt;&lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="m16.5 9.4-9-5.19"/&gt;&lt;path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/&gt;&lt;path d="M3.29 7 12 12l8.71-5M12 22V12"/&gt;&lt;/svg&gt;&lt;span class="card-title"&gt;genhttp-modules-single-page-applications&lt;/span&gt; &lt;span class="card-text"&gt;Package on Maven Central&lt;/span&gt;&lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="M7 17 17 7M8 7h9v9"/&gt;&lt;/svg&gt;&lt;/a&gt;&#10;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;This handler provides an easy way to serve a single page application (for example a&#10;Vue.js, React, or Angular app) to your clients.&lt;/p&gt;</description></item><item><title>Static Websites</title><link>https://genhttp-kt.genhttp.run/documentation/content/frameworks/static-websites/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genhttp-kt.genhttp.run/documentation/content/frameworks/static-websites/</guid><description>&lt;div class="cards"&gt;&#10;&lt;a class="card card-icon" href="https://central.sonatype.com/artifact/org.genhttp/genhttp-modules-static-websites" rel="noopener"&gt;&lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="m16.5 9.4-9-5.19"/&gt;&lt;path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/&gt;&lt;path d="M3.29 7 12 12l8.71-5M12 22V12"/&gt;&lt;/svg&gt;&lt;span class="card-title"&gt;genhttp-modules-static-websites&lt;/span&gt; &lt;span class="card-text"&gt;Package on Maven Central&lt;/span&gt;&lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="M7 17 17 7M8 7h9v9"/&gt;&lt;/svg&gt;&lt;/a&gt;&#10;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;This handler provides an easy way to serve a static website such as a &lt;a href="https://gohugo.io/" rel="noopener"&gt;Hugo&lt;/a&gt;&#10;application to your clients.&lt;/p&gt;</description></item><item><title>Custom Frameworks</title><link>https://genhttp-kt.genhttp.run/documentation/content/frameworks/custom/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genhttp-kt.genhttp.run/documentation/content/frameworks/custom/</guid><description>&lt;div class="cards"&gt;&#10;&lt;a class="card card-icon" href="https://central.sonatype.com/artifact/org.genhttp/genhttp-modules-reflection" rel="noopener"&gt;&lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="m16.5 9.4-9-5.19"/&gt;&lt;path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/&gt;&lt;path d="M3.29 7 12 12l8.71-5M12 22V12"/&gt;&lt;/svg&gt;&lt;span class="card-title"&gt;genhttp-modules-reflection&lt;/span&gt; &lt;span class="card-text"&gt;Package on Maven Central&lt;/span&gt;&lt;svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&lt;path d="M7 17 17 7M8 7h9v9"/&gt;&lt;/svg&gt;&lt;/a&gt;&#10;&#10;&lt;/div&gt;&#10;&#10;&lt;p&gt;The framework layer of genhttp-kt allows application frameworks (such as webservices or controllers) to host a set&#10;of operations (put simply a route with a piece of Kotlin code to be executed). This way the application framework&#10;itself is only a very thin layer - it analyzes the given scope (such as a controller class) and derives operations&#10;from it which are then handled by the generic framework part. This way, all application frameworks share&#10;the same feature level and can support things like parameter binding, serialization, &lt;code&gt;suspend&lt;/code&gt; functions&#10;or &lt;a href="../../concepts/execution-modes/"&gt;execution modes&lt;/a&gt;. To give an example, the handler which provides the whole&#10;webservice framework consists of about 60 lines of code only - everything else is done by the underlying framework layer.&lt;/p&gt;</description></item></channel></rss>