This post is a summary/key takeaways from the Salesforce Lightning Now Tour for Developers in Sydney organized by Salesforce in June 2018.
The workshop began with an introduction to the Lightning platform. The introduction talks about Lightning as next level User experience, Lightning as new UI framework and Lightning as an Ecosystem.
Salesforce would continue to support Visualforce and it can be used in Lightning:
Use to style Visualforce pages to match the Lightning Experience UI when viewed in Lightning Experience
Use SLDS (Salesforce Lightning Design System) for custom markup to always look like Lightning experience.
Use Lightning inspector Google extension to inspect Lightning cache, view performance of page and component rendering step by step.
Classic pages are compiled on the server and sent to a client as an HTML markup. When a line item is changed, an entire page is sent to the server.
Lightning pages are assembled on the client from component definitions. When a line item is changed, just the message that is sent to the server is limited to the data required.
Salesforce Lightning Design System (SLDS) provides:
Block Element Modifier naming in SLDS
.house { block or component name }
.house__door { element or component part }
.house_red { modifier or component variation }
.house__door_white { variation of a component part }
Example: .slds-text-heading_large
Base components
Lightning Data Service
The lightning framework uses Events to communicate data between components. Events are triggered by User actions such as a click of a button.
The exercises involved create a reusable lightning component that is plugged into a record page that dynamically refreshes when the data on the record page is changed.
This Use case is closer to the real-life scenario and developers can relate it to some of the examples they encounter in everyday work.
Although most of the content used in the workshop is available on multiple websites, this session stands out due to the effective way of explaining concepts behind Lightning features.
And since it was a hands-on session, participants had a chance to discuss and understand the functionality of each block of code.
Working with a group is always a joy and when you are stuck somewhere or missed a point, other participants were ready to help.
Due to the length of the workshop, it was possible to maintain slow pace while trying to complete the exercise giving enough time for everyone to complete.
I would encourage every developer to attend workshops like these because the instructors are the people behind these products and they know firsthand how it works and why it was designed that way.
“We @ TechForce Services are specialized in Salesforce Development – Apex, Visualforce and Lightning, API Integrations. We also cover Salesforce Setup, Implementation & Customization”.
Talk to us to know how we can Simplify your Salesforce journey.
We acknowledge the Traditional Custodians of country throughout Australia and their connections to land, sea and community.
We pay our respect to their Elders past and present and extend that respect to all Aboriginal and Torres Strait Islander peoples today.
© 2023 TechForce Services. All rights reserved