On Wed, Oct 3, 2012 at 6:28 PM, William "Chops" Westfield w= rote: > > >> Writing an HTTP server is one of the most simple thing to do so. > > I thought that the goal here was to write the GUI in HTML5 itself (HTML5 > has 'programming' capabilities, making it (for example) a competitor to > Adobe Flash) ? > > Writing a server-based GUI using other tools is a different kettle of fis= h. > > I don't know HTML5 from Flash From cgi, but you could look at > http://codebender.cc/ > I think it does something along those lines (for Arduino code)=85 > (And there's mBed for ARM as well.) > HTML5/CSS3/JavaScript is a client side frontend system. In order to actually do anything, you need the server to react to the frontend. For that, you need a web server capable of executing things server side. This is where CGI/FCGI/SCGI/WSGI come in. Your HTML5 code will contain something like a button. When that button is clicked, the client side JavaScript or whatever will make another HTTP request (for example, just another GET request) to the server. This might be a GET request to a CGI program at http://127.0.0.1/my/program.cgi. The server then executes this CGI program that does something on the server, like insert/fetch results from a database, or whatever else. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .