Giter VIP home page Giter VIP logo

soulever's Introduction

Soulever

Soulever is a simple macro based approach to generate UI forms out of case classes.

Currently supports vaadin 7.0 backend.

Goals

Simplicity, Extensibility, Flexibility, Consistency.

Creating complex and validation rich forms should be really simple.

Features

1. Support for type based field generation

  • Basic types like, String and Int to relevant field implementations with validations.
  • Type constructors like Option or List to relevant field implementations, which wraps the correct inner type( type parameter ).
  • Custom types where Type Provider is present or custom type constructors where Kind Provider is present.

2. Support for the annotated field validations.

  • Basic validations like min, max and nonEmpty
  • Custom validations where validation is passed as a function

3. Automated i18n key generation for fields, buttons and validation errors.

  • Class name will be mapped to dot separated lower case keys.
  • Field names will be mapped to class i18n key with dot separated lower case keys prefixed separated by a dot(.).
  • Validation errors will be mapped to field i18n key with square bracket enclosed error key.
  • Button headers will be mapped to class i18n key with class i18n key with dot separated given button key.

Whats not supported.

  • Kind field providers for types which has type parameter arity greater than 1 ( ex: Either[R,L], Map[K,V] )
  • Combo boxes are not supported yet
  • Complex forms with multiple columns.
  • Sectioned forms are yet to be implemented.

Get soulever

  • Still not published a stable release.

Documentation

TODO

soulever's People

Contributors

hms-tiran avatar tiranuom avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pasanlive nirosan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.