What is Lightning Framework?
-
The Lightning Component framework is a UI framework for developing dynamic web apps for mobile and desktop devices. It’s a modern framework for building single-page applications.
-
Multi-tier component development that bridges the client and server. It uses JavaScript on the client side and Apex on the server side.
Difference between “Visualforce” and “Lightning”:
-
The Lightning Component framework is a component-based framework. As building blocks of an app, components encapsulate HTML, JavaScript, and CSS, while interacting via events. Lightning components are client-side centric, making them more dynamic and mobile friendly.
-
Visualforce components are page-centric and rely heavily on server calls. Visualforce facilitates delivering of template-driven web pages and email messages.
Why Lightning?
-
Out of box components (which is already available ready to use)
-
UIComponents:(https://developer.salesforce.com/docs/atlas.en-us.198.0.lightning.meta/lightning/ui_overview.htm)
-
UIEvents:(https://developer.salesforce.com/docs/atlas.en-us.198.0.lightning.meta/lightning/ui_events.htm)
-
-
Performance
-
Event-driven architecture like Javascript (better decoupling between components. write handlers that respond to interface events as they occur.)
-
Faster Development
-
Responsive design and cross browser compatibility
Steps to Enable Lightning Component Framework:
Useful links:
No comments:
Post a Comment