Last Updated: September 29, 2021
·
52.76K
· Ionut-Cristian Florescu

Node.js is not suitable for generic web projects (I)

Part I • Part IIPart IIIPart IVPart V


"Node.js is only suitable for writing small APIs, not for serious web sites or web applications".

This is bull*hit. I have to say it.

I've heard it and read it so many times it bores me to tears. Most of the times it comes from people who didn't really use it for anything else besides replicating the basic "todo" tutorial, or from "pseudo-developers" or "tech smarties" who like to surf and read a lot about what's hot in the trends, but don't have much "serious" code of their own to show.

Well, there's a brave new world out there that appears to think just the opposite. Like the guys from Klout, Geeklist, Transloadit, Cloud9, and many others featured on this page.

Node.js

They can't all be wrong, can they?...

But still, where does the unfounded myth come from?

Outdated reviews

First of all, despite its increasingly fast adoption rate, Node.js is a (still) young technology. It's not immature anymore, but it's still evolving fast, fast enough that the marketing hype and the technical articles aren't keeping up with it. In fact, most of the articles / forum threads explaining or debating what Node.js is good for and what's not are very much outdated.


> NEXT PAGE

Part I • Part IIPart IIIPart IVPart V

21 Responses
Add your response

Sorry for having to break it up into 5 parts, but apparently there's a limit on the text size somewhere...

over 1 year ago ·

Hey @icflorescu thanks for saying this.

There is so much irrational hate (group behavior) going around this topic (specially here at coderwall ) that is hard to stay objective.

I'll have to try ICS for my next project thanks for the tip :)

over 1 year ago ·

Hi David,

Thanks for taking the time to read. I know about the irrational hate... But people can be irrational about many things :-).

If you're not against CoffeeScript, you should definitely try ICS!

over 1 year ago ·

"Sorry for having to break it up into 5 parts, but apparently there's a limit on the text size somewhere..."

Yes and there is a good reason for that: Because this is a site for short tips and not a blogging engine. Sorry, I think I agree with your post but it just does not belong here...

over 1 year ago ·

@chris089 - thanks for reading and you're right, of course, sorry about that. I'll try to keep them shorter from now on.

Initially, it was supposed to be shorter, however, you can regard it as a "collection of related tips" :-).

However, there's an UX problem here - there's no message / error feedback about the content length when you're trying to publish...

over 1 year ago ·

I love node and I the lack of stable platforms is not because node itself but the slow adoption in hosting solutions. And Why didn't you wrote a blog post and linked here? Saves the work of posting five parts and an apology

over 1 year ago ·

Thank you for this! I love Node. It's definitely my preferred programming language as of the last few years.

over 1 year ago ·

The problem isn't specifically node.js, the problem is JavaScript, which is a half-assed programming language. Better than PHP, but still.

over 1 year ago ·

Just FYI. Coderwall isn't for articles of this format. You might want to look into Medium or something similar

over 1 year ago ·

This is one of the best reads I came across on Coderwall so far, really like the effort you put into this! nice work

over 1 year ago ·

@marcoslhc: Thanks for reading!

In relation to hosting providers, in my opinion AppFog is a good choice, while Heroku is an EXCELLENT one; I haven't tried Joyent yet, but I've heard only good things about them. And there are many others...

over 1 year ago ·

@zilti: "JavaScript, which is a half-assed programming language" - the Internet is (still :-) a democratic environment and each one is entitled to an opinion. I've used C#, Java, PHP and JavaScript. They're just tools, not religions, and all of them have strengths and weaknesses :-)...

over 1 year ago ·

@mattnull - Mine too, I think! Though I'd say it's more of a platform, not a language...

over 1 year ago ·

@christian-fei - thank you for your kind words!

over 1 year ago ·

@icflorescu Yes, but I just can't understand why anyone would want to use it server-side. It's... ok for browser programming, but on the server there are so many awesome alternatives to quirky js. Sure, use what you want, it's your choice.

over 1 year ago ·

@zilti:

"It's... ok for browser programming" - there's no other real alternative yet for browser-programming.

"can't understand why anyone would want to use it server-side" - that's precisely the main theme of the article. There are many reasons; a good foundation for speed and the ability to handle many concurrent users at a decent cost being one of them. I remember working on a RoR project where we had to do some image uploading and processing (on a regular, cheap PaaS hosting solution) and we were having issues on that part. We're having no such problems with Node.js.

"use what you want, it's your choice" - indeed :-).

Thank you for reading and for your feedback!

over 1 year ago ·

generator will be the better solution in the future :p....no more callback hell.

over 1 year ago ·

@kiddkai - yes, they probably will... as soon as the ecosystem is catching up with them (and with koa) :-)

over 1 year ago ·

Too much spam in Coderwall comments lately :-(...

over 1 year ago ·

My question is how node.js to connect database, how node.js to parse xml, how node.js to handle message, to call third party libaray, like creating pdf, handling pictures...

over 1 year ago ·

All the e-commerce companies are shifting towards NodeJS platform .... Because of its performance . Although Lua scripts are better, but Node's V8 Engine is currently most powerful ... If you want to use node in practical model MVC architecture ,..... You may use Sails.js which is popular lately . It gives ease for working with node ....

over 1 year ago ·

Have a fresh tip? Share with Coderwall community!

Post
Post a tip