Home

Awesome

Stock "starter" module

Every Drupal project has a so-called "gluecode" module. It contains all project- specific customizations.

Issue

Generally, developers gluecode modules tend to have a "fuzzy" architecture. How a module is build differs from developer to developer and even from project to project. Without a common architecture, it's harder for teams of developers to work on projects.

Best practices

This starter module tries to implement a basic strategy according to a few best practices.

How to use

  1. Put the starter module in sites/*/modules/custom/
  2. Enable the module
  3. Remove/Add code, includes,... whatever you need.
  4. Adhere to best practices at all times!

Optional: you could rename the module name & hook implementations to the name of your project (i.e. myproject_init())

Particular functionality

The module itself doesn't cover the entire Drupal & contrib API's, of course. It just implements a few very common hooks to get you started. If you want to know how to implement common funcionality (ie multistep forms, render blocks,...), please refer to the the Examples project which documents API by API specific use cases.

Author

Matthias "Netsensei" Vandermaesen http://www.colada.be