Activity Forums Salesforce® Discussions How Salesforce lightning component is better than visualforce page?

  • Avnish Yadav

    Member
    July 24, 2018 at 5:29 am

    Hello Chanchal,

    If we compare both of them then we say, Visualforce components are page-centric and most of the work is done on the server. Lightning is designed from the component up, rather than having the concept of a page as its fundamental unit. Lightning Components are client-side centric, which makes them more dynamic and mobile friendly. But we can't say that lightning component is replacing the visualforce page.

    Thanks.

  • Parul

    Member
    September 15, 2018 at 7:58 am

    Visualforce components are page-centric and most of the work is done on the server.

    Lightning is designed from the component up, rather than having the concept of a page as its fundamental unit. Lightning Components are client-side centric, which makes them more dynamic and mobile friendly.

     

    Thanks

  • shariq

    Member
    September 15, 2018 at 5:48 pm

    Hi,

    The Visualforce framework provides a robust set of tags that are resolved at the server-side and that work alongside standard or custom controllers to make database and other operations simple to implement. This is a page-centric web application model. It’s great for basic functionality, but it’s challenging to deliver the new, more dynamic experience that users expect. Fundamentally, this is because it relies on the server to generate a new page every time you interact with the application.

    Lightning components are part of the new 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. To deliver a more interactive experience, you need help from JavaScript on the client-side. In this new app-centric model, JavaScript is used to create, modify, transform, and animate the user interface rather than completely replacing it a page at a time. This model is exciting, interactive, and fluid.

    Hope this helps.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos