D
D
DigitalGod2013-12-19 21:11:15
Node.js
DigitalGod, 2013-12-19 21:11:15

Can NodeJS be used as the basis for a large project?

Good day.
Since the release of NodeJS, periodically dabbled, superficially studying this miracle. Now the question arose of creating a large project: if you process the idea with a file - an analogue of the Yandex market.
Actually I would like to know - is it possible to create something large using NodeJS or is its application narrowly targeted? I myself write mainly in PHP (projects in Yii), once I wrote in python (django).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kazmiruk, 2013-12-20
@DigitalGod

@d00mko apparently didn't bother to read the article before recommending it to you. The article is just trying to get rid of the myths around the node.
In essence, a node is quite suitable for a project of any size and complexity (like php, rabbi, python, java, etc.) Never in my life have I encountered a situation where the language became a bottleneck in a web application. If you encounter this, then your architecture is already perfect, you have millions of users and you have billions of money to take and rewrite everything from scratch somewhere on the ocean while drinking mojitos brought by your personal bartender.
Java - get ready for the fact that you need a LOT of RAM. Development will take a long time, but you will avoid most of the stupid mistakes due to the peculiarities of the language.
PHP - get ready for the fact that your code will be poop, because of all PHP coders, only a fraction of a percent can write good code. It is really very difficult when the language itself beckons to write more and more poop
) Best use - chats, comets, etc. But it also feels great as a web server.
Python - you can use both asynchronous and synchronous approaches. Memory eats much less than Java (personal experience. The difference was almost 7 times). In terms of speed, it is practically not inferior to Java. By the speed of development, it tears it to shreds
Rabi - I can't say anything sensible, but I don't like the syntax.
Erlang - if you are really tough and you need maximum performance - this is your choice. No language will bring you so much pain and suffering. You can sit for hours and be dumb on one line of code, but every time after writing such a line you will fall into ecstasy) And while you were dumb for hours on one line in Erlang in another language, you would have to write 200 lines. Hardcore option, there are many tests, lessons and examples, but I myself would not risk starting a project on it, since my knowledge is not enough, and finding a developer is unrealistic.
In general, do not write serious projects on what you want to learn or what is trendy. Write in the language you know best.

Y
Yuri Yarosh, 2013-12-19
@d00mko

Node.js is not suitable for typical web projects
I advise you to pay attention to the Typesafe stack
I write myself in Java Play2 jooq liquibase

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question