5 Lightning Tips for Visualforce Developers




#1 Know the basics:

     To start with anything you need some background information. So for starting development in lightning you need to go through below resources:

     Trailhead Lightning Components Basics  This module will help you in getting started with lightning app development.

     Trailhead Lightning Design System This module will help you in getting started in responsive UI.


#2 Know Javascript well:

     Lightning development is based on event driven architecture in javascript. You should know javascript well to develop good apps in lightning. Below resource will help you to establish understanding of javascript:

     Javascript Tutorial  Through this tutorial you can get well versed with javascript.


#3 Understand event flows in aura framework:

      As we all know lightning is based upon aura framework which is opensource which follows event driven architecture. Event is most important part of lightning application development. We should clearly understand from where event gets fired, from where we can handle those events and how multiple components can interact.

#4 Understanding tools that can be used for development and debugging:

      Force.com IDE  Force.com IDE is a powerful application for creating, modifying and deployingforce.com application. We can use this in eclipse to develop and deploy our codes to our org. This supports lightning component development as well.

      Salesforce Lightning Inspector This is a powerful chrome extension. We can use this to navigate the component tree, inspect component attributes, and profile component performance.

       Salesforce Lightning CLI  This tool can be used for validating code and finding issues when our application runs within lockerservice security architecture.

We can use various browser tools like chrome development tools to debug our application.

#5 Lightning components can be used in visualforce as well:

       Using Lightning Out feature we can use our lightning application in visualforce pages as well. 

It acts as a bridge to surface Lightning Components in any remote web container. This means you can use your Lightning Components inside of an external site (i.e. Sharepoint or SAP), in a hybrid app built with the Mobile SDK, or even elsewhere in the App Cloud like on Heroku or in a Visualforce Page.

Comments

Popular posts from this blog

Dynamic Forms in Lightning Record Pages

How does Gen AI work?

Getting started Salesforce Lightning!