Re: Ring and Compojure with Node.js via Clojurescript

2014-12-16 Thread Matthew Molloy
Update: Somebody else has beat me to it. https://github.com/bodil/dogfort Matt -- 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 b

Re: Ring and Compojure with Node.js via Clojurescript

2014-12-13 Thread Matthew Molloy
Thanks for the feedback. I'll let you know how things progress. Matthew -- 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

Re: Ring and Compojure with Node.js via Clojurescript

2014-12-09 Thread James Reeves
On 9 December 2014 at 11:07, Thomas Heller wrote: > Due to significant platform differences from the JVM to Node.js (no real > threads, everything needs callbacks) you'd probably be better off writing > something more javascript-y. Porting Ring is probably not likely since > everything is async a

Re: Ring and Compojure with Node.js via Clojurescript

2014-12-09 Thread Angel Java Lopez
Another path: write ClojureScript that consumes directly Nodejs and some popular web framework (like Express). Then, you can write the controllers/actions/logic in ClojureScript. I'm not sure about the feasibility of this idea from clojurescript. Angel "Java" Lopez @ajlopez On Tue, Dec 9, 2014 at

Re: Ring and Compojure with Node.js via Clojurescript

2014-12-09 Thread Angel Java Lopez
Maybe when you reach the async nature of node.js, you could use node fibers https://github.com/laverdet/node-fibers to wrap up async calls as sync ones, as a "baby step" to implement your ideas. Meteor https://www.meteor.com/ use a lot of fibers internally. Angel "Java" Lopez @ajlopez On Tue,

Re: Ring and Compojure with Node.js via Clojurescript

2014-12-09 Thread Thomas Heller
Due to significant platform differences from the JVM to Node.js (no real threads, everything needs callbacks) you'd probably be better off writing something more javascript-y. Porting Ring is probably not likely since everything is async and Ring is not. Same goes for Compojure but that is most

Re: Ring and Compojure with Node.js via Clojurescript

2014-12-08 Thread Henrik Eneroth
Awesome! I look forward to seeing the results. On Monday, December 8, 2014 3:50:48 PM UTC+1, Matthew Molloy wrote: > > Dear Community, > > I love making Clojure web apps, however their startup time is a serious > drawback when used with a transient hosting service such as Heroku. My > thought i

Ring and Compojure with Node.js via Clojurescript

2014-12-08 Thread Matthew Molloy
Dear Community, I love making Clojure web apps, however their startup time is a serious drawback when used with a transient hosting service such as Heroku. My thought is to port Ring and Compojure over to Clojurescript so that can get their nice abstractions hosted on the Node.js runtime. Any