Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Node.js?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Node.js?

BitcableBitcable Member
edited February 2012 in General

Any Node.js fans here (other than myself)? I know there are many PHP fans here, so I was wondering if you web devs experimented with something that's a little different.

I'm predicting the "JavaScript is SLOW!" comments will begin soon...

Comments

  • InfinityInfinity Member, Host Rep

    I've yet to try it out, but I've heard that it's pretty neat.

  • var http = require('http');
    http.createServer(function (req, res) {
      res.writeHead(200, {'Content-Type': 'text/plain'});
      res.end('Hello, LowEndTalk!\n');
    }).listen(80);
    

    ^ that's a web server.

  • Just decided to get a second look about it! It can only be better than last time I checked :-)

  • I heard many bad things about it. That you even have to bind it to a port.

    I have classic views, if you can't program it yourself, don't rely on someone else's work.

    Same goes for jQuery.

  • @Derek said: I heard many bad things about it. That you even have to bind it to a port.

    Binding to a port is a bad thing?

  • NodeJS seems to be a great thing, but I have no big experience with it. Node makes Web-Apps real "Live".

  • prometeusprometeus Member, Host Rep

    I've seen it used to write some speedy near real time forum/chat that run on small (but with dedicated resources) virtual machines handling thousand of users without problems.

  • @prometeus: Right. In Asia there is a twitter-clone with ten-thousands of online users on a single dedicated machine.

    Etherpad Lite's (writing on a document with a group of persons) are popular. http://padme.be for example.

  • @Bitcable said: Binding to a port is a bad thing?

    LOL, is bad, bad!!! j/k

  • @Derek also never includes libraries in C++, preferring to write every single function from scratch, and he once famously told CPAN to go straight to hell.

  • @Soylent said: @Derek also never includes libraries in C++, preferring to write every single function from scratch, and he once famously told CPAN to go straight to hell.

    I also program in C...

  • Yes. I am currently developing a webapp with it. The main advantage for me from the development standpoint so far is that only one programming language being used for both frontend and backend.

Sign In or Register to comment.