Has anyone found a good solution for developing templates for backbone.js that can be used on the server and the client?
This is really desirable with the backbone.js history stack, as users can share and link to real urls in the browser location bar, and the node.js server can render the page on first page view, while using the same templates in the client to rebuild pages on subsequent page views.
This would also provide an ideal output for both users and for search engines that spider the links and won't have to parse or execute javascript to see a fully rendered and working page.
Updated with more info:
Two possible approaches to this appear to be:
1) bones - https://github.com/developmentseed/bones
Bones has some quirks to install and currently needs an old version of node and npm.
2) capsule - https://github.com/andyet/capsule
I haven't tried this yet, but it seems similar. I'd be interested if anyone has interest with either of these projects.