Is there any working example for CRUD operations step by step with code? I tried many links but not getting the accurate result to understand the steps of crud operations.
I want to make it an extension for it. Not to heavy code but make it very simple so that anyone can understand easily.
If anyone can make it than it will be a great help to beginners.
Thank you!
Best Answer
Here I display admin side CRUD operation with UI Component. I created one module named admin event management. Follow this file tree structure.
First create registration.php and composer.json
Chirag->Events->registration.php
Chirag->Events->composer.json
Chirag->Events->etc->module.xml
Chirag->Events->etc->di.xml
Chirag->Events->etc->adminhtml->menu.xml
Chirag->Events->etc->adminhtml->routes.xml
Now create setup files. Chirag->Events->Setup->InstallSchema.php
Chirag->Events->Setup->UpgradeSchema.php
Chirag->Events->Model->Events.php
It is not possible to put whole code here. Follow this link for whole code and extension. http://chiragjdsofttech.blogspot.com/2019/12/magento-2-extension-for-admin-events.html
These are screenshots from this extension. I Hope it will help to beginners.