??? 01/09/08 03:41 Modified: 01/09/08 03:48 Read: times |
#149158 - WEB 2.0 Responding to: ???'s previous message |
Stefan, as Steve and Andy have pointed out, the web server can be quite simple - at the base level all it really does is copy the html file out through the socket when the browser connects and sends a request. Things get a little more complex with CGI scripts, PHP etc. It takes a while to get around how it all works - there's server side processing, browser side processing and a bit of both. Playing around with Delphi for PHP was quite insightful as how some of the work is down on the browser and some on the server. As for active content - one would normally have an applet (in Java) that gets loaded from the server, executed on the browser and gets the required info via a socket connection, remote procedure calls etc. All a bit 'roundabout' but you can devise some very powerful solutions. For example using a small micro (such as an 8051) with an ethernet mac chip can simply serve up a precanned web page with applets etc and feed, say, a/d values, temperature data, input states etc as raw data up to the browser (which we assume is running on a platform with some reasonable processing power) and have the browser side draw pretty graphs, windows etc and perform some serious number crunching that the 8051 would have no hope of doing. There's plenty of examples of this floating around.
http://www.siteplayer.com/main_content.htm This device used to be based on a 8051(I think!) |