HomeDevCentral

Refactoring: controllers are now classes too
e34632ba6b36Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Refactoring: controllers are now classes too

  • Creating a Context class, containing all relevant information (current user, session, current url, current workspace)
  • Creating a Controller class, the old procedural code belonging to the handleRequest method
  • Adding a SPL autoloader, asks Smarty to stack its own autoloader

At this stage, we have now an engine offering a clean interface and ready to support applications.

Details

Provenance
derecksonAuthored on
Parents
rOBSIDIAN874e7e6c2b2b: Help index and updated credits pages
Branches
Unknown
Tags
Unknown