Magento 2 stores the URL identifier in url_rewrite table. You can get the page entity_id or page_id by idendifier. If you look into url_rewrite table where you can search by request_path column.
Magento 2 native supports the built in category move() method which do the magic of moving the updating the parent id, moving the products, set new category URL, clear cache tags, reindex URLs list.
Create your own cache type is common business requirement. Today we gonna learn how to create custom cache type which not only cache the data object but you can also delete cached data from the Magento backend Cache Management.
You can also pass multiple validation classes in validate tag by just adding space between classes.
If you are building a module and you encounter a block that cannot be referenced by name then you probably need to create a plugin to overwrite the template. This can be achieved in three simple steps.
Blocks and Containers are heart of layout. Whenever we want to customise the page layout we do change in layout files or alter templates. Today we gonna list down all the attributes used in the layout xml.
It is very common requirement that we need to create a custom page for new campaigns. But the layout of that page is different from the website generic pages layout.
Virtual types are a way to inject different dependencies into existing classes without affecting other classes.
Magento has an in-built profiler that can be used to identify performance problems on the server side.