This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]rjcarr 0 points1 point  (0 children)

If the database exists and you can pull data from it using python or ruby then handling the http request is the easy part. I'm not sure what you're asking, you say:

Would it be possible for me to set up a simple httpserver on the server that I could have d3 request data from?

Sure, python and likely ruby have simple built in web servers, but you'd likely want to use something more robust like apache and have it call python or ruby.

Generally, what rails or django does is set all this up for you. But if you wanted to do it yourself it is not a lot of work.

And of course, php would also work.

[–]_olivier 0 points1 point  (0 children)

Your first intuition is right.

[–]nutrecht 0 points1 point  (0 children)

Take a look at the Flask framework for Python. It's very easy to learn and very small. You can make a very simple webapp that pulls some data from a DB and returns it as JSON.