Lightning Basics Part 1
Introduction
Introduction
As per developer perspective, Initially, When our requirement not completed by using existing salesforce point and click automation than we fulfill our requirement by using visual force pages and Apex programming language. Now Salesforce has something new for the developers.
Facebook, Twitter, Google all have their javascript framework. Now Salesforce has its own framework with a named lightning framework.
The lightning framework is basically a javascript component-based framework. It makes easy to develop a responsive app that works well both in lightning as well as salesforce 1.
Component-Based
Lightning framework use component to develop requirement and components are off shelf component, means once a component is developed we can attach that component to any other lightning component, lightning app, on a lightning home page and on other places as well. So code reusability of code can be increased with the help of component. we can use component by using a single line of code in our code or by using drag and drop on salesforce pages.
Event-Driven
Lighting framework is event-driven, means if we want to perform an action on user activity then we need to register and define that events. Some events are inbuilt and some events are built by a developer.