Cronjob
https://vi-devdocs.magento.com/cach-tao-cronjob-trong-magento2//guides/v2.4/config-guide/cron/custom-cron-tut.html
Note: Install cron if you want to run cronjon automatically: bin/magento cron:install
Indexer
https://vi-devdocs.magento.com/indexing-magento/guides/v2.4/extension-dev-guide/indexing.html
CLI command line
Knockout js và áp dụng trong magento 2:
Giới thiệu:https://knockoutjs.com/documentation/introduction.html
Tutorial: http://vi-magentolearn.knockoutjs.com/
Dùng knockout js trong magento -2-cach-su-dung-2: https://webkul.com/blog/use-knockout-js-trongcustom-customtemplate-templatesmagento2/
Exercise:
Create cli command line:
bin/magento get:product:list --type=simple to get all simple product id
bin/magento get:product:list --type=virtual to get all virtual product id
Create module and :
Create page with controller /showProductList
Write api to get 10 first simple product, return json type
Call When access controller by /showProductList, use AJAX to call api , use template by knockout js to display simple product like that: