On Monday, 9 September 2013 07:55:15 UTC+5:30, rdelcueto wrote: > > Hi everyone, > I'm about to start working on building a site for a startup company. > > We are a small team, and currently they've been coding the site using RoR > (Ruby on Rails). I was thinking Clojure might be better suited for the > task, specially because we'll need to implement a backend which is robust, > scalable and secure, but also we'll need flexibility, which I think the RoR > framework won't shine at all. > > At our team, we are two coders, non of us are proficient in Web > Developing, and we have little experience with RoR, and I thought (I'm > sure) maybe investing time learning Clojure will provide us with better > tools. > > PROBLEM/QUESTION > > While searching for alternative solutions, I stumbled upon the > Flightcaster case, we're they are using RoR to implement the site's > frontend and Clojure for the system backend. I thought this was a very > elegant solution, using each tool for what it's good at. Plus this way we > can reuse what they've already implemented. > > I found a way to do this is by using Torquebox and Immutant, and using the > messaging systems to communicate between Jruby and Clojure. Still I have no > idea of how this works, and the performance and security implications it > brings to the table. I found little information on the subject. > > I would appreciate if anyone could provide guidance, examples or > documentation on the subject. > > Any reference to open source projects which use this hybrid language > solutions on the JVM would be great to have. > > Is this the best way to solve the RoR interactions? Is there any other way? >
I somehow missed this thread earlier. If you are OK to use RoR with JRuby, you might want to use the rack servlet https://github.com/jruby/jruby-rack with lein-servlet: https://github.com/kumarshantanu/lein-servlet and use both JRuby and Clojure in the same JVM process. Shantanu > -- 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.