/[drupal]/contributions/modules/module_builder/README.txt
ViewVC logotype

Diff of /contributions/modules/module_builder/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.7.2.1, Tue Aug 11 08:17:54 2009 UTC revision 1.7.2.2, Sun Oct 25 16:25:30 2009 UTC
# Line 1  Line 1 
1  $Id: README.txt,v 1.7 2009/02/06 19:49:46 joachim Exp $  $Id: README.txt,v 1.7.2.1 2009/08/11 08:17:54 joachim Exp $
2    
3  Welcome to module_builder.module! This is an early prototype of a  Welcome to module_builder.module!
4  module designed to help expedite the process of creating custom  This is a module designed to help expedite the process of creating custom
5  modules. Simply fill out the form, select the hooks you want and the  modules. Simply fill out the form, select the hooks you want and the
6  script will automatically generate a skeleton module file for you,  script will automatically generate a skeleton module file for you,
7  along with PHPDoc comments and function definitions.  along with PHPDoc comments and function definitions.
# Line 42  INSTALL/CONFIG ON DRUSH Line 42  INSTALL/CONFIG ON DRUSH
42  2. From a Drupal installation, do:  2. From a Drupal installation, do:
43  $ drush mbdl  $ drush mbdl
44  This will download hook data to that Drupal's files/hooks folder. Hooks are downloaded for core and any other module builder-aware modules that are in this install of Drupal.  This will download hook data to that Drupal's files/hooks folder. Hooks are downloaded for core and any other module builder-aware modules that are in this install of Drupal.
45  3. You can now generate module code. Do 'drush help mb' for more.  3. You can now generate module code. For more help, do:
46    $ drush help mb
47    
48    If you use Drush with multiple Drupal installations, you can store your hook data centrally, and so only download it once for all your sites.
49    To do so, specify the --data option when both downloading hooks and generating code. You can use Drush's drushrc.php to set this option automatically.
50    
51  USING THE MODULE  USING THE MODULE
52  ----------------  ----------------
# Line 73  KNOWN ISSUES Line 77  KNOWN ISSUES
77  * Can't set default values in PHP 5 for some strange reason  * Can't set default values in PHP 5 for some strange reason
78  * Fieldsets in Opera look mondo bizarr-o  * Fieldsets in Opera look mondo bizarr-o
79    
80    API
81    -------------
82    This module can be considered to be an API and two wrappers:
83    - Drupal's web-based UI (referred to in code comments as Drupal UI or just Drupal)
84    - Drush's command line
85    Furthermore, while the Drupal part of the module is version-specific (that is, you download the version of the module to match your version of Drupal core as you would any module), the Drush part, works across versions in the same way as Drush itself.
86    That is, you can download the current version of module builder, install it as a Drush command, and where you can use Drush you can use module builder. (Note this is still a work in progress...)
87    
88    
89  CONTRIBUTORS  CONTRIBUTORS
90  ------------  ------------
91  * Owen Barton (grugnog2), Chad Phillips (hunmonk), and Chris Johnson  * Owen Barton (grugnog2), Chad Phillips (hunmonk), and Chris Johnson

Legend:
Removed from v.1.7.2.1  
changed lines
  Added in v.1.7.2.2

  ViewVC Help
Powered by ViewVC 1.1.2