Serial communication for web interfaces


I am working on a series of blog posts to explore different options to connect an Arduino to a web browser. My first approach is by using NodeJS and the serial port. Here is the blog post: - The data from the serial port can then be fed into the browser either witch sockets or by long polling.

It would be interesting to hear what others do to build web interfaces for hardware. Anyone is using C++ for example? What kind of problems can one encounter by using a certain programming language?


I have used Python and Bottle to create a small server to produce controls for a model train system.

And, before that, JRuby and Sinatra.

Both of them connected to the Arduino via the serial port.