What is Node.js?
What we get from Node.js?
1. Asynchronous and Event Driven
All APIs of Node.js library is asynchronous, which means a server based on Node.js will not wait for an API to return data. It simply moves to the next API after calling and the notification system for events of Node.js make sever to a response from the previous API call.
2. Very fast
As Node.js is built on the “Google Chrome’s V8 engine”, which makes execution of code very fast.
3. Single Threaded but Highly Scalable
Node.js uses the single thread model with event looping. Event system of node.js helps sever to respond in an asynchronous way and make server highly scalable than the traditional server. Node.js server can handle a much large number of requests than the traditional server (like Apache HTTP).
4. No Buffering
There is no data buffering in Node.js applications, the output is simply in output chunks.
What Node.js contains for us?
Applications where Node.js give outstanding results
- I/O bound applications
- Data streaming applications
- Data Intensive Real-time Applications (DIRT)
- JSON API’s based application.
- Single page application
Awesome things you can do with Node.js :
1. Gif chat application
Same as Android, Chrome and Firefox browser have API’s to access physical media of your machine (like camera, mic etc). With the help Node.js, we can create a chat room for GIF. Get source code here.
2. RC Car
When you use gaming controls, the commands get sent over WebSockets to the Node.js server and then that server sends those instructions in real-time over USB to a small computer called Arduino. The Arduino sends the key presses programmatically to the remote control to control the car.
3. Control others PC from the internet
Have you heard about “Team viewer”, it is a software which is used to control others PC from your PC over the internet. Every time it is not necessary for recreation using Node.js, there is utility too. Using node.js you can control others PC from socket programming. The source code here.
4. Group drawing tool
By using the feature of jQuery with Node.js you can make a web app for group drawing. This means you can share a digital drawing board with your friends and draw collectively. Try an app of this kind “drawwithme”.
5. Own hangout :
Node.js with modern web API’s like webRTC which is supported by many web-browsers, we can create an app like Hangout. One of the best example is Talky.io.
6. Food Ordering App
In the event that you are in the providing food industry, this is an application that can enable you to serve your customers better. You can make an application with Node.js that will make it feasible for your customers to put in their requests continuously. Your customers won’t need to influence calls or line at your shop to get what they to require. You can likewise keep close contact with your customers with such an application.
7. Gaming App
Computer games are a most loved take a break for many people. With Node.js, you can make your own particular diversion applications and dependably run them progressively on web programs. After the production of such an application, you can stream your favored computer game and play it on your program. The site turns out to be incredibly intelligent taking into consideration many individuals to visit the site and play at any one time.
By seeing the above examples, I think you got some idea about node.js and what capabilities node.js provides you to do amazing things. So, start creating your own apps and make this world a better place.
Let us know what you are thinking to create using node.js in the comments section below.