Open Rush opened 9 years ago
Server-side performance of this kind of solution is bound to be pretty bad in comparison to ruby-based template engines because of the underlying V8 dependency.
The idea here is to be able to make SPA accessible to search-engines, which means that to speed things up you might have to employ some good caching.
Thanks .. It is a pity. I come from Node.JS background where backend and client templates sharing is a piece of cake and I wanted to leverage the same thing in the RoR project. Do you use jader yourself in any production environment or is it just an experiment?
I agree, and sharing templates in Node.js is indeed a piece of cake. I originally created Jader for a project i was working on with RoR at the back and Jade (Backbone) at the front.
I currently use a different technique with Batman.js and ERB - Check an example here - https://github.com/zohararad/batsoe
Have you done any comparisons on server-side performance vs other solutions like slim?