You need to sign in to do that
Don't have an account?
Sourav P
what is the difference between Visuallforce Page & Visualforce Component?
Dear All, any body can plz explain the above difference, when we need to create a VF component? Are those two things related to each others ?
As i can create a VF page and make it work without the need of a VF component, what exactly it is ? Thanks
As i can create a VF page and make it work without the need of a VF component, what exactly it is ? Thanks
The basic difference is that Pages are static, components can be dynamic. Basic use of component is to reuse the component in your visual force pages.Once component can be used in multiple pages, which saves time, - Reusability. Here is a page that highlights the topic:
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_dynamic_vf_components_intro.htm
Hope this will help you.
Please mark it as best answer if your question is solved.
Regards
All Answers
The basic difference is that Pages are static, components can be dynamic. Basic use of component is to reuse the component in your visual force pages.Once component can be used in multiple pages, which saves time, - Reusability. Here is a page that highlights the topic:
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_dynamic_vf_components_intro.htm
Hope this will help you.
Please mark it as best answer if your question is solved.
Regards
Hello Sourav,
Visualforce page is a custom, tag-based markup language similar to Hypertext Markup Language (HTML). It has a user interface framework which is allow users to create several attractive and dynamic applications.
Visualforce component is a custom component that have functionality of custom logic, code and behaviour which wrapped inside <apex:component tag>. It is reusable piece of a visualforce page and it can be include other visualforce page as well.
For more information check https://arrify.com/visualforce-tab-in-salesforce/ , it describes how to create a Visualforce tab in Salesforce.