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
Información del documento
- Subido en
- 8 de septiembre de 2023
- Número de páginas
- 6
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas