To-do list | Part-13 Create, Update and Delete to-do items | Projects in Magento 2

Опубликовано: 07 Август 2026
на канале: Know the Mage
111
11

In this tutorial, we will center our attention on the creation, updating, and deletion of todo items while strictly adhering to Magento's best practices. Additionally, we will enhance controller response management by streamlining it through the utilization of a centralized class.

Chapters:
0:00 Introduction
0:05 Creating "CreateTodoItem" method in the TodoManagement model
2:31 Creating AbstractController class
5:20 Creating saveItem function inside todo-manager JS Model
5:39 Create send-post-request action JS
8:27 Create item resolver JS Model
10:46 Adding Logic to the Create Controller
17:23 Implementing the 'deleteTodoItem' Method in the TodoManagement Model
18:07 Setting Up the Delete Controller
19:18 Create deleteItem function inside todo-manager js
20:52 Resolve the deleteTodo function inside todo component
21:18 Testing the Create and Delete operations for todo items
22:07 Fixing an Exception Caused by an Empty Description Field in Todo Items