How to handle routing in a DukeScript web application

104 views Asked by At

DukeScript looks like a life saver for we Java guys! I am considering it for a serious project. Was curious to know whether it's production ready and well documented. Also, liked to know what would be the best way to support routing in a web application.

I asked this question at the official google forum, but didn't get a reply. So, thought to re-ask here.

1

There are 1 answers

1
monacotoni On BEST ANSWER

Here's a blog post with a little example. It shows a simple integration of location hash based routing with knockout templates. The full example code is available on github.

You might also use one of the javascript libraries like sammy or pagerjs, which would require integration with these frameworks, but I wanted to keep it simple.