Addon always used to load external resource like JavaScript, Css, Html base module. Main task of addons is to load scripts by optimizing system load. We can see all available addons in below location:
Admin Panel > Preferences > Addons
There are two type of addons Load On Request, Load Always.
On Request:
It is a good practice to avoid Script or Style Sheet loading on every page if it required in few page. This type of Addon load related resource on the basis of the request from Action Method and load only on the required page.
Load Always:
Sometime we require to load script on every page like jQuery Library or Grid framework. So it will be difficult to send request from every Action Method to load it. On that case we use Load Always method.
Below are the steps to load an addon:
1.Copy or crate addon resources in /webroot/addons folder
2.Create XML definition to point resource and configure environment
3.Load on required page if it's onRequest Addon.
See also Resource Definition Load Addon