Frontrider / shade

Highly experimental web framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Download License

Shade

Shade is an experimental web library framework for Kotlin. Using it allows you to quickly and efficiently build interactive websites.

Conceptually, it's a combination of Kweb, React, MobX, and the kotlinx HTML DSL.

How is Shade different from Kweb?

  • Shade uses the Kotlinx HTML DSL
  • Shade is less opinionated about choice of web server and is designed to be drop-in for projects already using the Kotlinx HTML DSL
  • Shade does not provide routing or database bindings
  • Shade is based on components and reactive rerendering, like everything is wrapped in a granular kweb render {} block

Demo

Clone this project and run ./gradlew testServer to play with a simple demo page. Check TestServer.kt for an example source.

Installation

Add the following to your Gradle build file:

maven { url 'https://dl.bintray.com/scottpjohnson/generic/' }
dependencies {
    compile "net.justmachinery:shade:VERSION"
}

Replace VERSION with the latest version of this repository (currently Download )

Contributions welcome!

This is a highly experimental library. The core is simple enough to be functionally usable, but parts and polish may be lacking. Help us out by opening an issue or submitting a patch!

About

Highly experimental web framework


Languages

Language:Kotlin 72.3%Language:TypeScript 14.2%Language:JavaScript 13.5%