Nodejs: Where or How to write complicated business logic?

前端 未结 6 1494
别那么骄傲
别那么骄傲 2021-01-30 08:55

Recently I got introduced to node.js and cool packages like express and jade. I have few questions consistently knocking my door:

If I pick node.js to build my next webs

6条回答
  •  星月不相逢
    2021-01-30 09:46

    Ryan did not start with JavaScript. A large part of why Node was created in JavaScript is that JavaScript lacked vast oceans of libraries.

    Those vast oceans of libraries are almost all written in blocking code.

    To take full advantage of Node.js you need to limit your self to non blocking libraries. Which means that might need to write some libraries to complete your project in Node.js.

提交回复
热议问题