Skip to main content



Node.js 


                   -Developed by Ryan Dahl in 2009

                 
                  -Open source server environment. 


                  -Runs on different platforms such as Windows, Linux, Unix and                                                 Mac OS 

                  -Generate dynamic pages

                  -Add, delete, update and edit data in database

                  -files use extension ".js"




Node.js is best for event based real time applications such as game servers, advertisement servers and streaming servers.


With Node.js web applications can have a real-time, two-way connections, where both the client and server can initiate communication, allowing them to exchange data freely and also to maintain the session information between requests for a user.




Advantages and disadvantages in Node.js




Advantages

          -Easily extensible.


          -Support for common tools like unit testing.



          -Easy to scale both horizontally and vertically.



          -Ability to use single programming language.



          -Increasing the performance.



          -Support for npm





Disadvantages



          -Number of robust libraries is comparatively low.



          -API (Application Programming Interface) is not stable



          -Nit suitable for computational intensive tasks.



          -Asynchronous programming model is complex.



          -Growing demand for experienced professionals.





Event Loop


Event loop allows Node.js to perform non-blocking I/O operations








Comments

Popular posts from this blog

Restful Web Service Restful Web Service  is a lightweight, maintainable, and scalable service that is built on the REST architecture. Restful Web Service, expose API from your application in a secure, uniform, stateless manner to the calling client. Restful mostly came into popularity due to the following reasons: Heterogeneous languages and environments – This is one of the fundamental reasons which is the same as we have seen for  SOAP  as well. It enables web applications that are built on various programming languages to communicate with each other With the help of Restful services, these web applications can reside on different environments, some could be on Windows, and others could be on Linux. Restful Architecture An application or architecture considered REST full or REST-style has the following characteristics State and functionality are divided into distributed resources – This means that every resource should be accessible via ...
GitHub link  https://github.com/chamoddissanayake/OnlineFashionStore Group Project - Online Fashion Store There is a use case diagram of the system . This diagram denotes a better understanding about the system online fashion store. It provides who are the users of the system and what are the functionalities of the each user. System Functionalities Main Roles in the system. User Admin Store Manager Guest Only users who logged in to the system can place orders   Once the admin creates a login for the store manager, it should be notified to the store manager via email Admin can create categories for the products The store manager can add products with details to the relevant category and add discounts to selected products User can add products to the shopping cart   Users can purchase the selected products in the shopping cart by selecting the payment method Users can c...
          Application Framework Principles Frameworks In computer systems, a framework is generally a layered structure implying what kind of programs can or should be built and how they would interrelate. An Application Framework composed of a software framework used by software developers to implement the standard structure of application software. To give you an idea, let us consider the below scenario about the chassis of a car or the steel structure of a building. Application frameworks became famous with the growth of graphical user interfaces (GUIs) since these tended to promote a standard structure for applications. Developers usually use object-oriented programming (OOP) techniques to implement frameworks such that the unique parts of an application can simply inherit from classes extant in the framework.  Choosing a suitable framework among the available frameworks can be a tedious task. No...