Lightning component - An overview

After spring 15 release salesforce made so many changes to its new javascript component framework lightning component . It has a rich, elegant event driven architecture that appeals to JavaScript developers and all of the power of the platform. Unlike other component frameworks where you typically have to design your own backend functionality, authentication and connectivity, with Lightning you simply expose server-side Apex functionality with a single annotation (@AuraEnabled) and then tell the component to utilize it. That’s all you have to do!!! Now you have the power of salesforce like workflow, data validation, queues, bulk processing, reporting, dashboards and much, much more in your hand.





Lightning component encapsulates its even driven functionality, markup and CSS into single  reusable functional units called lightning bundle (component , controller , helper , css , renderer , design , svg  and documentation) . Using the bundles you can assemble it to larger components or into a complete enterprise application. By adding a  appHostable  tag you can expose your component to salesforce1 mobile application. You can also expose you component to lightning app builder by adding  flexipage:availableForAllPageTypes to your component. 

The lightning app builder allows developer and non-developer to drag and drop your lightning components to build enterprise grade applications and easily push it production with out having to write unit test code.

As a whole lightning component is a power pack to build your enterprise application on top of it.



Checkout this lightning components Trail head

See Lightning developer guide for more Information.

No votes yet