Quick Start With Salesforce Lightning

Quick Start With Salesforce Lightning

Gone are days when we used to write our own CSS and JavaScript to make our page responsive and dynamic UI. Now we have Salesforce design system which has in-built UI library and CSS framework.

Salesforce Lightning is a platform where an organization can explore innovative ways for connecting with customers. Beginning with revealing insights about your customer engagement, Salesforce Lightning is a complete package to revive and to launch an athletic customer engagement program.

Lightning includes the Lightning Component Framework and some exciting tools for developers. Lightning makes it easier to build responsive applications for any device.

Salesforce Lightning has three major parts:

  • Lightning Design System
  • Lightning App Builder
  • Lightning Component

Lightning Design System :

With the Lightning Design System you can build custom applications with a look and feel that is consistent with Salesforce core features — without reverse engineering our styles.

It consist of UI Library and CSS Framework to build apps faster and responsive.

With the Design System, you can access all Salesforce core visual and interaction design patterns so that you can follow established best practices and build apps that have a consistent look and feel with the Salesforce user experience.

Lightning App Builder :

The Lightning App Builder empowers you to build apps visually, without code, quicker than ever before using off-the-shelf and custom-built Lightning components. You can make your Lightning components available in the Lightning App Builder so administrators can build custom user interfaces without code.

Why Use the Lightning Component Framework?

  • Out-of-the-Box Component Set
  • Rich component ecosystem
  • Performance
  • Event-driven architecture
  • Faster development
  • Device-aware and cross browser compatibility

Component Bundles :

Lightning Component Framework :

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.The framework supports partitioned multi-tier component development that bridges the client and server. It uses JavaScript on the client side and Apex on the server side.They are the self- contained and reusable unit of an app, they represent a reusable section on the UI.

Events:

The framework uses event-driven programming. Handlers respond to interface events when they occur. The events may or may not have been triggered by user interaction.

In the Lightning Component framework, events are fired from JavaScript controller actions. Events can contain attributes that can be set before the event is fired and read when the event is handled.

Events are declared by the aura:event tag in a .evt resource, and they can have one of two types: component or application.

Component Events

A component event is fired from an instance of a component. A component event can be handled by the component that fired the event or by a component in the containment hierarchy that receives the event.

Application Events

Application events follow a traditional publish-subscribe model. An application event is fired from an instance of a component. All components that provide a handler for the event are notified.

Published By : Sugandha Arya,

Application Developer Associate @ Virtuos Solutions Pvt. Ltd.

Credits: Salesforce Documentation



Venky Vijay Reddi

ExperienCEO | Welcome to the ? Experience Economy ?

7 年

Insightful and quick to grasp

要查看或添加评论,请登录

社区洞察

其他会员也浏览了