The Developers Speak is a video series featuring certified Salesforce consultants at Digital Mass. They come to you twice a month to help bridge the gap between business problems and technical solutions.
On this episode of The Developers Speak, Ethan breaks down exactly what you need to do in order to design better Lightning Web Components. For more of a deep dive check out Salesforce's Dev Guide here.
Hi, I'm Ethan. I'm a Salesforce developer at Digital Mass. Thanks for listening today. We're talking about Lightning Web Component design and how you can do it better in a way for you to speed up your development time and for your clients to get a better product. The first step of that is building generic components. Salesforce has already built an entire library for you to be able to use and port over these components to fit your client's needs. They range from data tables to combo boxes and they need to be utilized every chance you can get rather than building every single thing custom. The next piece of that is every Salesforce org has its own look and feel. That usually relates to the front-end design of how the color schemes and the text looks, as well as how the code is written behind the scenes.
It's your job as a consultant and developer, to see these patterns and to fit yourself in them because, at the end of the day, you are not the person that is going to be maintaining these features. It is your clients, and they need to be able to understand and maintain them without too much struggle. The last piece of that is setting up a local development server. If you do this, you don't need to deploy your changes to your Salesforce org. To see your updates, you can just save your file and you will see your changes propagate, therefore, cutting down on your development time. Designing Lightning Web Components using these principles is going to help save your development time, help you write fewer lines of code, and help you deliver a better product to your clients. The developers have spoken
About the developer:
Ethan King's love for tech is rooted in being surrounded by techies all of his life. By middle school, he was building computers from scratch, and through high school, he started to dabble with code. Ethan continued his formal education at Anoka Technical College, where he received his degree in Computer Software Engineering.
While he was getting his degree, Ethan worked as a Web Developer and taught guitar lessons. He joined the Digital Mass team at the top of 2019 and has since gotten the Salesforce Administrator and Salesforce Platform Developer l certifications.
Outside of work, Ethan likes to play guitar, be outdoors hunting or fishing and loves a good Stephen King Novel (no, they're not related).