Project

General

Profile

Refactoring #1176

New general application structure

Added by Hans De Bisschop over 9 years ago. Updated over 8 years ago.

Status:
Feature implemented
Priority:
High
Target version:
Start date:
01/05/2010
Due date:
% Done:

100%

Estimated time:

Description

Some submanagers (e.g. the RepoViewer and the StreamingMediaManager) may have to be run in standalone mode at one time or another. That is, they are not displayed in the context of a specific application or component but in their own window / popup.

Given the nature of submanagers, a parent application is always required, but such an application is not a classic application like the repository or the weblcms, it is more like a wrapper which allows us to use some basic functionality like get_user, set_parameter, get_url, etc. The current application class however also forces us to implement some things like is_active, which is only relevant for installable applications and not for (sub)managers which allow access to a certain kind of (external) functionality.

This is why the current structure is inadequate:

Application

CoreApplication

=> RepositoryManager
=> GroupManager

WebApplication

=> WeblcmsManager
=> PersonalCalendarManager

with the following floating around independently:

HtmlEditorFileBrowser (the Browse server popup in CKEditor for images, videos, etc.)
StreamingMediaManagerLauncher (the popup to select e.g. a YouTube video)

The new structure would be like this:

Application

LauncherApplication

=> HtmlEditorFileLauncher
=> StreamingMediaManagerLauncher

BasicApplication

=> CoreApplication
> RepositoryManager
> GroupManager
=> WebApplication
> WeblcmsManager
> PersonalCalendarManager


Files

OldApplication.png (31.3 KB) OldApplication.png Hans De Bisschop, 01/05/2010 10:36
NewApplication.png (51.7 KB) NewApplication.png Hans De Bisschop, 01/05/2010 10:36

History

#1

Updated by Hans De Bisschop over 9 years ago

  • Status changed from New to Feature implemented
  • % Done changed from 80 to 100
#2

Updated by Stefaan Vanbillemont over 8 years ago

  • Project changed from Chamilo LCMS Connect to Common
  • Category deleted (21)
#3

Updated by Stefaan Vanbillemont over 8 years ago

  • Target version changed from 2 to 1.0.0

Also available in: Atom PDF