Activity Forums Salesforce® Discussions Why do we still need Visualforce once Lightning will be GA In Salesforce?

  • Suyash

    Member
    April 30, 2016 at 2:58 pm

    Hi Abhinav,

    Visualforce provides the facility for delivering template-driven web pages and email messages. In addition, developers wishing to simply utilize a basic container and maintain more control over the lifecycle of the request may choose Visualforce pages. Finally, organizations that can’t use Apex code can’t use Lightning Components, but they can use Visualforce.
    Thanks

  • shariq

    Member
    September 24, 2018 at 4:48 am

    Some more thoughts:
    There is not automatic VF page/controller to Lightning component conversion. There will be some level of re-write necessary, but the amount depends on the structure of your current VF page.

    If, for example, you handle page to controller communication through static @RemoteActions in an Apex Controller using JSON, your own value objects, or sObjects to carry the payload, you might be able to get a decent amount of reuse by changing @RemoteAction to @AuraEnabled and then plugging in calls to it in your component helper.

    It would be ideal if there was Lightning on the desktop to replace the current UI, but I don't know of it, personally. I'm sure it would be a bit before that would be ready, though.

  • Avnish Yadav

    Member
    September 24, 2018 at 1:16 pm

    Hello,

    Visualforce provides the facility for delivering template-driven web pages and email messages. In addition, developers wishing to simply utilize a basic container and maintain more control over the lifecycle of the request may choose Visualforce pages. Finally, organizations that can’t use Apex code can’t use Lightning Components, but they can use Visualforce.
    Thanks.

  • Parul

    Member
    September 28, 2018 at 8:39 pm

    Visualforce provides the facility for delivering template-driven web pages and email messages. In addition, developers wishing to simply utilize a basic container and maintain more control over the lifecycle of the request may choose Visualforce pages. Finally, organizations that can’t use Apex code can’t use Lightning Components, but they can use Visualforce.
    Thanks

Log In to reply.

Popular Salesforce Blogs