Within the Lightning ecosystem, developers work with two main frameworks: Aura Components and Lightning Web Components.
Aura Components
The first Lightning framework of Salesforce was called Aurora. It added the component model but used Salesforce-specific abstractions extensively. It is still heavily used in legacy applications, and some platform functionality still depends on it.
Lightning Web Components (LWC)
LWC is a transition of Salesforce to conform to the current web standards. It is developed based on the principles of native browsers that include custom elements and shadow DOM which makes it faster, lighter, and safer.
Conceptually, the shift from Aura to LWC reflects Salesforce’s move toward web standards, performance-first architectures, and long-term sustainability. Aura is still applicable to some situations, but LWC is massively preferred by the strategic direction of Salesforce.
How to Build Your First Lightning Web Component (Conceptual View)
The first Lightning Web Component requires a couple of conceptual steps to build:
- Setting the role of the component in the bigger workflow of the application.
- Organizing the component, comprising the template (visual layout), the logic layer (behavior), and the configuration (visibility and metadata).
- Setting up the data interaction model, selecting between Lightning Data Service, wire adapters, or Apex where needed.
- Incorporating the component into a Lightning App Builder page or combining it with other components.
- Checking its usability, data integrity, and responsiveness.
It focuses on design intent, functionality, and integration, as opposed to syntax or code mechanics.