complete polymer webcomponents+kontraktor example
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bower_components
src/main/java/sample.polymer
web
.gitignore
README.MD
app.kson
makedist.sh
pom.xml

README.MD

also contains an up-to-date copy of polymer 1.x elements (no bower required)

Demo: http://46.4.83.116/polymer/ (just sign in with anything except 'admin'), try multiple instances, they interact

blogpost: http://java-is-the-new-c.blogspot.de/2015/07/polymer-webcomponents-served-with-java.html

see also the polymer starter kit (1.03) adapted to kontraktor: https://github.com/RuedigerMoeller/polymer-starter-with-kontraktor

sample application showing how to

  • make use of kontraktor-http server side html-import polyfill (reduces number of http requests drastically)
  • use and organize polymer 1.0x webcomponents with kontraktor's resourcepath
  • define custom webcomponents
  • integrate existing js (d3 word cloud) by defining a webcomponent + using html imports
  • websocket communication of js <=> kontraktor, server push
  • create an application specific kson config file

the app computes a word cloud from buzzwords typed in. The more often a buzzword has been typed, the larger the word is rendered (realtime, distributed across all users).