What is Node.js?
- Node.js is an open source server framework
- Node.js is free
- Node.js runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
- Node.js uses JavaScript on the server
Why Node.js?
Node.js uses asynchronous programming!
A common task for a web server can be to open a file on the server and return the content to the client.
Here is how PHP or ASP handles a file request:
- Sends the task to the computer's file system.
- Waits while the file system opens and reads the file.
- Returns the content to the client.
- Ready to handle the next request.
Here is how Node.js handles a file request:
- Sends the task to the computer's file system.
- Ready to handle the next request.
- When the file system has opened and read the file, the server returns the content to the client.
Node.js eliminates the waiting, and simply continues with the next request.
Node.js runs single-threaded, non-blocking, asynchronously programming, which is very memory efficient.
Want to learn Node.js?
Want to learn Node.js? There is no complete Node.js book that we know of. But there are a few books that I collect. They will guide you in part and some great resources to learn Node.js
2) CoffeeScript_Programming_with_jQuery%2C_Rails%2C_and_Node.js.pdf
3) Learning_Node_js.pdf
4) Learning_Node.js_A_Hands-on_Guide_to_Building.pdf Apress.-
5) Beginning_Amazon_Web_Services_with_Node.js.pdf
6) CoffeeScript_Programming_with_jQuery%2C_Rails%2C_and_Node.js.pdf
7) Learning_Node_js.pdf Node.js_Design_Patterns_-_Casciaro%2C_Mario_%5BPDF%5D%5BStormRG%5D.pdf
8) Node.js_For_PHP_Developers_V413HAV.pdf Node.js_Recipes_-_Cory_Gackenheimer.pdf
9) Node.js_the_Right_Way_%7BTechieAce%7D.pdf
10) Practical_Node.js.pdf Professional_Node.js_V413HAV.pdf
11) Smashing_Node.js_JavaScript_Everywhere.pdf
12) The_Node_Beginner_Book_-_A_comprehensive_Node.js_tutorial_by_M._Kiessling_-_Jan_2014.pdf
13) The_Node_Beginner_Book_-_A_comprehensive_Node.js_tutorial_by_M._Kiessling.pdf
14) %5BAmar_Kapadia_%2CSreedhar_Varma_%2C_Kris_Rajana%5D_Implementing_Cloud_Storage_with_OpenStack_Swift_%28pdf%29%7BZzzzz%7D.pdf
15) Node.js_Essentials_-_Fabian_Cook.pdf