Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What would you suggest as a backend for web application served from a small ARM board like Raspberry Pi running linux?

My idea is to control the ARM board via a web interface. This would involve serving up bunch of static html/css/js that contains a javascript app that runs in browser client-side, and then accepting HTTP requests and translating them to system calls, sometimes returning the output of those system calls.

Normally I would set up either a Ruby or Node.js stack and hack away, but I think that would be too taxing on resources in this case. In fact, I would like to leave as much resources as possible to other processes that would run on this board.

So, what would you suggest so set that translation up with? Languages, server software, frameworks? What do, for example, routers use for serving up their admin interfaces?

share|improve this question

closed as off topic by Ƭᴇcʜιᴇ007, Indrek, BBlake, Dennis, 8088 Nov 1 '12 at 20:34

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

I don't think this is really on topic for Super User, but I'm not sure if it belongs on Server Fault, Pro Webmasters, or Stack Overflow. (I'm guessing due to the small scale it might not fit at either of the first two, but it feels less on topic for SO...) It is a good question. – Shinrai Nov 1 '12 at 19:14

A fair number of routers and such use CGI scripts to do that, you can render the page as html and such with it. Additionally, it can act as the apache server (See Python's: CGIHTTPServer)

My favorite is Python but I know Perl is huge in this too. It will definitely be slightly heavier than raw HTML/JS since that's all client side - but it'll allow you to work with the hardware a ton.

CGI's can work with Python, Perl, Bash, and a few others that escape me. Funny you ask because I am currently working on one built on Python for my MicroPC as well (something similar to a RPi).

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.