MVC Framework/ErrorObject
Jump to navigation
Jump to search
Subproject: The ErrorObject aka ErrorMessenger
The aim
I was thinking of an object that collects and displays form error mesages, error messages from the validator and error messages from the model. -- Elmar
I'm shure this helps much with code-quality of TYPO3-extensions.
My aim with error-handling is always, that I need not to search for hours why "something" isn't working anymore. I like to see very fast what was the original problem and where must I fix it. -- Daniel
Features
- should also use the MVC-pattern
See this
- http://svn.t3.digitaldistrict.de/cgi-bin/trac.cgi/browser/typo3xdev/tx_lib/trunk/class.tx_lib_selfAwareness.php -- there are two functions api() and _die(). -- Elmar
Relations
- MVC Framework - lib and div
- MVC_framework_and_Forms_project_relationship
- maybe: the TYPO3 services
- maybe: the php stuff (warning, info, error)
- maybe: the TYPO3 debug-function to view by browser
- maybe: try-catch-support for PHP5 and alternate mode for PHP4 (maybe)