Download: OOE bundle with adapted Drupal-7.36 and installation instructions

NEW: There is now also a patch for Drupal 7.x-dev core as of 2015-04-04 (Drupal-7.36+). See also: Download: a Drupal-7.x-dev patch to support the OO form controllers of the OOE tutorial module .

Because the OOE = Object Oriented Examples = One Of Each module uses object-oriented form controllers, some harmless, minor modifications to the Drupal7 core files includes/ and includes/ are required to support callback on static object-oriented methods (since Drupal7 assumes than only non-OO functions will be used as callbacks). These modifications are explained in detail at: OOE: special tweaks to Drupal7 core's required to support object-oriented form controllers.

This is NOT an attempt to HACK Drupal7 core ! On the contrary, a patch for includes/ and includes/ has been made available in the hope it will be adopted into Drupal-7.37 core. Please add your support by helping with community testing at and !

Until the OOE patch for Drupal7 is accepted into Drupal-7.37 core, you may now experiment with the OOE = Object Oriented Examples = One Of Each tutorial module easily using this OOE bundle download for Drupal-7.36, including the modified includes/ required for OOE-style object-oriented form controllers, and packaged with the dependencies X Autoload and the original Page Controller module (which strategy influenced the controllers of the page and form coontrollers of OOE project). No other part of the Drupal-7.36 release in this bundle has been touched, and all code is made available subject to its original licences.

Installation instructions for the OOE bundle for Drupal-7.36

If you have any problems downloading and installing this OOE bundle for Drupal-7.36 please contact Webel IT Australia using this form for assistance.

To install and run the OOE = Object Oriented Examples = One Of Each tutorial module using this bundle:

1. Download the TGZ archive bundle from here.

2. Unpack it in your web root. For Mac this will by default be something like:

/Library/WebServer/Documents $ tar xfz ~/Downloads/drupal-7.36-ooe-20150404.tgz

3. This will give you a drupal instance called:


4. Perform the usual Drupal installation, including creation of a database, assignment of database user permissions, and copying /sites/default/default-settings.php to /sites/default/settings.php and including your database connection, as described under the main Installation Guide.

[If you are fluent with Drush, you may use it to assist this stage, but please don't use Drush to perform a full Drupal download yet (until the Drupal7 includes/ core is patched for OOE).]

5. You should be able to then perform: http://localhost/drupal-7.36-ooe/install.php.

6. You should be able to load your home page as: http://localhost/drupal-7.36-ooe.

7. Create a single Basic Page (/node/add/page) or Article (/node/add/article) and make sure it is Promoted to front page under the publishing options. You will need at least a few content pages for the OOE versions of the Current Posts demos to work nicely, but one is enough to get you started.

8. Using /admin/modules/list UI or Drush, enable the OOE module:

/Library/WebServer/Documents/drupal-7.36-ooe $ drush -y en ooe

This will also enable the dependencies X Autoload and Page Controller.

9. Then reload your home page http://localhost/drupal-7.36-ooe, which should now show some additional blocks for the OOE demonstration. If the blocks don't appear immediately, check under /admin/blocks/list.

10. Then visit the OOE demonstrations page: http://localhost/drupal-7.36-ooe/ooe.

And remember, as the demo page says, you will not have the foggiest clue what this module is for (to demonstrated UML-friendlier PHP coding for Drupal) or what it is about (a fully object-oriented bridge for Drupal7) unless you read and examine:

- OOE = Object Oriented Examples = One Of Each

- OOE graphical UML models

Visit also