Thanks! Zweikopf looks pretty cool, will check it out more On Tuesday, March 29, 2016 at 2:44:40 PM UTC+3, Erwin Kroon wrote: > > We are running Clojure and Rails in the same JVM with JRuby (with our own > library ring.rack [1] and Zweikopf [2]). > > Depending on the templates, you can probably use only Zweikopf (so you can > reuse gems). Our problem was that with Rails, it is often all or nothing, > which makes me wonder that if you see reusing only the templates as as a > valid option, that rewriting the templates is the better option. > > Cheers, > Erwin > > [1] https://github.com/mpare-net/ring-rack > [2] https://github.com/ifesdjeen/zweikopf > > On Friday, March 25, 2016 at 1:27:28 PM UTC+1, Igor Bondarenko wrote: >> >> Hi everyone! >> >> We're planning on moving our Rails app to Clojure and would want to keep >> our Rails templates during the transition time. Is there a way to render >> Rails templates in Clojure (or Java)? >> >> The reason we need this is because templates will probably change at the >> same time as transition happens and we don't want to update them in two >> different places/templating languages. Eventually we'll switch to Clojure >> templating library completely, of course. >> >> Or it isn't worth the effort and we should just rewrite templates to >> Clojure from the beginning and deal with duplication? >> >> Thanks for your thoughts. >> >
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.