I am currently exploring the play framework. I'm about to replace the proposed templating system, using the powerful XML processing of the Scala library. Here is what I have come with:
This seems to work well and can be a base for more complex needs.
I would be interested in a way to improve the
::: operator. (I managed to get the code to compile, but only the last for expression would yield a result at execution)
Would you share a better way to write it, or show your implementation, if you took a similar path?
I'm still searching a better way to handle path creation (for asset and action) that mimics the routing and reverse routing offered in the templates.