Code Monkey home page Code Monkey logo

scalawui's Introduction

ScalaWUI (Scala Web UI)#

The project aims at building a small but complete client / server application using very powerfull scala tools to construct fully typed and reactive Web applications. Among them:

as well as scaladget to draw some svg and display a http://d3js.org/-like workflow.

It is an empty ready-to-work application, dealing with all the starting wiring. This prototype also exposes as example a small Graph editor inspired from http://bl.ocks.org/cjrd/6863459 javascript example, but written witten in a reactive way thanks to the scala.rx library.

Build & Run##

First, build the javascript:

$ cd scalaWUI
$ sbt
> go // Build the client JS files and move them to the right place

Then, start the server:

> jetty:start // Start the server

Play with the graph

Open http://localhost:8080/ in your browser.

The demo provides with a small graph based on d3.js library but with no D3 at all. It only relies on the previously cited libraries. Try to :

  • drag the nodes to move them
  • shift-click on graph to create a node
  • shift-click on a node and then drag to another node to connect them with a directed edge
  • click on node or edge and press delete to delete

scalawui's People

Contributors

mathieuleclaire avatar

Watchers

Sivaram Konanki 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.