rocksger.blogg.se

Javascript tutorial for beginners in tamil
Javascript tutorial for beginners in tamil













A simple example of this is given in the code belowįs.readFile("Sample.txt",function(error,data) This is quite different from other programming languages. This feature basically means that if a request is received by Node for some Input/Output operation, it will execute the operation in the background and continue with processing other requests. Asynchronous event-driven IO helps concurrent request handling – This is probably the most significant selling point of Node.js.Let’s look at some of the key features of Node.js The state is maintained, and either the client or server can start the communication. In these sort of applications, it is up to the developer to ensure the right code was put in place to ensure the state of web session was maintained while the user was working with the system.īut with Node.js web applications, you can now work in real-time and have a 2-way communication. Over the years, most of the applications were based on a stateless request-response framework. We will have a look into the real worth of Node.js in the coming chapters, but what is it that makes this framework so famous. But with Node.js, there is finally a way for web applications to have real-time two-way connections, where both the client and server can initiate communication, allowing them to exchange data freely. A stateless model is where the data generated in one session (such as information about user settings and events that occurred) is not maintained for usage in the next session with that user.Ī lot of work had to be done to maintain the session information between requests for a user. Over a long period of time, the framework available for web development were all based on a stateless model.

javascript tutorial for beginners in tamil

Node.js is based on an event-driven architecture and a non-blocking Input/Output API that is designed to optimize an application’s throughput and scalability for real-time web applications.

javascript tutorial for beginners in tamil javascript tutorial for beginners in tamil javascript tutorial for beginners in tamil

Node.js applications are written in JavaScript and can be run on a wide variety of operating systems. Node.js is an open-source, cross-platform runtime environment used for the development of server-side web applications.















Javascript tutorial for beginners in tamil