Many Salesforce users have heard about the Lightning platform, and are possibly using it, however, they don’t understand exactly what it is. For most people, there is a mystery surrounding Lightning. Is Lightning a new User Interface? Is it a new way to build applications? Does it work with Salesforce Classic? The short answer to all of these is “Yes”, although the details behind each of these questions is what causes most of the confusion. In 2014, Salesforce launched the new Lightning Experience. Since that time, there has been a slow adoption of companies to shift their Salesforce Org from Classic to Lightning. This has been due in part to three main reasons. First, most users are unclear about exactly what Lightning is. Second, in order to make the transition it requires the refactoring of Visualforce pages and Apex classes to Lightning Web Components. And lastly, some Classic features have not been readily available in Lightning. To help demystify the Salesforce Lightning platform I will address the three main questions most of our customers are asking:
- What is Lightning?
- How is Lightning different from Classic?
- Should I upgrade to Lightning?
What is Lightning?
First and foremost, Lightning is a new visual user experience. Salesforce has made many well-designed improvements to their interface, which are immediately noticeable as soon as Lightning is enabled. In addition, the organization of the layout and setup is much better. Lightning is not an upgrade that needs to be purchased and installed on your Salesforce Org. It is already present, just waiting to be enabled. In order to begin using Lightning you will need to enable it for the Org as well as individual users. So, Lightning looks better, and is organized better than Classic, but at this point, people usually begin to question if it’s worth the effort for just a visual upgrade. To answer that, we need to go a little deeper into understanding the structure of Lightning. The Lightning platform is a Client-Side Technology. What this means is that code primarily runs on the user’s computer rather than on a server. Think of it this way; when you visit a website, the page you are viewing is downloaded onto your computer via a web browser. That code has two parts to it; first there is the code that represents the visual layout you are seeing, which is what is downloaded onto your computer, and then there is the code that interacts with the server in order to send and get information, which remains on the server and is not downloaded to your web browser. This means every time a button is clicked, the web browser sends a command to the server, then you have to wait for the code to go out to the server, get a response and comeback to your web browser. That is called Server-Side Technology, in that the code behind the firing of that button sits on the server not on your computer. However, Lightning uses Client-Side Technology, where the primary code for the button, as well as the server are both stored in your web browser and eliminates the long trip over the internet and to the server. This is a much faster response for the user as the change on the page is instantaneous, and that is the power of the Lightning Experience.
How is Lightning different from Classic?
Should I upgrade to Lightning?
Yes, all companies should enable the Lightning Experience on their Salesforce Org and begin making the transition. It is not only the future of a more robust Salesforce platform but delivers a better user experience. The process involves converting all Page Layouts to Lighting Pages, and all Visualforce Pages to Lightning Web Components. While, this can be a large and daunting task, there are small steps that can be taken before pursuing the larger commitment. Salesforce has developed the Lightning Design System (LDS) that gives your Visualforce pages the look and feel of Lightning without the need to refactor all the code. This option is a great way to slowly evolve your site into Lightning without investing heavily upfront on redevelopment costs. While the code foundation will still remain server-side, LDS will give the mobile responsive benefit to your Visualforce pages and that great Lightning style. Apps Associates offers a full Lightning Readiness Assessment to roadmap your Lightning migration and detail the full impact on your Salesforce Org. This includes a full review of all objects, processes, layouts, and code to have a complete understanding of what it will take to make your Org Lightning Compatible.
John Christy is a Senior Principal in the Salesforce practice for Apps Associates. He operates as a Senior Salesforce Architect responsible for the application design and overall development of our Salesforce projects. He has over 20 years of experience in designing and developing Full Stack Applications for Enterprise size clients.