What is the difference between page and component controller?
I stuck over the question when I read the documentation:
Non-primitive Apex data types such as lists and sObjects are passed by reference to component's controller. This means that if component's controller changes the name of an account, the changes are available in page's controller.
Why I am asking here: after googling page controller salesforce
, component controller salesforce
I got confused even more.
But I suspect that here they mean by component controller the Lightning controller and by page controller the Visualforce controller. But I never met a situation(or heard about one) where the data would be passed between a Visualforce page and Lightning component.
So, I would be grateful if someone would substantiate my suspicion or disproof it. In order to avoid x-y problem: the result I want to get here is to understand the excerpt cited above from the documentation.