Thursday 23 April 2015

What is Lightning Component in Salesforce? How to enable Lightning Component in Salesforce?

       The Lightning Component framework is a UI framework for developing dynamic web apps for mobile and desktop devices. It’s a modern framework for building single-page applications engineered for growth.

Learn about AURA framework from the below video,

                                        

          The Fastest and trending world moves their business process in various devices such as laptop, phones, tablets, etc. Device compatibility is one of the major concerns of the application development. Salesforce comes up with Lightning tools to build responsive and device compatibility application. The following tools are available for developers,

1. Lightning Components give the Client (JavaScript) – Server (Apex) framework and Multi-tier architecture. It’s ideal for use with the Salesforce 1 mobile app.

2. Lightning App Builder used to build apps visually without code

Advantages of Lightning Components

The Lightning Component framework is built on the open-source Aura framework. As per salesforce documentation the following advantages that helps you to build more sophisticated and device computability applications.

1. You don't have to spend your time optimizing your apps for different devices as the

2. Uses an event-driven architecture for better decoupling between components.

3. Faster development with improved performance.

4. Apps use responsive design and provide an enjoyable user experience. The Lightning components take care of that for you.

Component framework supports the latest in browser technology such as HTML5, CSS3, and touch events.

Steps to Enabling Lightning Components

Before starting to build the lighting application, you must need to enable this feature in your organization by the following steps,

Setup --> Build --> Develop --> Lightning Components --> Enable Lightning Components (Checkbox) --> Save

You can also Enable debug mode option to make it easier to debug JavaScript code in your Lightning components.

Note: You can’t use Force.com canvas app in salesforce1 if you enable lighting components.


Book Reference: Lightning Developer Guide

Component Reference:

 https://<mySalesforceInstance>.lightning.force.com/auradocs/reference.app, where <mySalesforceInstance> is the name of the instance hosting your org; for example, na1.

No comments:

Post a Comment

Activities: Assign Tasks to a Queue Salesforce Lightning

Salesforce announced to assign Tasks to a Queue beginning from Spring'20 release. How does it work? In Setup, enter Queues in th...