Activity › Forums › Salesforce® Discussions › Why do we still need Visualforce once Lightning will be GA In Salesforce?
Tagged: Apex Controller, GA, JSON, Remote Actions, Salesforce Lightning, Salesforce Lightning Components, Salesforce Visualforce Page
-
Why do we still need Visualforce once Lightning will be GA In Salesforce?
Posted by Abhinav on April 30, 2016 at 2:31 PMWhy do we still need Visualforce once Lightning will be GA?
Parul replied 7 years, 7 months ago 5 Members · 4 Replies -
4 Replies
-
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 - [adinserter block='9']
-
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.
-
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. -
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.