.module file parameters
Typically I do module hooks first (e.g. hook_menu, hook_block, etc.), then page handlers, then block handlers, and finally form handlers.
11:22 AM
Though from a performance perspective it can be a good idea to move form and page handlers to separate files.
Gary A. Pryde
11:23 AM
best practices to use this format? for smaller sites?
Aaron Stewart
11:23 AM
and use hook_menu's $items['path/to/display'] = array('file' => 'modulename.admin.inc') to specify what file to use.
11:23 AM
well for two reasons:
11:24 AM
1. small sites end up either going away or becoming large sites.
2. in case you want to submit a module to d.o.
11:24 AM
make sense?
11:25 AM
Quick Q to the group: anyone have a simple soap or rest service they'd reccommend for an example for the Drupal Web Services book?
Gary A. Pryde
11:25 AM
Yeah I just had an "Oh" moment saving the comments to a file for referal later
Benjamin Shell
11:25 AM
and besides performance having smaller files is nice, and makes it easier to find stuff later
Aaron Stewart
11:25 AM
Was going to use Amazon's AWS/Product info search
11:25 AM
+1 to what ben said.
Caleb Gilbert
11:27 AM
Sorry, no simple service recommend from me - the Amazon one sounds interesting/useful at least