4 ms·
My first problem is that "a server" only tells me it probably listens on a socket. Is it a web server, a web framework, a PBX, telnet or general TCP, UDP or Un
by swinglock 7y ago
My first problem is that "a server" only tells me it probably listens on a socket.
Is it a web server, a web framework, a PBX, telnet or general TCP, UDP or Unix socket support functions? Which protocols does it run? Is it a library? Is it a daemon?
It says so little, it could be literally anything.
I guess it has something to do with HTTP and I guess it's a library/framework because I guess a web developer wrote this, but only because it mentions JavaScript and doesn't specify further. But these are still just guesses, I wouldn't know from the text alone.
> works out of the box with modern Javascript
Does it work with other languages too, just not out of the box? If not, the "out of the box" doesn't add anything here. Doesn't similar code work out of the box anyway?
- franciscop 7y ago> Doesn't similar code work out of the box anyway No, very notably both Express and its modern counterpart Koa don't work out of the box and devs using them have to learn, install and configure quite a few packages (middleware). This includes common functions like parsing the body of an HTTP request, parsing cookies, etc. This is the reason I created `server` in the first place, to do `npm install server` and not worry about these things on a per-project basis :) Thanks for all the feedback, I'll replace "server" for "webserver" in my previous sentence. That alone is a great improvement over the current text IMHO.