Giter Site home page Giter Site logo

scaladin's Introduction

Scaladin

Scaladin makes easier to use Vaadin Framework with Scala programming language. It's a wrapper library that provides a pure Scala API for Vaadin Framework.

Build Status

How to use it?

Scaladin 2 is for Vaadin 6 and Scaladin 3 for Vaadin 7. Scaladin 3 is still under development and not yet released but you can build your own version from sources. Scaladin 3 requires Scala 2.10. The JAR file and a Maven dependency for Scaladin 2 and Scala 2.9 can be found from the Vaadin Directory.

The following listing shows what Scaladin 3 code looks like:

package com.example

import vaadin.scala._

class ScaladinExampleUI extends UI {
    content = new Button {
        caption = "Click me!"
        icon = ThemeResource("../runo/icons/16/globe.png")
        clickListeners += Notification.show("Hello World!")
    }
}

The easiest way to test Scaladin 2 is to use Risto's giter8 template that generates a sbt project:

> g8 ripla/vaadin-scala
<answer questions, enter for defaults>
> cd <project dir>
> sbt container:start ~aux-compile

After the above commands you have a working Scaladin application running on http://localhost:8080. You can even edit the generated Application class and changes are affected to the browser. In order to import your project into Eclipse, you have to say:

> sbt eclipse

That generates needed Eclipse configuration files into the project.

Credits

The following people have contributed code or ideas to Scaladin:

  • Matti Heinola
  • Henri Kerola
  • Henri Muurimaa
  • Risto Yrjänä

License

Scaladin is licensed under the Apache 2.0 License.

Developing the library

Wiki has a page about Developing the Library.

scaladin's People

Contributors

ripla avatar

Watchers

 avatar James Cloos avatar

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.