untangled

NEW CHANNEL: #fulcro
cjmurphy 2016-08-06T03:03:49.000329Z

With the example Sente web application you deliver the index.html from your own code, and have code control over the server side routing. Is it possible to do this with an Untangled Client/Server application? All the Untangled applications I have seen have index.html just as a file.

mahinshaw 2016-08-06T03:23:21.000330Z

@cjmurphy: Are you saying you want to serve a template (i.e. hiccup, etc) from /? If so, then yes. We do that in a good bit of the things we are developing.

cjmurphy 2016-08-06T05:11:40.000331Z

@mahinshaw: Yes I used hiccup for the index.html from my own routing function gen-main-page for / from routing done with Ring. That was when just using Untangled Client. If I could get at the server routes list somehow, with the application now being an Untangled Server, I think that would help.

mahinshaw 2016-08-06T19:43:24.000333Z

@cjmurphy: If you take a look at make-untangled-server, you will see an option for :extra-routes. These use bidi to do routing. You can use this to add a hiccup based template.