Web server on Linux hardware
-
Go actually has tutorials that are writing a simple HTTP server.
For Node.js, I quite like LearnYouNode, which has several basic HTTP tasks in the tutorial.
-
You should also look at django, has a well defined project structure and you can accomplish things like REST API fast.
-
Write a web server in BIT. You'd have to do it as CGI since there are no syscalls in BIT. Also, this is the language where the brainfuck program to print "hello world" takes five hours.
-
. Also, this is the language where the brainfuck program to print "hello world" takes five hours.
Yes, but did it actually print "hello world"?
-
I'm not sure.
-
Why didn't use something like Express?
-
Not my choice; ask @accalia
-
Why didn't use something like Express?
no strong reason there other than a desire to keep dependencies to a minimum.
if the site grows much more i'll probably retrofit it to use express but for the few endpoints it has right now it was easy enough to do away with the framework and do it myself. ;-)
-
Django is a fairly heavy framework as far as the Python world goes -- but it's also one of the more common ones (and yes, it has supported Python 3.x for a while now). Flask is also common, but rather opinionated (which is why I didn't use it on the one webapp I have written in Python -- I used CherryPy instead since I already had a template lib (Mako) and storage system (custom written atop SQLite for now) in mind)
Reminds me that I should get set back up to hack on that project some more -- the config DB needs some updating, and I need to figure out how in Hades deployment's going to work at the end of the day.
As to the Ruby suggestion -- the only reason I think the OP will get away with it is because he'll never have to worry about encodings. (Ruby + Unicode = NO!)