[development] Good practice for module development

larry at garfieldtech.com larry at garfieldtech.com
Thu Feb 4 19:58:05 UTC 2010


First and foremost, leverage the menu system's lazy-loading capabilities:

http://drupal.org/node/146172

That won't work for everything, but it will work for page callbacks. 
The theme system has a parallel design.

--Larry Garfield

ktt wrote:
> Hello,
> 
> Is there any good practice advises for developing modules?
> *.module file gets too long. I would like to put form definitions
> to one file, block definitions to another.
> 
> Regards,
> Ktt


More information about the development mailing list