[development] Good practice for module development

Adam Gregory arcaneadam at gmail.com
Thu Feb 4 20:00:35 UTC 2010

For one you can move any hook_menu page callbacks into seperate files and
the menu system will load the file dynamically if you pass the $item
definition the file parameter. You can also use module_load_include() to
load outside files that are needed for specific functions.
Adam A. Gregory
Drupal Developer & Consultant
Web: AdamAGregory.com
Twitter: twitter.com/adamgregory
Phone: 910.808.1717
Cell: 706.761.7375

On Thu, Feb 4, 2010 at 2:50 PM, ktt <kestutis98 at yahoo.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100204/913614e6/attachment.html 

More information about the development mailing list