HomeDevCentral

Refactoring: controllers are now classes too

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 Jan 25 2014, 21:37
derecksonPushed on Fri, Oct 17, 19:49
Parents
rOBSIDIAN874e7e6c2b2b: Help index and updated credits pages
Branches
Unknown
Tags
Unknown

Event Timeline