DEV Community

fardinh136
fardinh136

Posted on

CRUD Operations discussion.

CRUD stands for Create, Read, Update, and Delete. These are the four most basic operations that can be performed with most traditional database systems and they are the backbone for interacting with any database. CRUD is also sometimes used to describe user interface conventions that facilitate viewing, searching, and changing information using computer-based forms and reports. Many HTTP services also model CRUD operations through REST or REST-like APIs.
For example: to get the product whose ID is 30, the client sends a GET request for http://hostname/api/products/30

The ability to create, read, update and delete items in a web application is crucial to most full-stack projects. For example, if we're creating a store front, blog posting page, to-do list or social media clone, without CRUD actions we'll get stuck very quickly.
A customer may use CRUD to create an account and access that account when returning to a particular site. The user may then update personal data or change billing information. On the other hand, an operations manager might create product records, then call them when needed or modify line items.

Top comments (0)