Anchor | ||||
---|---|---|---|---|
|
In This
...
Topic
Table of Contents | ||
---|---|---|
|
...
MVC
MVC is an abbreviation for Model-View-Control and is a design pattern used extensively in XperienCentral which uses the Spring MVC framework which is based on this pattern. This pattern separates software components into three responsibilities: the data model, the view (user interface), and the controller that handles the interaction between these two. The MVC model can be depicted as follows:
The MVC design pattern helps to decouple the graphical user interface from the application logic.
...
The XperienCentral service framework is the central part of the XperienCentral architecture. It allows XperienCentral to be modular by physically separating logical components into services with well defined interfaces. Because the service framework follows the service container paradigm, it provides the execution environment and the mechanisms for dynamically locating, accessing and managing services.
...
Plugins
...
A component definition defines the basic behavior of the component, most importantly its type. The supported component types are:
Resource | Description |
---|---|
Element | Add a new content element to the XperienCentral Workspace. |
Panel | Add a new popup panel to the XperienCentral Workspace. |
MediaItem | Add a new media item type to the XperienCentral Workspace. |
Form | Add a new handler to the XperienCentral Workspace. |
Presentation | Modify the presentation of the website environment. |
Service | Provide a headless service to be used by other plugins. |
Page metadata | Add an additional metadata section to pages in the XperienCentral Workspace. |
Servlet | Add a new servlet to the XperienCentral installation. |
...
Inversion of Control (IoC)
...
Dependency injection is heavily used when defining service dependencies. When a component defines a service dependency, a reference to that service is injected by the framework into that component instead of the component itself retrieving the reference.