What is node? js ?
Developers have often heard of this framework in the recent period, as this framework has garnered the interest of many programmers in the field of web development because of its somewhat superstitious things and a whole new level in this world.
The Node . js is a programming framework for many of its basic modules in the JavaScript language that was developed by an American programmer living in Germany named Ryan Dahl and SuperVise Joint, and the first launch of this pattern was in 2009.
It is known that the Java language script is the language of the Client Side, in the sense that it is the language of working next to the user and not in the server but after the development of Ryan D. This Alebattrn (Nud MSG) which works powered by Google V8 and many of the libraries other became the matter is more complicated than ever Before this framework was transformed by working in the server like PHP , in other words, the Node. js Functionality framework has become fully dynamic and dynamic. You can work with databases and so on with ease.
Uses Node framework. js for programming web applications in particular and websites in general, depends in its work on events, so anything that gets to the server launches a non-blocking event. Each new connection => fires event , information sent from form => fires event , requesting data from the database by user => fires event .
In practice, this means that the site or application cannot be late in executing the event even if thousands of users enter it or use it at the same time because the Node framework . js is programmed to be non - blocking, so the commands are executed in parallel, unlike PHP, which is the block until completion language, meaning that the commands are not executed except by executing the above commands, and this is the biggest difference between PHP & Node. js This is why characterize the framework of Nud and cause terrible speed in the implementation of the orders.
Comments
Post a Comment