baryshev / ect

Fastest JavaScript template engine with embedded CoffeeScript syntax
http://ectjs.com
MIT License
626 stars 70 forks source link

Server side compile in rails #32

Open mbhnyc opened 11 years ago

mbhnyc commented 11 years ago

Hey guys-

So I serve a JS site using rails (I love my asset pipeline), and am looking to switch over from eco, but this workflow is quite dependent on the https://github.com/sstephenson/ruby-eco gem — which provides the hooks necessary for sprockets, etc...for out of the box compilation.

Does an equivalent gem (or process) exist for ect? Just curious if anyone else has done this process before I jump down a rabbit hole that may be deeper than I want it to be. :)

mc2 commented 10 years ago

Just back to Rails after being away from 3 years. Loving Backbone.Marionette. Have the same question. Looked for a Rails solution for JavaScript templating that handles 1) HTML like Slim, 2) CoffeeScript.

Haven't looked at what it would take to integrate w/Sprockets. Anyone else find/using a similar solution? Somehow inserted ect into the Rails asset pipeline?

mbhnyc commented 10 years ago

Bump!

jwhitcraft commented 9 years ago

Bump.

brodock commented 9 years ago

+1