CRUD
Learning objectives
- You know what the CRUD acronym stands for.
The acronym CRUD refers to create, read, update, and delete, which are the four basic operations used for managing data. The operations are also present in most web applications in one form or another, often in multiple locations. As an example, a blog application could consist of the following four main operations:
- Adding a new blog post (create)
- Viewing a list of blog posts (read)
- Editing an existing blog post (update)
- Removing an existing blog post (delete)
Similarly, a todo application could consist of the following four main operations:
- Adding a new todo item (create)
- Viewing a list of todo items (read)
- Editing an existing todo item (update)
- Removing an existing todo item (delete)
And so on. Here, we look into implementing a todo application that allows the user to perform the CRUD operations on a list of todo items.