Skip to content

mkeromen/droop7

Repository files navigation

Droop7 !

What is it ?

Drupal Object oriented programming for version 7 (before 8 version). You can consider this module like an abstract class. It contains all logic use by your child module. your project becomes easier to organize (features oriented) and more maintainable (IMHO). This (work in progress) module is load at very first in your module stack.

How to install ?

  1. Clone this repository
  2. Extract the module in sites/all/modules and install it :
drush en droop7 -y
cd droop7
composer install
  1. Make the droop7/cache folder writable
  2. Generate your child module (see the next section above)

What your "child module" looks like ?

Take a look in droop7/examples Here is the arborescence :

myproject

  • app
    • config
      • config.xml
      • services.xml
    • routing
      • routes.php
  • src
    • Test
      • Module
        • TestFeature
          • Resources
            • views
          • TestFeatureBuilder.php
          • TestFeatureController.php
          • TestFeatureProcess.php

In future, this module must be auto-generate for you !

What's next ?

TODO: Auto-generate your child module, ready to work.

About

Organize your development on Drupal 7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages