Module Builder

joachim - March 20, 2006 - 22:05

A module which auto-generates a skeleton or "scaffolding" for a module, along with hints on how to fill them in. Useful for newbie developers to learn how hooks work, and seasoned developers who are too lazy to look up what arguments a function has to take. ;)

Drush support

Drush support for this module is being actively developed. See the documentation for more details.

A few examples of what you can do with drush and this module:

  drush mb my_module menu cron nodeapi

Generate module code with hook_menu, hook_cron, hook_nodeapi.

  drush mb my_module menu cron --write --name="My module" --dep="forum views"

Generate both module and info files, write files to sites/all/modules and also output to terminal.

Current status

  • D7 version being developed; see #633334: D7 support for more.
  • 6.x-2.x-dev version is being actively developed. CVS should not normally be broken, although you may find you need to re-download hook files when you upgrade to a new version, as the storage system has been changed several times.
  • 6.x-1.x-dev branch has been mothballed. If you installed this, you need to uninstall it before installing 6.x-2.x.
  • 5.x-1.x-dev version is stable and no longer being developed.

Co-maintainers needed: http://drupal.org/node/278908
Invitation for roadmap ideas: http://drupal.org/node/310691

Releases

Development snapshotsDateSizeLinksStatus
6.x-2.x-dev2009-Nov-1536.64 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2009-Jun-0620.44 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.