Configurations Flashcards
the configuration object for config.xml
Magento\Framework\App\Config.
logical component that organizes code for optimized request processing
An area
Commerce framework is organized into what main areas?
Admin (adminhtml)
Storefront (frontend)
Basic (base)
Cron (crontab)
what class always loads the ‘crontab’ area?
\Magento\Framework\App\Cron
an area that is used as a fallback for files absent in adminhtml and frontend areas.
Basic (base)
entry point for admin area
pub/index.php
the code needed for store management can be found in what area?
The Admin panel area
what area contains template and layout files that define the appearance of your storefront.
frontend
what directory contains all the code for components you’ll see while working in the Admin?
/app/design/adminhtml directory
with what areas you send requests to the Commerce framework?
Web API REST (webapi_rest)
GraphQL (graphql)
Web API SOAP (webapi_soap)
entry point for webapi_rest?
pub/index.php
how does URL look up for rest area happens?
The REST area has a front controller that understands how to do URL lookups for REST-based URLs.
entry point for GraphQl?
pub/index.php
entry point for webapi_soap?
pub/index.php
Disabling an area does not result in disabling the modules related to it. (True/False)
True
where are areas registered?
di.xml
how does adobe commerce interpret the HTTP request that arrives state the format?
[frontName]/[controller folder]/[controller class]
what is the class for catalog/product_compare/add?
Magento/Catalog/Controller/Product/Compare/Add.php
the controller folders are separated with dash, * or line or _?
underscore
what method gets executed on controller?
only the execute() method of any given controller is executed.
the scope for Shipping Methods in B2B
Global
what is Offloader Header scope?
Global
how to identify the protocol between the client and load balancer?
Offloader Header value
what is default vaLUE FOR offloaded header?
X-Forwarded-Proto (XFP)