The benefits include an out-of-the-box set of components, event-driven architecture, and
a framework optimized for performance.
- Out-of-the-Box Component Set
- Comes with an out-of-the-box set of components to kick start building apps. You don't
have to spend your time optimizing your apps for different devices as the components take
care of that for you.
- Rich component ecosystem
- Create business-ready components and make them available in Salesforce1, Lightning Experience, and Communities. Salesforce1 users access your
components via the navigation menu. Customize Lightning Experience or Communities using
drag-and-drop components on a Lightning Page in the Lightning App Builder or using Community Builder.
Additional components are available for your org in the AppExchange. Similarly, you
can publish your components and share them with other users.
- Performance
- Uses a stateful client and stateless server architecture that relies on JavaScript on
the client side to manage UI component metadata and application data. The client calls the
server only when absolutely necessary; for example to get more metadata or data. The
server only sends data that is needed by the user to maximize efficiency. The framework
uses JSON to exchange data between the server and the client. It intelligently utilizes
your server, browser, devices, and network so you can focus on the logic and interactions
of your apps.
- Event-driven architecture
- Uses an event-driven architecture for better decoupling between components. Any
component can subscribe to an application event, or to a component event they can
see.
- Faster development
- Empowers teams to work faster with out-of-the-box components that function seamlessly
with desktop and mobile devices. Building an app with components facilitates parallel
design, improving overall development efficiency.
- Components are encapsulated and their internals stay private, while their public shape
is visible to consumers of the component. This strong separation gives component authors
freedom to change the internal implementation details and insulates component consumers
from those changes.
- Device-aware and cross browser compatibility
- Apps use responsive design and provide an enjoyable user experience. The Lightning
Component framework supports the
latest in browser technology such as HTML5, CSS3, and touch events.