Saturday 24 December 2016

Switching to Lightning in Easy Way...


Hey folks,

Since last so many years I am living with one of the best UI framework that is Visualforce. It is such an amazing part of salesforce which helps a lot for interacting, an end user with application.

Time by time, as we are switching to mobile devices which are so handy as well as supportive to our life style for providing all the information on the go. A series of technologies are being used for displaying information quick & in responsive manner according to device your are with, regardless of size.

In order to show information in responsive way, we need many technologies. So along with developing logic we need to take care of responsiveness too.

"How easy it would be if it responsiveness gets handled automatically without require an extra efforts. Is there any solution available in salesforce ?"

Yes Lightning is here !!

Lightning component take care of it and let you focus only on developing business logic.

So if you are still on visualforce then here are some tips to understand how to move to lightning.

  1. Lightning component is based on Aura (an open source UI framework) that supports HTML tags also and can be easily bind with apex controller.
  2. You may get started building lightning component through developer console it self.
  3. Lightning component may overcome many problems that you face in visualforce. For example we can not show more than 1000 items in visualforce page directly binding collection to VF page but lightning component allows it.
  4. Using lightning component, you may keep your application structured that is very easy to maintain.
  5. As visualforce are page-centric, meaning we have to do most of the things on server side but lightning component are based on client-side-centric so before switching to lightning, this should be considered as per your requirement.

Here is one of my Blog post regarding how to develop lightning component.
Go #Lightning!!