News for hackers. Stuff that matters.
Re:Tutorial: VMware Cloud Foundry + Rails + MongoDB by endlessvoid94 on Monday April 18, 2011 @03:33PM (#2460305)
I spent some time adding Python/WSGI support to CloudFoundry over the weekend...in general, this project is extremely well designed and SOLID. Almost all of the headaches involved with, for example, adding Django support, stem from Django's conventions and requirements (something I'm not a stranger to).

I'm really looking forward to the future of CloudFoundry.

Re:Tutorial: VMware Cloud Foundry + Rails + MongoDB by swanson on Monday April 18, 2011 @07:11PM (#2461116)
What does that mean for Djangy?
Re:Tutorial: VMware Cloud Foundry + Rails + MongoDB by endlessvoid94 on Monday April 18, 2011 @10:39PM (#2461471)
Re:Tutorial: VMware Cloud Foundry + Rails + MongoDB by lusis on Monday April 18, 2011 @03:05PM (#2460206)
If anyone is curious, I did a post about plain sinatra apps and some of the gotchas with Cloud Foundry here:

http://lusislog.blogspot.com/2011/04/sinatra-noah-and-cloudf...

Sinatra support is pretty basic at this point but it promises to get better over time. The code has several TODOs related to sinatra and node.

Re:Tutorial: VMware Cloud Foundry + Rails + MongoDB by cmelbye on Monday April 18, 2011 @03:49PM (#2460354)
The thing that I don't understand is that the problem of getting frameworks to work consistently with web servers has already been solved by the Rack project. For the life of me, I can't understand why CF doesn't simply look for a config.ru file and pass it to Thin and be done with it.
Re:Tutorial: VMware Cloud Foundry + Rails + MongoDB by derekcollison on Monday April 18, 2011 @04:45PM (#2460561)
We plan on doing that, appreciate the feedback.
Re:Tutorial: VMware Cloud Foundry + Rails + MongoDB by lusis on Monday April 18, 2011 @04:48PM (#2460578)
Derek,

Do you guys have a timeline on that? As I said, I don't mind sitting down and trying to knock it out but schedule wise it won't be in the immediate future. If you guys are already on it (as in someone is currently working on it), I can just wait till the first feature branch on github and go from there.

Re:Tutorial: VMware Cloud Foundry + Rails + MongoDB by lusis on Monday April 18, 2011 @04:46PM (#2460568)
Yeah I was a bit confused by this as well. I haven't looked at the rails code in vcap yet but you're right in stating that this is a solved problem. I think they were going for something a little more generic for code reuse reasons? I plan on sitting down with the code in earnest and helping flush out the rack/sinatra stuff to be better tuned for that use case.
Re:Tutorial: VMware Cloud Foundry + Rails + MongoDB by dinedal on Monday April 18, 2011 @02:44PM (#2460131)
I'm excited about Cloud Foundry, but I'm still waiting on my invite.

I hope they scale up soon so I can play with it, as it seems really awesome.

Re:Tutorial: VMware Cloud Foundry + Rails + MongoDB by Andys on Monday April 18, 2011 @08:58PM (#2461304)
Isn't the idea that you can run it locally?
Re:Tutorial: VMware Cloud Foundry + Rails + MongoDB by pbrumm on Monday April 18, 2011 @02:54PM (#2460165)
Nice. I was playing with this yesterday and hit up against a lack of documentation on configuring your db connect strings.

Great timing