Adobe Commerce Architect Master flashcards
Adobe Commerce Architect Master · Build recall with a focused review session.
32 cards. Read the term and the definition here. The deck at the top of this page is optional.
- Service contract
- A PHP interface in a module's Api directory that defines public business operations. Calling it instead of a concrete class keeps customizations upgrade-safe and decouples modules.
- Dependency injection preference
- A di.xml node mapping an interface to a concrete class. It substitutes the implementation globally for that interface within the configured area scope.
- Area scope
- A bootstrap context such as frontend, adminhtml, webapi_rest, or crontab. Each area loads its own di.xml and layout configuration, producing separate object graphs.
- Around plugin
- An interceptor that wraps a method, receiving the subject and a proceed callable. It must invoke proceed to run the original method and may modify arguments or results.
- registration.php
- The module bootstrap file that calls ComponentRegistrar to register the module type and path. Required for Magento to discover a module.
- Cron job declaration
- A crontab.xml entry that assigns a class method to a job group. The group must be defined in cron_groups.xml or the job never executes.
- Data patch
- A class implementing DataPatchInterface that modifies data during setup:upgrade. Applied patches are recorded in the patch_list table and not rerun.
- EAV model
- Entity-Attribute-Value storage used for products, customers, and categories. Values are split across typed tables such as _varchar, _int, and _decimal by attribute backend type.
- Declarative schema
- A db_schema.xml file describing tables, columns, indexes, and constraints. Setup compares it to the database and applies the diff during setup:upgrade.
- Flat catalog table
- A denormalized product read table per store, built by an indexer. It reduces joins at the cost of storage and reindex time.
- Indexer state
- A status flag per indexer marking valid, invalid, or working. An invalid state means storefront reads may reflect stale indexed data until reindex runs.
- webapi.xml route
- An XML declaration binding an HTTP route and verb to a service contract method, including the ACL resource that authorizes access.
- GraphQL resolver
- A PHP class implementing ResolverInterface that resolves a field defined in schema.graphqls. It returns the field value for a query.
- Extension attributes
- Fields added to existing service contract DTOs via extension_attributes.xml. They extend API payloads without modifying core interfaces.
- Message queue consumer
- A queue_consumer.xml declaration binding a topic to a handler class. Messages are published by producers and processed asynchronously by the consumer.
- Full-page cache
- A cache storing rendered HTML per URL and vary. Blocks marked non-cacheable are hole-punched and loaded separately via AJAX.
- Varnish integration
- A reverse proxy serving the full-page cache in front of Magento. When configured, it replaces Magento's built-in page cache backend.
- Production mode
- A deployment mode disabling on-the-fly compilation and static materialization. Errors are not displayed, and code changes require redeployment.
- Redis roles
- Redis can serve as backend cache, session storage, and page cache. Separate instances or database indexes per role prevent key eviction collisions.
- ACL resource
- An entry in acl.xml identifying a permission. Admin controllers, menu items, and webapi routes reference it to gate access.
- Form key
- A per-session token embedded in POST forms and AJAX headers. It protects against cross-site request forgery by validating the submitted token.
- Encrypted config
- Sensitive values stored via the Encryptor service or env.php rather than plaintext in the database or source control. Examples include payment and API credentials.
- CSP whitelist
- A csp_whitelist.xml file declaring allowed external script, style, and image sources. It extends the Content Security Policy without disabling protection.
- Static content deploy
- A CLI command materializing theme and locale assets into pub/static. It must enumerate themes and locales or assets return 404 in production.
- env.php
- An environment-specific configuration file holding database, cache, and service credentials. It is generated per environment and excluded from version control.
- config.php
- A committed file listing enabled modules and their order. It drives module enablement state and is read during bootstrap.
- Deploy hook
- A Cloud build phase script running with services available. Database migrations and cache operations belong here rather than in the build hook.
- services.yaml
- A Cloud configuration file declaring service types and versions such as MySQL, Redis, and OpenSearch. It is paired with routes.yaml for endpoint mapping.
- Fastly CDN
- The default content delivery network on Adobe Commerce Cloud. It caches assets and pages and supports custom VCL snippets versioned with the project.
- UI component
- A Knockout.js-driven widget configured by JSON in ui_component directories. It renders Admin grids and storefront elements client-side from a data provider.
- RequireJS config
- A requirejs-config.js file declaring AMD module paths, dependencies, and shims. It controls how storefront JavaScript loads and resolves.
- Theme inheritance
- A theme.xml parent declaration causing a theme to fall back to its parent for templates and assets. It enables layered storefront customization.