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 <[email protected]> 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 > > > > > >
