Best Practice document for Create Custom widget and Add-in


Hi All,

Could anyone please provide best practice document to develop the Custom widget .

What we can do or what we can not do while developing custom widget

For example:

Try{}Catch{} block:

When we have to use.What are the exception method available

AbuseDetection Method:

How to use this method.What happen if not use

Echo or Print:

Not recommend to use this function in controller and Model

I am expecting this type of document.

Please provide the document if you have to develop best custom widget.




I'd recommend taking a look at the standard widgets provided in the Customer Portal framework to start as a template.

Zircon - This is a contributing Drupal Theme
Design by WeebPal.