+1-302-213-1128 +61 284 880 972 +91-120-4399820


All You Need To Know About Building Components

Rajat Kesarwani

By Rajat Kesarwani| Friday, Sep 21, 2018 16:10 PM | 6 min read

Lightning components can either be a single line of text or an entire app. These are self-contained reusable units that represent a reusable section of the user interface. Salesforce provides a library of prebuilt components also known as the base Lightning components, such as the ones that come with the Lightning Design System styling. These are available in the Lightning namespace. You would be allowed to assemble and configure them and create new components in an app.

A component can contain HTML, JS, Apex controllers, CSS and other web-enabled codding so that you can build apps with excellent UIs to offer an even better UX. A developer doesn’t have to worry about the experience of the users while making changes to the components as the implementation is encapsulated. The users who build their app and you as the component author can continue to make changes to make your component better.

Let’s further talk about the following:

Salesforce Lightning Component Events

The lightning framework is based on event-driven architecture that allows communication between different events. JavaScript controller actions that are triggered by a user interacting with the user interface, are used to fire Lightning events.

Events are declared by the aura:event tag in a .evt resource. Salesforce Lightning Component Events is one of the types of custom events in the Lightning Framework. A component event is fired from an instance of a component. The component that fired the event or a component in the containment hierarchy that receives the event, can handle a component event.

Salesforce Lighting App Builder

It is the best example of how revolutionary Salesforce is when it comes to bring a difference in the world of technology. It goes with an ethos of “Extend Salesforce with Clicks, Not Code”. This point-and-click tool has made it easy to create custom pages for Salesforce mobile app and it has enhanced Lightning Experience. A user can find all in one place as the builder is also a one-stop shop for configuring Lightning apps.

So what can you do with the Salesforce Lightning App Builder?

You Can Build:

  • Single-page apps. These pages could drill down into standard pages.
  • Dashboard-style apps. For example: apps to track sales prospects or key leads for the quarter.
  • Point apps for a particular task. For example: expense apps for spenders who cannot keep track of their expenses.
  • Custom record pages for your objects, and they would meet the users need.
  • Custom home pages with components and features for your users.

Also when you go to Setup to edit a Lightning app from the app manager, you reach the App Builder to edit the settings of the app. The best part is your can update the branding, navigation, options and edit the Lightning pages inside the Salesforce Lightning App Builder.

Salesforce Lightning Design System

The Salesforce Lightning Design System equips you to be better at building enterprise experiences and custom apps. The components are the building blocks of the applications. As a designer you are enabled to design and create with interfaces that are ready-to-go and available in HTML, CSS code and Sketch templates.

The Lightning Design System equips you with accessible markup. During the app development this serves as a foundation. Users are expected to follow the accessibility guidance for interactive components, and that would include the management of ARIA roles and properties, the keyboard behavior, and interactive components. The UX team at Salesforce constantly design, develop and test the design system to make it better for a better experience.

The Salesforce Lightning Design System is platform-agnostic. Use the CSS framework with any technology stack and the company provides guidance on how to use it in conjunction with Lightning, Visualforce and Heroku.

Lightning Data Service

Lightning Data Service is used to load, create, edit or delete a record in your component without the need of Apex code. It handles sharing rules and field-level security and improves user interface consistency in addition to simplifying access to Salesforce data. There is a lot more to it than this. In simple words you can think of it as the Lightning components version of the Visualforce standard controller.

Lightning Data Service is built on highly efficient local storage. It is shared across all components that use it. It is simpler than server-side Apex controller.

Why Choose Dreamstel for Your Lightning Component Development?

Instant Import and Automatic Downloads:

Instantly import and automatically download contacts, leads, opportunities, account data and more from the CRM you currently use and transfer them to Salesforce Lightning.

Save time and money while doubling your profits and without needing any special knowledge or training.

Smarter and Faster Operations at a Reduced Cost:

Salesforce Lightning, as its name suggests, has an excellent reputation for speeding things up.

Move associate contacts and accounts to Lightning, we offer premium services at unbeatable prices.

Migrations of the Components to Lightning from Visualforce:

If you’re ready to make the move to Lightning we would help you with the migration. We can help with configuration and customization of every page from scratch.

Our Salesforce consulting services would involve enlightening you with the kind of strategies and tactics to follow for a successful conversion.

We would illustrate the different strategies and discuss it with you for approval, and only then we would proceed with the Salesforce Classic to Lightning migration.

Ask us anything about Salesforce, the products, pricing, implementation, etc. We’re always ready to assist you.

Rajat Kesarwani
About the Author Rajat Kesarwani is the CEO of Dreamstel Technologies. With over 15 years of experience in maintaining business relations with esteemed companies across the US and Australia, Mr. Kesarwani has earned an excellent reputation in the IT industry. He has been offering advanced technology services to businesses that require any kind of IT solution. His expert services at Dreamstel includes developing and introducing next-generation apps and spreading awareness about Salesforce. His objective is to reach out to companies in need of advanced technology solutions, and he has been successfully moving ahead in the right direction to do so, through Dreamstel Technologies.

Our Latest Blogs