This may not belong with the rest of this...
If I'm adding something very new to my module, I often develop it first in a PHP page on one of my test sites - it's just easier and potentially less disruptive. I still follow the same development "rules" - only the environment is different. If it doesn't work out, it's much easier, emotionally, to throw away a single page than stuff that's already in a module.
In the early stages of development, I find it useful to include a line in the ".info" file that reads:
package = zzz
This puts my module at the very end of the modules list where I can reach it quickly (CTRL+END) to enable/disable it.
These hooks are often overlooked but I find them useful:
It's always a good idea to help the end-user, so I at least start with a skeleton hook_help. It can be filled in more completely as you go along.
It's a rare module that doesn't have at least one menu item, so go ahead and start with a skeleton for this.
Even if you didn't create any tables or content types that should be cleaned up, I can pretty much guarantee that you used some variables (i.e. variable_get, variable_set). Delete them. If you created blocks, it's a good idea to clean those up too. Don't forget to test it.
Invariably you will think of something that needs to be done sooner or later. Put a small comment section at the top of your module for including these notes.
Recent comments
19 weeks 4 days ago
19 weeks 4 days ago
29 weeks 4 days ago
29 weeks 6 days ago
30 weeks 3 days ago
33 weeks 6 days ago
47 weeks 6 days ago
48 weeks 1 day ago
49 weeks 12 hours ago
49 weeks 1 day ago