Lightning components
Lightning components are built using an open source framework called the aura.
* Aura can be used to build mobile and desktop applications which are responsive and uses component-based programming model, that means we divide the UI into a number of components which can be independently developed and integrated with other components.
* Aura uses JavaScript on the client side so it is fast and responsive.
* We can reuse the components from other applications without reinventing the wheel.
* We can build device aware components and cross-browser compatible.
But at the end of the day developers need to learn the framework before building any components, as a result, its difficult to find developers and as all these components which we have built need to compiled to HTML before it is rendered on the device. Hence Its not blazing fast.
Lightning Web Components
Now let's see about lightning web components.
* lightning web components is a new way to develop lightning components using web standard technologies like HTML, CSS, modern javascript and XML without a need for a framework.
* Any developer who knows modern javascript, HTML and CSS can develop lightning component and as these are natively supported in the browser the application's performance is faster.
Before we understand more about web components we have to know about ECMA.
*ECMA is an organization which develops standards for web technologies. They provide the specification for new features which has to implement in web technologies (HTML, CSS, javascript).
*ECMAScript is a specification for javascript and the latest version is 7 and it has features like Modules, promises, custom elements and shadow DOM which we can use to build the components instead of using a framework.
As all these features are natively supported in the browser that is why lightning web components will be faster and anyone having knowledge of web technologies can develop lightning components.
Demo on Lighting Web components, click HERE
Special Thanks to Nagachandra KN
tHiNk gooD and dO thE bEsT.........MANJU NATH 🌝
Lightning components are built using an open source framework called the aura.
* Aura can be used to build mobile and desktop applications which are responsive and uses component-based programming model, that means we divide the UI into a number of components which can be independently developed and integrated with other components.
* Aura uses JavaScript on the client side so it is fast and responsive.
* We can reuse the components from other applications without reinventing the wheel.
* We can build device aware components and cross-browser compatible.
But at the end of the day developers need to learn the framework before building any components, as a result, its difficult to find developers and as all these components which we have built need to compiled to HTML before it is rendered on the device. Hence Its not blazing fast.
Lightning Web Components
Now let's see about lightning web components.
* lightning web components is a new way to develop lightning components using web standard technologies like HTML, CSS, modern javascript and XML without a need for a framework.
* Any developer who knows modern javascript, HTML and CSS can develop lightning component and as these are natively supported in the browser the application's performance is faster.
Before we understand more about web components we have to know about ECMA.
*ECMA is an organization which develops standards for web technologies. They provide the specification for new features which has to implement in web technologies (HTML, CSS, javascript).
*ECMAScript is a specification for javascript and the latest version is 7 and it has features like Modules, promises, custom elements and shadow DOM which we can use to build the components instead of using a framework.
As all these features are natively supported in the browser that is why lightning web components will be faster and anyone having knowledge of web technologies can develop lightning components.
Demo on Lighting Web components, click HERE
Special Thanks to Nagachandra KN
tHiNk gooD and dO thE bEsT.........MANJU NATH 🌝
Comments
Post a Comment