lightning :

Q. What is Lightning component framework ?

A. Lightning component framework is UI framework which helps to design dynamic web apps to mobile and desktop with high responsive


Q. what is use of Lightning component framework ?

A. Lightning component framework helps to design out of box components with rich ecosystem and high performance. It is also Event-Driven architecture



Q. what are component in Salesforce Lightning ?

A. Components is a piece of code which helps to reusable to anywhere we want.



Q.Which Framework Lightning Supports ?

A. Lightning Supports component-based framework.



Q. How many types of events available ?

A. Component Event are managed by the component itself.

Application Event are handled by all components that are applying to the event. These events are essentially a traditional publish-subscribe model.


Q.What is Aura ?

A. Aura framework is builts Lightning Component framework and it helps to by apps



Q.what is SLDS stands for ?

A. Salesforce Lightning Design System



Q.What is Lightning Bundle ?

A.Lightning Bundle contains Component,Controller,Helper,style,documentation,rerender,design,SVG with it.



Q. To design Lightning components, Do we need to create a custom domain ?

A. Yes, we need to custom domain to built lightning component. By using custom domain helps use to make our organization more secure while authentication.



Q.Is it mandotary to create custom namespaces to develop lightning components ?

A. No, It’s Optional



Q. Can we access one lightning component on another lightning component in salesforce ?

A. Yes, We can able to access by using





 <c:componentname>.

1

 <c:componentname>.

Q. Can we access one javascript controller method on another controller method in salesforce lightning component ?

A. No, we can’t able to access



Q. Can we access one javascript helper method on another helper method in lightning Component ?

A. Yes,We can able to access



Q. Can we use external libraries in components ?

A. Yes, Lightning component supports various libraries such as Bootstrap,Gruntjs,angularJS ….



Q.By which interface helps us to show component in lightning Tabs ?

A. by adding implements=”force:appHostable”.It helps us to a component display in lightning Tabs.



Q.By which interface helps us to show component in lightning Record home page ?

A. by ading implements=”flexipage:availableForRecordHome,force:hasRecordId” and access=”global”

we can use record home page in Lightning Experience.



Q. How to make quick lightning action ?

A. with embedding script into our code implements=”force:lightningQuickAction”


Q.What are component Naming Rules in Salesforce Lightning ?



A These are Naming Rules in Salesforce Lightning

• Must begin with a letter

• Must contain only alphanumeric or underscore characters

• Must be unique in the namespace

• Can’t include whitespace

• Can’t end with an underscore

• Can’t contain two consecutive underscores



Q.How to use static resources in Lightning Application ?

A. we need show name which is stored in our static resource.





 <ltng:require styles="{!$Resource.MyName + '/assets/styles/MyName.css'}"/>

1

 <ltng:require styles="{!$Resource.MyName + '/assets/styles/MyName.css'}"/>

Q. What are value providers in Salesforce Lightning ?

A. Value providers helps use to access data in Lightning Application .They are two value providers as v(View) and c(controller)

v is component attribute set which helps to access component attribute values in markup

c is component controller helps us to link with event handlers and action for the component



Q. List of Global value providers ?

A. globalID

$Browser

$Label

$Locale

$Resource



Q.what is Custom Label ?

A. Custom Label helps to create multilingual applications by user language

Syntax : $A.get(“$Label.namespace.labelName”)



Q. How to add a button in Salesforce Lightning ?

A. lightning:button


Q. How to make button to work on click in Salesforce Lightning ?

A. ui:button



Q. What are list of tools are avaliable in salesforce lightning ?

A. Lightning Connect

Lightning Component Framework

Lightning Schema Builder

Lightning Process Builder

Lightning App Builder



Q.what is locker service in Salesforce Lightning ?

A. LockerService is a powerful security architecture for Lightning components. It enhances security by isolating Lightning components in their own namespace.



Q. What is @AuraEnabled ?

A. @AuraEnabled is helps to access methods in Lightning.



Q. what is Lightning Data Service in Salesforce Lightning?

A. Lightning Data Service helps to create, edit, delete and loads in component without help of apex and it shares filed level security and sharing rules to us.



Q. What is Lightning Container in Salesforce Lightning ?

A. By Lightning Container, we can access third party framework such as angularJS , reactJS. To access those developed app need to store in static resource.



Q.Which chorme extenstion helps us to debug lightning applications ?

A. Salesforce Lightning Inspector