41

As a developer, just curious to know what's the future of Visualforce (pages, components, email templates, etc..) ??

I believe for sure there will be backward compatibility so that the existing ones will still run.

But what's gonna happen next (say after couple of releases when lightning becomes GA & goes mainstream). ??

  • will Salesforce stop customers from using VF for new development ?

  • will VF & L work together (like embed one in another or call one from another)

  • is it possible to migrate / upgrade existing VF to L without rewriting ?

Just a few questions i can think of now.. but in general if any of you know more details on these, please share with us..

Thanks

1

1 Answer 1

19

Some of your questions are addressed in the Lightning FAQ.

Q: What happens to my existing Visualforce Pages?
A: They’ll continue to be supported in the current UI.

Q: Will Lightning Components be replacing Visualforce?
A: No

Q: Does Lightning work with Visualforce?
A: Yep. See Add Lightning Components to Visualforce Pages in the Lightning Components Developer's Guide for details. Using Lightning-out you can even deploy your lightning components outside of Salesforce Servers.

The most useful:

(Update:Lightning components are GA as of Winter'16 release)

Q: After Lightning Components are GA, when would it still be appropriate to use Visualforce?
A: 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.

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.

4
  • 2
    Wasn't Salesforce1 Desktop announced at DF14 - a single SF1 platform for phone, tablet and desktop? But they only said "it's coming" and didn't give as release schedule.
    – Dominic
    Commented Oct 29, 2014 at 9:10
  • That makes sense. We should be able to look at the Youtube recordings of the presentations at some point and see what was said. Commented Oct 29, 2014 at 15:44
  • 3
    Thanks @PeterKnolle for all the details. I got some details from Doug and Skip in this discussion - a.sfdcstatic.com/video/live/?#/session/a2q3000000001ZpAAI Commented Oct 29, 2014 at 22:56
  • It has been hinted, as per the Lightning Experience release (around 55 minutes), that Lightning components though would create a more interactive and preferable experience than VF, and (eventually) it seems that it would make VF more and more redundant (I suppose like how VF replaced S-Controls). salesforce.com/form/conf/events-global-preview.jsp Commented Sep 3, 2015 at 9:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .