All Projects → mvysny → karibu-dsl

mvysny / karibu-dsl

Licence: MIT license
Kotlin Vaadin extensions and DSL

Programming Languages

kotlin
9241 projects
CSS
56736 projects

Projects that are alternatives of or similar to karibu-dsl

karibu10-helloworld-application
Karibu-DSL HelloWorld application in Vaadin 14
Stars: ✭ 14 (-83.72%)
Mutual labels:  vaadin, karibu-dsl
base-starter-flow-quarkus
A project base/example for using Vaadin with Quarkus
Stars: ✭ 23 (-73.26%)
Mutual labels:  vaadin
vaadin-board
Web Component for creating flexible responsive layouts and building nice looking dashboards.
Stars: ✭ 17 (-80.23%)
Mutual labels:  vaadin
java-pwa
Progressive Web Apps in Java
Stars: ✭ 48 (-44.19%)
Mutual labels:  vaadin
GeoFuse
Thematic Engine for Dynamic CSV or Tab Delimited Data
Stars: ✭ 15 (-82.56%)
Mutual labels:  vaadin
vaadin-demo-bakery-app
This project contains the source code generated by Vaadin's Starter Pack (Bakery App/Spring)
Stars: ✭ 43 (-50%)
Mutual labels:  vaadin
microservices4vaadin
Sample application to show the secured integration of microservices and vaadin
Stars: ✭ 30 (-65.12%)
Mutual labels:  vaadin
vaadin-split-layout
The Web Component which allows you to partition a layout into resizeable areas. Part of the Vaadin components.
Stars: ✭ 40 (-53.49%)
Mutual labels:  vaadin
material-theme-fw8
Material design theme for Vaadin Framework 8
Stars: ✭ 23 (-73.26%)
Mutual labels:  vaadin
PagedTable
PagedTable Add-on for Vaadin Framework 8
Stars: ✭ 19 (-77.91%)
Mutual labels:  vaadin
crawling-framework
Easily crawl news portals or blog sites using Storm Crawler.
Stars: ✭ 22 (-74.42%)
Mutual labels:  vaadin
vaadin-dialog
High quality web component for modal dialogs. Part of the Vaadin platform.
Stars: ✭ 15 (-82.56%)
Mutual labels:  vaadin
multiselect-combo-box
A multi select combo box web component based on Polymer and the vaadin-combo-box
Stars: ✭ 41 (-52.33%)
Mutual labels:  vaadin
tutorial
Introduction to Vaadin
Stars: ✭ 58 (-32.56%)
Mutual labels:  vaadin
maven-springboot-electron
Package your Java Web Application with Electron + OpenJDK only using Maven
Stars: ✭ 44 (-48.84%)
Mutual labels:  vaadin
owlcms4
Olympic Weightlifting Competition Management System
Stars: ✭ 41 (-52.33%)
Mutual labels:  vaadin
flow-and-components-documentation
The documentation for the Vaadin framework version 10+
Stars: ✭ 16 (-81.4%)
Mutual labels:  vaadin
testbench
Vaadin TestBench is a tool for automated user interface testing of Vaadin Framework applications.
Stars: ✭ 20 (-76.74%)
Mutual labels:  vaadin
VaadinTetris
Vaadin and Canvas Element Demo.
Stars: ✭ 18 (-79.07%)
Mutual labels:  vaadin
report-ui
Generate Jasper Reports from your entities/beans/POJOs.
Stars: ✭ 14 (-83.72%)
Mutual labels:  vaadin

Powered By Vaadin on Kotlin Join the chat at https://gitter.im/vaadin/vaadin-on-kotlin GitHub tag Maven Central Heroku CI

Karibu-DSL (Vaadin Kotlin Extensions)

This is a Kotlin extensions and DSL library for the Vaadin framework. Please visit Vaadin-on-Kotlin pages for the Getting Started guide.

This library:

  • Allows you to create Vaadin UI designs in the structured code way; the idea behind the library is explained in the DSLs: Explained for Vaadin article. The general DSL idea is explained in Kotlin Type-Safe Builders.
  • Includes useful components like PopupButton and TabSheet
  • Contains additional useful methods which Vaadin lacks; see karibu-tools

Documentation/Tutorial

Please read the Karibu-DSL Vaadin 14+ tutorial.

The origins of the word Karibu: it's a term for North American subspecies of the reindeer; that connects to Vaadin (which is a Finnish word for a female reindeer). A nice connotation comes from Swahili where Karibu means welcome.

Note: For Groovy Vaadin DSL please see the Vaadin Groovy Builder library.

Vaadin 8 Unsupported

Vaadin 8 is no longer supported starting from Karibu-DSL 1.1+. If you're still using Vaadin 8, please use Karibu-DSL 1.0.x. Please find the documentation for Karibu-DSL Vaadin 8 in the 1.0.x README.md. Also see Issue #35 for more details.

Why DSL?

Just compare the Kotlin-based CommonElementsView with the original Java CommonParts. Both render the Common UI Elements page, yet with Kotlin DSL:

  • The UI structure is immediately visible
  • The code is more readable and much shorter and concise
  • You can more easily copy parts of the UI and paste it into your project

Supports Vaadin 14+.

Example Projects

Vaadin 14:

Vaadin 8 UITest / Component Palette

Back in the days there was a Vaadin 8 project called UITest (or Component Palette) which demoed all Vaadin 8 components along with all of ValoTheme styles. The project is no longer around officially, but there's a karibu-dsl fork of the project. To run it quickly, follow these steps:

git clone https://github.com/mvysny/karibu-dsl
cd karibu-dsl
git checkout 1.0.x
./gradlew clean build example-v8:appRun

You may need JDK 11 or JDK 8 to run the demo; JDK 17 support is not known.

License

Licensed under the MIT License.

Copyright (c) 2017-2020 Martin Vysny

All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Contributing / Developing

See Contributing.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].