Download & Extend

Extendable Object Faces (API)

This is a php 5 only API module, which allows modules to extend your objects. It basically helps you to implement the Facade pattern in a modular way. So as of now it allows you to:

  • Extend an object by providing an Extender Class
  • Extend an object simply by some functions, each implementing a method
  • Override any dynamically added method by providing functions or an Extender Class
  • Lazy load needed include files upon method invocation

So apart from "allowing modules to extend an object", this also allows one to:

  • Easily lazy load huge parts of an objects implementation, invisible for the caller.
  • Allow modules to dynamically alter an implementation by using overriding.

Hence such an Extended Object can also serve as a clean abstraction for module provided callbacks!
To see how it actually works have a look at the provided docs.

Update: It turned out that this approach doesn't work very well in PHP, such that there is no clean abstraction for callers. Without a clean abstraction modules have to deal with the increased complexity though. As a consequence the module is being discontinued.

If you are using Rules it is recommend to remove *this* module from your Drupal installation.

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.0-beta1 tar.gz (11.21 KB) | zip (12.96 KB) 2010-Mar-11 Notes
6.x-1.0-beta1 tar.gz (11.09 KB) | zip (12.9 KB) 2010-Mar-11 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (11.09 KB) | zip (12.66 KB) 2011-Feb-25 Notes

Project Information


Maintainers for Extendable Object Faces (API)

  • fago - 37 commits
    last: 2 years ago, first: 3 years ago

Issues for Extendable Object Faces (API)

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here