Is it possible to build a micro (proof of concept) web server in Javascript?
Has anyone done this before?.
EDIT: Apparently explicit clarification is needed here. The question is ultimately about how to push data from the server to the browser after the initial request made by the browser has been closed. In other words, how to make the browser accept subsequent requests initiated by a server.
Does a javascript based web server need to be installed into the browser, or is there some other method?
If you’re saying that you want to be able to push data to browsers that have initiated contact with your server, I’d do some research on Comet servers.
I don’t know anything about it, so I’ll just pass off a couple links to you that will hopefully point you in the right direction.
From Wikipedia Comet_(programming)
Here’s something called APE. I don’t know a thing about it, but you may find it helpful.
From the APE site: