supler

WebJar for supler

License

License

MIT
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

supler
Last Version

Last Version

0.3.0
Release Date

Release Date

Type

Type

jar
Description

Description

supler
WebJar for supler
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/softwaremill/supler

Download supler

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/supler/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>supler</artifactId>
    <version>0.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/supler/
implementation 'org.webjars.bower:supler:0.3.0'
// https://jarcasting.com/artifacts/org.webjars.bower/supler/
implementation ("org.webjars.bower:supler:0.3.0")
'org.webjars.bower:supler:jar:0.3.0'
<dependency org="org.webjars.bower" name="supler" rev="0.3.0">
  <artifact name="supler" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='supler', version='0.3.0')
)
libraryDependencies += "org.webjars.bower" % "supler" % "0.3.0"
[org.webjars.bower/supler "0.3.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

supler - Functional Reactive Form Library

Build Status Join the chat at https://gitter.im/softwaremill/supler Maven Central

Links

Introduction

Supler is a library which makes writing complex form easier. It has server-side (Scala) and client-side (JavaScript) components.

On the server side Supler provides:

  • a DSL for defining forms
  • a way to generate a JSON description of a form
  • running server-side conversion and validation
  • running server-side actions
  • applying values sent from the frontend to the backing object

On the frontend side Supler provides:

  • generating HTML basing on JSON form description
  • serializing a form to JSON
  • running client-side validations
  • customizability of the HTML generation process
  • automatically refresh the form with server-side changes after a field is edited

Supler does not define or mandate how the objects/entities backing the forms should work, how are they persisted, how are sessions managed or how you handle requests. It is also agnostic to other JS frameworks and libraries. The generated HTML has elements with predictable names, which can be easily customized.

Supler diagram

Supler diagram

Hacking on Supler

The backend is built using SBT.

The frontend is built using Grunt. To start on-change compilation of Typescript sources, running tests and a live-reload server:

  • cd supler-js
  • npm install
  • grunt dev

Version history

0.3.0 - 18/03/2015

  • field options on the frontend:
    • field order
    • javascript rendering overrides
    • render hints overrides
  • custom render hints
  • multiple fields in one row rendering
  • complex fields support
  • bug fixes and various improvements

0.2.0 - 29/01/2015

  • subforms extensions
  • ajax queueing
  • tests
  • bug fixes
  • docs

0.1.0 - 16/12/2014

  • initial release

Contributors

org.webjars.bower

SoftwareMill

We love Scala, Akka, Cassandra and Kafka. We help teams get up to speed with functional programming, introduce event sourcing or define streaming data pipelines

Versions

Version
0.3.0