Activity Forums Salesforce® Discussions What is the difference between Visualforce page and lightning component?

  • What is the difference between Visualforce page and lightning component?

    Posted by Marziya on October 19, 2020 at 4:47 pm

    What is the difference between Visualforce page and lightning component?

    Shweta replied 4 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • Shweta

    Member
    October 20, 2020 at 5:43 am

    Visualforce follows a Page-Centric model. PageCentric means that the goal of Visualforce is to create something that is your full-page interface. When the user has to perform some operation, eg Create a record or save a record, it sends that request to the Salesforce servers and then reloads the entire page with the new state of the UI. All backend processing is done with Apex Code on the Server-Side.
    Lighting Component is an App-centric approach. Lightning components are part of the Salesforce user interface framework for developing dynamic web applications for desktop and mobile devices. They use JavaScript at the client-side and Apex at the server-side to provide the data and business logic.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos