[uml] DemoOfPageArguments

REFACTOR: this software engineering content is flagged as under consideration for refactoring.
HOT TIP: this content is flagged as highly recommended !

Webel module:

Package/Namespace: 

UML element type:

OOE stereotypes:

Relationships
extends [Generalization]: 
implements [InterfaceRealization]: 
UML Diagram
Click on the UML diagram to view it in a lightbox image viewer. You may then zoom in (or just open the image in a new web browser tab using the Download Original link to view large diagrams).

UML modelling domain:

Typically an OOE controlled project has a controller for a main page and a matching page menu item.

A specific project may add additional menu items (possibly for page controllers) for separate pages. In this demonstration, in addition to the main controlled welcome page for the argument extraction demos, there are 4 different sub menu items for 4 demonstration cases:

1. Demo of automatic page path argument extraction, via a Drupal hook in the .module file. Uses a basic IMenuItem.

2. Demo of page path argument extraction with some forced arguments, via a Drupal hook in the .module file. Uses a basic IMenuItem.

3. Demo of page path argument extraction for an OOE controlled page. Uses an IPageMenuItem and a page controller.

4. Demo of page path argument extraction with C. Skene's original PageController. Uses a basic IMenuItem.

UML Diagram
Click on the UML diagram to view it in a lightbox image viewer. You may then zoom in (or just open the image in a new web browser tab using the Download Original link to view large diagrams).

UML modelling domain:

The best UML tools like MagicDraw UML are able to show inherited properties in composite structure diagrams. Here they are grouped for illustration purposes.

UML Diagram
Click on the UML diagram to view it in a lightbox image viewer. You may then zoom in (or just open the image in a new web browser tab using the Download Original link to view large diagrams).

UML modelling domain:

In the best UML tools like MagicDraw UML one can show the structure compartment of Classes and Components and their composite structure as Property symbols in "hybrid" class or implementation diagrams. Here the inheritance of all major properties is shown.

Refactoring

Consider using explicit class variables wherever a new DemoArgumentsHelper is used so that UML Associations can be created for them: $this->demoAuto, $this->demoForced etc.

Notes (policies)
Demos
Visit also