Adobe Commerce Front-End Dev Expert key terms
Adobe Commerce Front-End Dev Expert · Get comfortable with the vocabulary.
- Layout XML
- Related: Container, Block, Layout Update
An XML file that declares which blocks and containers appear on a page, their parent-child nesting, and which templates they render. Magento merges these files from all modules and the active theme.
- Container
- Related: Layout XML, Block
A structural layout element that holds child blocks but renders no output of its own. Containers position content, such as header or content, and are addressed by name in layout XML.
- Block
- Related: Template, Layout XML, ViewModel
A PHP class that supplies data and rendering logic to a template. Blocks are declared in layout XML, can have child blocks, and are cached as part of the page.
- Layout Update
- Related: Layout XML, Handle
A layout XML file or handle that adds, removes, or reconfigures blocks for a specific page type, such as catalog_product_view or checkout_cart_index. Handles are merged in a defined order.
- Layout Handle
- Related: Layout Update, Layout XML
A named identifier, like default or cms_index_index, that groups layout instructions. Magento collects handles for the current request and merges their XML into the final layout.
- Template
- Related: Block, ViewModel, Theme Inheritance
A PHTML file containing the HTML markup and PHP output for a block. Templates live in a module's view directory and can be overridden per theme.
- ViewModel
- Related: Block, Template
A class passed to a template through the block's arguments to provide presentation data and helper methods. It keeps templates free of business logic and is a preferred alternative to block methods.
- Block Argument
- Related: ViewModel, Layout XML
A key-value entry in layout XML passed to a block's constructor, often used to inject a ViewModel or configuration value. Arguments are read from the block's data array.
- Template Override
- Related: Theme Inheritance, Template
Replacing a module's PHTML file by placing a file of the same relative path in a theme. Magento resolves templates by theme fallback, so the theme copy wins over the module original.
- Escaping Output
- Related: Template
Applying methods such as escapeHtml or escapeUrl to dynamic values before printing them in a template. It prevents cross-site scripting by encoding characters that could break out of HTML context.
- Theme Inheritance
- Related: Template Override, theme.xml
The fallback chain in which a theme declares a parent theme, so files missing in the child are loaded from the parent, then from modules. It enables layered customization without copying every file.
- theme.xml
- Related: Theme Inheritance, Static Asset
The theme's configuration file declaring its title, parent theme, and optional media or favicon settings. It sits at the theme root and drives inheritance and admin listing.
- Knockout.js
- Related: Observable, ko.applyBindings, UI Component
A JavaScript library using observables and declarative data-bind attributes to keep UI in sync with a view model. Magento uses it heavily for cart, checkout, and customer data rendering.
- Observable
- Related: Knockout.js, Computed Observable, Subscription
A Knockout function wrapping a value; reading it returns the value and writing to it notifies subscribers. Observables drive automatic DOM updates when data changes.
- Computed Observable
- Related: Observable, Subscription
A Knockout observable whose value is derived from other observables and recalculated automatically when dependencies change. Useful for totals, labels, and conditional display logic.
- Subscription
- Related: Observable, CustomerData
A callback registered on an observable that fires whenever its value changes. In Magento it is often used to react to cart or customer data updates and trigger side effects.
- ko.applyBindings
- Related: Knockout.js, UI Component
The Knockout call that binds a view model to a DOM subtree, activating data-bind attributes. Magento invokes it per component scope rather than once for the whole page.
- UI Component
- Related: Knockout.js, RequireJS, CustomerData
A reusable JavaScript and XML-configured widget, defined in ui_component XML, that renders grids, forms, and checkout steps. Components bind to Knockout templates and load via RequireJS.
- RequireJS
- Related: UI Component, JavaScript Mixin
An asynchronous module loader used by Magento to declare and resolve JavaScript dependencies. Modules are configured in requirejs-config.js and loaded on demand by path alias.
- JavaScript Mixin
- Related: RequireJS, UI Component
A module that wraps another module to extend or override its behavior without editing the original. Mixins are registered in requirejs-config.js under the config mixins key.
- CustomerData
- Related: Subscription, Knockout.js, Section
A Magento module that exposes private customer data, such as cart totals and messages, to JavaScript via a localStorage-backed registry. Sections are declared in sections.xml and fetched from the server.
- Section
- Related: CustomerData
A named group of customer data, declared in a module's sections.xml, that is loaded into the browser and refreshed after actions like adding to cart. Invalidated sections trigger a reload.
- LESS
- Related: CSS Variables, Static Asset, Theme Inheritance
A CSS preprocessor Magento compiles server-side into CSS. Themes use variables, mixins, and nesting in .less files, with a _module.less file per module for overrides.
- CSS Variables
- Related: LESS
Custom properties, such as --color-primary, declared in a theme's _variables.less or CSS and consumed across styles. Blank and Luma themes expose many design tokens this way.
- Static Asset
- Related: Static Content Deploy, theme.xml
Any file served directly to the browser, such as CSS, JavaScript, images, or fonts, stored under a module's or theme's web directory. Assets are deployed and versioned for caching.
- Static Content Deploy
- Related: Static Asset, Production Mode
The bin/magento setup:static-content:deploy command that copies and compiles theme assets into pub/static for each locale and theme. It is required in production mode.
- Production Mode
- Related: Static Content Deploy, Full Page Cache
A Magento deployment mode in which static files are pre-generated, errors are not displayed, and code is not compiled on the fly. It requires running static content deploy and DI compilation.
- Full Page Cache
- Related: Cache Type, Private Content, Production Mode
A caching layer that stores fully rendered HTML for anonymous visitors and serves it without booting the application. It is pluggable and configured per cache type.
- Cache Type
- Related: Full Page Cache, Cache Invalidation
A named cache bucket, such as layout, block_html, or full_page, that can be enabled or disabled independently. Each type is declared in a module's cache.xml.
- Cache Invalidation
- Related: Cache Type, Cache Tag
Marking cached entries stale when underlying data changes, for example after a product save. Magento uses cache tags and identities to invalidate only affected entries.
- Cache Tag
- Related: Cache Invalidation
An identifier attached to a cache entry grouping it with related entries, such as a product ID. Invalidating a tag clears every entry carrying it.
- Private Content
- Related: Full Page Cache, CustomerData
Dynamic, customer-specific page fragments that full page cache cannot store for anonymous users. They are loaded after page load via customer data sections or AJAX.
- Quote
- Related: Cart Item, Totals Collector, Checkout Step
The server-side model representing a shopping cart before an order is placed. It holds items, totals, addresses, and payment selections, and is converted into an order at checkout.
- Cart Item
- Related: Quote, Totals Collector
A line in the quote representing a product with quantity, options, and price. Adding or updating items triggers totals recalculation and customer data refresh.
- Totals Collector
- Related: Quote, Cart Item
A class that contributes a line, such as shipping or tax, to the quote totals. Collectors are declared in sales.xml and run in sequence during totals calculation.
- Checkout Step
- Related: UI Component, Quote
A stage in the checkout flow, such as shipping or payment, rendered by a UI component. Steps are defined in checkout_index_index.xml and navigated in sequence.
- Shipping Method
- Related: Checkout Step, Totals Collector
A carrier option presented to the customer during checkout, backed by a carrier model and rate. Selecting one updates quote totals and can affect available payment methods.