Ticket #113 (closed documentation issue: fixed)

Opened 6 months ago

Last modified 5 months ago

Unified mode handling

Reported by: mikey Assigned to: mikey
Priority: major Milestone: 0.4.0
Component: core Version: SVN-trunk
Keywords: Cc:

Description

There needs to be a way to handle different running modes in a uniform way. Depending on the mode error handler and exception handler should be registered as early as possible within the application.

Change History

11/28/07 17:25:12 changed by mikey

  • status changed from new to assigned.

11/28/07 20:07:26 changed by mikey

Enhancement #112 is a prerequisite for this.

11/28/07 20:08:09 changed by mikey

  • milestone set to 0.4.0.

11/29/07 22:41:51 changed by mikey

The exception handler has already been reworked as part of enhancement #112. The new implementation still requires unit tests.

11/30/07 00:04:50 changed by mikey

Unit test for net::stubbles::util::errorhandler::stubAbstractExceptionHandler added with changeset 1091.

BC-BREAK: Changeset 1092 moved the net::stubbles::util::errorhandler package to net::stubbles::lang::errorhandler.

11/30/07 11:22:00 changed by mikey

With changeset 1095 the net::stubbles::lang::errorhandler::stubDefaultErrorHandler was added. This could be used in production and test mode to handle PHP errors gracefully.

11/30/07 13:03:38 changed by mikey

Changeset 1096 added a unit test for the new net::stubbles::lang::stubMode enum.

11/30/07 13:49:57 changed by mikey

  • type changed from enhancement to documentation issue.

Changeset 1097 made net::stubbles:websites::stubFrontController and net::stubbles:websites::memphis::stubMemphisProcessor supporting unified mode handling.

Now all left to do is documenting this new feature.

11/30/07 16:52:40 changed by mikey

Further improvement with changeset 1098: removed setting the mode in the registry, the current mode is now given by stubMode::$CURRENT and can be set via stubMode::setCurrent(). If not explicitly set stubMode::$CURRENT points to stubMode::$PROD.

12/04/07 08:26:10 changed by mikey

  • status changed from assigned to closed.
  • resolution set to fixed.

Documentation updated, see runtime modes.

12/06/07 20:03:47 changed by mikey

Removed use-firebug switch for JSON-RPC configuration subsequently with changeset 1124, made decision depending on mode instead: no firebug error output only in mode stubMode::$PROD, every other mode has fireburg error output enabled.