What & Where to use Lightning Component Framework
Lightning Component Framework is used to develop web-based applications for both mobile and desktop.
This framework gathers all the components on a single page user interface of an application and makes them quickly respond to the user clicks. Hence client side usesJavaScript and server side uses Apex.
Lightning components can be developed and reused in an application. Lightning components are also named as Aura components.
What are the uses of Lightning Component Framework?
Out-of-the-box components
Enables to work with Out-of-the-box components to built an application more quickly. It also saves lot of time in building an application for only one device and makes it to be compatible for all other devices like desktop, mobile, laptop…
Rich Component Ecosystem
Components can be built and made them to be used in salesforce mobile app, Lightning Experience and Lightning App Builder, which makes easy to develop pages just by drag and drop on to the page. We can also make them available in the AppExchange.
Fast Development
Using Out-of-the-box components, we can easily build the applications faster for both desktop and mobile at a time.
Device-aware and Cross Browser Compatibility
Application has responsive design, it fits to any device like Mobile, Tablet and desktop according to their screen resolution, hence there is no need of designing individually for all the devices. It’s also compatible for all the browsers in all devices.
Where can we use Lightning Components?
Lightning components can be used in many ways in salesforce organization.
- Lightning Experience
- Components can be used as the App Launcher to launch the application.
- It can be added as tab, which contains all the fields in the application navigation bar.
- Components can also be embedded to the user interface.
- It can also be added on pages to create home page/record page.
- Salesforce1 mobile App
- Lightning components are used on mobile app, that helps in adding tab on navigation bar.
- Communities
- We can see the components, added to the communities using community builder.
- Stand-alone Apps
- Components added to the stand-alone apps works independently and its great feature is reusability.
- Visualforce Pages
- Lightning components used in visualforce pages is to build the new feature and can also use existing feature.
Different ways to configure Lightning Components
We can add components to the following configurations available in Lightning component bundle.
force:appHostable user interface allows to add component as the tab for both Lightning Experience and Salesforce1 mobile app.
flexipage:availableForAllPageTypes UI allows to add component for the Lightning Page or Lightning App Builder.
flexipage:availableForRecordHome UI helps to add component on record home page in Lightning Experience.
force:hasRecordId UI allows to assign component as the ID of current record.
forceCommunity:availableForAllPageTypesUI allows to add component for the community page.
force:lightningQuickAction UI allows to add component for the QuickAction
No comments:
Post a Comment