By using components as templates we can save our time developing a same UI or functionality multiple times. By placing the part of UI, which is similar for all the elements in one separate component and then enclosing all the…
Horizontal and Vertical Scaling In React JS
Horizontal Scaling Horizontal scaling is also known as scaling out. Horizontal scaling refers to the process of adding more machines to handle the huge incoming traffic. Horizontal scaling helps in parallel processing. It is like if we want to finish…
What is Load Balancing?
Load balancing is a concept that is used to increase the performance and uptime of the web servers. In load balancing, the network traffic is equally distributed to a group of servers, so that any one server would not get…
req and res objects in Express Js
You must have seen the req and res object passed to the callback functions in Express Js. You may have wondered, what are these parameters. req object : req object is passed to any route handler function or in middlewares.…
Difference between Sessions and Cookies
Sessions Session starts when you request the server for the first time and it remains till you close that site. The amount of time you have spent on the site is called a session. As sessions get deleted when the…
How to install Python?
1. Installing Python on Windows: Download the Installer: Go to the official Python website: python.org/downloads. Download the latest version of Python by clicking on the appropriate link for Windows. Run the Installer: After downloading, run the installer. Check the box…
What is Python?
Python is a high-level, interpreted programming language known for its readability and versatility. It was created by Guido van Rossum and first released in 1991. Here are some key aspects of Python.1. Easy to Learn and Use Syntax: Python’s syntax…
Sessions in Express Js
As we know HTTP is a stateless protocol, i.e it doesn’t stores any data. There are many cases where we have to store the user data to keep track of the user, here comes the use of sessions. When the…
Advantages and Disadvantages of Express Js
Express Js is a web framework used for creating server side code in Node Js. It is a lightweight framework, which offers almost all the necessary and basic features like routing and middlewares out of the box. Nowadays, the number…
Using MongoDB with Express Js
MongoDB is a NoSql database which is used to store a large volume of data. NoSql database not uses the tables and rows approach. In MongoDB the database is collection of documents, documents are collection of key-value pairs. Javascript developers…