Search code examples
web-applicationsframeworksprogramming-languagesembeddedarm

Web Interface for embedded system


I have an application which runs on an embedded system (400MHz, 64Mb of ram and 128Mb of free space on the sd card). I would like to build a Web Interface to communicate with the application. To do that I have to choose two things, the Web server and the Language to use (server-side). For now my searches lead me to these possibilities:

Web Server:

  • lighttpd
  • nginx

Both of these server support CGI and FastCGI.

The interface has to allow the users to authenticate and change language also. Users will have different access levels to the web interface, which means that some users will see the full web interface and others only some pages / options.

The server-side languages that I have found are these:

  • PHP
  • Python
  • Lua
  • C / C++

Are there others languages that I could use?

What kind of frameworks are available for these languages (keeping in mid that I don't have a lot of memory)?

I have already used WebPy (Python) and Kepler (Lua).


Solution

  • Similar projects in which I have worked tend to use Python with either web.py or bottlepy.org. They are simple to deploy and maintain and very light. If your project is simple, that is, you only need to build a minimal web, then I'd go for web.py, whereas if you need something more sophisticated bottlepy is better.