Why AND How To Write Your First Salesforce Lightning Component Using Aura

Adam Parker
2 min readFeb 5, 2021

There’s a reason why being a Salesforce Developer is one of the most lucrative jobs on the market. One of those reasons are Lightning Components. Salesforce Lightning Components using Aura are great for the following reasons:

  1. You can write it right inside of developer console
  2. You are able to make use of HTML markup and CSS stylesheets for complete control over how your code looks
  3. You get to make use of the very powerful javascript language for client-side processing of your code.
  4. You can connect your front end Aura / HTML / Javascript to the backend Apex and SOQL for very powerful interactions with the Salesforce database.

To write an Aura Lightning Component you will be utilizing the MVC (Model / View / Controller) architecture.

  • Model: This would be your Salesforce database. Your lightning component can connect to your salesforce database seamlessly and allows you to access your data through your Apex controller class.
  • View: This would be your HTML markup. In your aura component you are able to…

--

--

Adam Parker
Adam Parker

Written by Adam Parker

I'm Adam Parker. I am a Salesforce Technical Architect working at a major silicon valley company. I'm a dad to 8 awesome children and my wife is my best friend.

No responses yet