Skip to content

Rfc6:Motherapplication updates mashup components

Meine Toonen edited this page Sep 15, 2015 · 2 revisions

Overview

Functional changes

When making a mashup of an application (the "mother application"), it should be possible to propagate the configuration of the components in the motherapplication to the corresponding components in the mashup(s). This RFC covers the implementation of that change.

Technical changes

The changes needed for the completion of this functionality are described here.

Affected modules

The modules which are affected by these changes are split in the viewer, viewer-admin and database.

Viewer

The viewer doesn't have to be changed.

Viewer-admin

When creating a mashup, the user should define if the changes made to components in the mother application should be propagated to the mashup.

If so: When updating a component in the mother application, the viewer-admin must retrieve all the mashups, and update all the components which have a reference to this updated component.

When the user deletes a component from the mother application, all referencing configured_components should be uncoupled: the reference must be set to null.

Database

configured_component
add reference to itself

Backwards compatibility

We foresee no incompatibility with older version. All the old configurations will be kept and remain functional. Existing mashup don't have a reference.

Reference to issues

https://github.com/flamingo-geocms/flamingo/issues/423

Voting history

Clone this wiki locally