Task #649
Drop Framework singleton
Status: | CLOSED | Start date: | 11/10/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-nethgui | |||
Target version: | Sigma |
Description
Add a reference to the Framework object in every module.
Related issues
Associated revisions
WIP. Refactor of Framework class. Refs #649 - Drop Framework singleton
Stripped Framework class:- Moved template execution logic into Xhtml renderer class
- Moved language string translation into Translator implementation
- Removed getApplicationPath() - use NETHGUI_ROOTDIR constant
- Removed CodeIgniter reference
- Added TranslatorInterface
- Moved language catalog handling from View into Translator
- Updated Menu to rely on the new TranslatorInterface
- WARNING: Help/Template module still needs refactor
WIP. Fixed translation and PHP script templates. Refs #649 - Drop framework singleton.
WIP. Refactor of Framework URL methods. Refs #649 - Drop Framework singleton
- ViewInterface: Added getModuleUrl() operation.
- Moved Url methods into View class.
- Dropped T() translator function.
WIP. Added Log package. Refs #649 - Removed all logMessage() invocations.
WIP: Refs #649 - Drop framework singleton.
Framework:- moved Request initialization into Framework class.
- moved hashToDatasource() static method into Renderer/Abstract.
WIP: moved Nethgui_Core_Validator into System package. Refs #649. Drop Framework singleton.
WIP. Validator refactor. Refs #649 - Drop Framework singleton
- Moved Validator class into System package
- Moved getDateFormat() operation into PlatformInterface
- Moved getLanguageCode() operation into UserInterface
- Updated NethServer modules
WIP. Fixed HELP and LINK button URL generation. Refs #649 - Drop Framework singleton.
- Removed buildUrl() method from Widget/Abstract
WIP. Dropped the Framework singleton. Refs #649.
All Nethgui tests green. Refs #649 - Drop framework singleton
Log: implemented stack trace logging. Refs #649 - commit: 20a5b9ec
New Session class, implementing SessionInterface. Refs #649 - Drop Framework singleton.
Framework: added Main module in place of World; introduced NotificationManagerInterface, to handle DialogBox notifications.
Added session storage to:
- NethPlatform (for process tracking);
- AlwaysAuthenticatedUser (for user credentials);
- NotificationManager (for notification dialog boxes).
In View: implemented showDialogBox() Command constructor.
Client command API: implementation of DelegatingCommandReceiver in Xhtml and Json renderers.
History
#1 Updated by Davide Principi over 9 years ago
- Status changed from ON_DEV to CLOSED
- % Done changed from 0 to 100