Introducing Lightning Components
As the name suggests, Lightning Components are closely related to the Lightning interface. It’s a framework offered by Salesforce, which allows developers to create custom-tailored tools for the system user. Similar to fields on objects or automation, components can be customized to the user’s needs. Imagine you are the owner of a company selling music for ads on YouTube. This music is sold on a licensing basis, meaning the creator can buy it forever or for the duration of specific streams (for example, music for Halloween or Christmas, although the latter reminds us only of Wham!’s Last Christmas. Sorry – now it will be playing in your head). So, the owner needs to create a component that will automatically distribute the number of installments considering the type of license (Lifetime or Period), dates such as start/end date, and the total amount to eventually obtain monthly payments for the license. This type of logic...