DEV Community

Kawsar Hossain
Kawsar Hossain

Posted on

Some topics about backend developement !

Overview: Today in this article we will going to know about some backend development topics.

CRUD Operations
CRUD is an abbreviation that stands for Create, Read, Update, and Delete. These four are the most basic operations which can be performed with most traditional database systems and they are the backbone for interacting with any database. Let’s get started to understand the concepts of CRUD operations.
Create: This operation is performed to send or post the data on the server. On our website, we have to store multiple just as text, image, address, date, etc to store this kind of data we need to post them on the database. The create operation is performed to post data in the database.
Read: This operation is performed to get the data from the database. When we visit a website under the hood they send a GET request to the server to perform this read operation. That means the Read operation is performed to get the data from the database.
Update: This operation is performed to update any value which is already in the database. This operation sends a PUT request to update the specific value in the database.
Delete: This operation is performed to delete any specific value in the database. We can delete any kind of value by using this delete operation.

JWT
JWT the full form of JWT is JSON Web Token. This token is used for security purposes.JWT is a good way of securely transmitting information between parties because it can be signed. Normally if we say that the JWT is a way to identify the owner of some JSON data, It’s an encoded, URL-safe string It can contain an unlimited amount of data. When a server receives a JWT token, it can guarantee that the data contained can be trusted because it’s signed by the source. No middleman can modify a JWT once it’s sent.JWT guarantees data ownership but not encryption that means the data can be seen by anyone that intercepts the token because it’s serialized, not encrypted. The JWT is mostly used in API authentication and server-to-server authorization.

Mongoose
Mongoose is a Javascript framework that is commonly used in NodeJs applications with the MongoDB database. It is an Object Modeling library for MongoDB. Mongoose manages the relationships between data, provides schema validation, and is also used to translate between objects in code and the representation of those objects in MongoDB. Mongoose helps to validate the collection of the MongoDB database and it can be done easily. Mongoose has a predefined structure that can be implemented on the collection. Constraints can be applied to documents of collections using Mongoose.

Relational database (MySql)
A relational database is a collection of data that pre-defined relationships between them. And these data are organized as a set of tables with columns and rows. That means we have to store the data on a relational database in a column and row-wise. Relational databases are vertically scalable and vertical scaling refers to increasing the processing power of a single server. The performance is poor in relational databases but its speed is considerably higher because of its ease and simplicity. And also there are various optimizations that are included in a relational database further increase its speed.

Aggregation
Aggregation is a framework that allows us to analyze our data in real-time. The main and the key element in Aggregation is called the pipeline. The Aggregation pipeline consists of one or more stages that process the documents and each stage performs an operation on the input documents

Express
Express is an open-source web application framework for NodeJs it helps to create and maintain the server. It is a server-side framework for building single-page, multipage, and also for hybrid web applications. Express js makes the backend development easier for the developers it is easier to write secure, modular, and fast applications using this Express js.Express Js is easy to configure and customize.

Top comments (0)