View::getCommandList() API deprecation
The getCommandList() API and the underlying Command pattern based implementation is complex and difficult to extend.Implement a new API to talk to Framework components:
- HTTP response
- User Notifications (Validation errors)
- System Processes (Tasks)
New DependencyInjector class. Refs #2819
- Provides a more flexible module initialization, leveraging the
existing setter methods.
- Replaces the old callbacks mechanism.
ViewInterface: getCommandList() is deprecated. Refs #2819
Use Dependency Injection to replace the command pattern.
Removed getCommandList() calls. Refs #2819
Applied in classes:
- Xhtml renderer
- Resource module
Removed CommandInterface. Refs #2819
Backward compatibility provided by LegacyCommandBag class.
Deprecated AbstractRenderer::hashToDatasource. Refs #2819
Model split. Refs #2819
Help, Menu, Notification, Resouce system modules have been refactored
to use a specific Model class.
Request: receive User as an external dependency. Refs #2819
The User object was previously resurrected from Session.
LegacyCommandBag: setDecoratorTemplate() setDecoratorParameter() backward implementation. Refs #2819