Magento 2 Associate Developer Q&A
What are five areas? - Answer- - adminhtml - frontend - base - webapi_rest - webapi_soap - cron Required files to initiate a module? - Answer- 1) 2) etc/ Where would you create a new module? - Answer- app/code/CompanyName/ModuleName What does the file do? - Answer- It sets the path to the component by calling MagentoFrameworkComponentComponentRegistrar::register() What does etc/ do? - Answer- Defines the module version and the load order (using sequence nodes) How to enable a module? - Answer- bin/magento module:enable CompanyName_ModuleName How to check module? - Answer- bin/magento module:status What is /Api: Service Contracts folder for? - Answer- Service Contracts Stores the contracts for modules that contain specific actions that can be reliably utilized from various places in the app Example. MagentoCatalogApiCategoryListInterface What is /Api/Data: Data Service Contract folder for? - Answer- Data Service Contracts Contains interfaces that represent data. Example, Product interface, Category interface or a Customer interface. What is /Block folder for? - Answer- View Models (or template "assistants") Under this pattern, a block is an area of the UI that a test interacts with, and a page is a container for blocks. What is /Console: folder for? - Answer- Console Commands
Geschreven voor
- Instelling
- Magento 2
- Vak
- Magento 2
Documentinformatie
- Geüpload op
- 8 september 2023
- Aantal pagina's
- 6
- Geschreven in
- 2023/2024
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
what are five areas
-
magento 2 associate developer qa
-
required files to initiate a module
-
where would you create a new module
Ook beschikbaar in voordeelbundel