shogun-legacy icon indicating copy to clipboard operation
shogun-legacy copied to clipboard

Introduce inline Application model

Open chrismayer opened this issue 10 years ago • 2 comments

Here an idea I have for an enhancement of SHOGun:

Since we merged the refactoring-branch, the application-context does not contain all information anymore which is needed to build a full webgis application. Therfore you have to make several requests to gather the complete information. To improve this I would like to introduce an Application (JSON-) model which will not be persisted. Furthermore the information of this model will be derived by the data we already have associated to users, groups and roles. The application-data could be delivered by the application-context as a new element. This could be an intermediate step having an application model without rewriting the database model and not breaking the existing projects build upon SHOGun.

Do you have any opinions on that or maybe reasons why this is not a good idea?

chrismayer avatar Jun 05 '14 17:06 chrismayer

Chris, if this is doable for you with reasonable effort, I beg you to please go ahead. Great idea, indeed.

I'll gladly review any PR forthcoming.

Thanks a ton!

marcjansen avatar Jun 05 '14 17:06 marcjansen

Hi,

yes, I also support this idea ;-) Especially the backward-compability is great and should always be a principle of SHOGun (as far as this is doable, to agree with Marc as well)

Am 05.06.2014 19:03, schrieb Christian Mayer:

Here an idea I have for an enhancement of SHOGun:

Since we merged the refactoring-branch, the application-context does not contain all information anymore which is needed to build a full webgis application. Therfore you have to make several requests to gather the complete information. To improve this I would like to introduce an Application (JSON-) model which will not be persisted. Furthermore the information of this model will be derived by the data we already have associated to users, groups and roles. The application-data could be delivered by the application-context as a new element. This could be an intermediate step having an application model without rewriting the database model and not breaking the existing projects build upon SHOGun.

Do you have any opinions on that or maybe reasons why this is not a good idea?

— Reply to this email directly or view it on GitHub https://github.com/terrestris/shogun/issues/50.

NEWS:

-> Untergrunddaten in 3D - in Ihrem Browser? Kein Problem! -> Wo steht OpenLayers 3? Lassen Sie sich von uns beraten


terrestris GmbH & Co. KG Puetzchens Chaussee 56 53227 Bonn Germany

Till Adams Geschaeftsfuehrung

Tel: +49 (0)228 / 962 899-52 Mobile: +49 (0)151 / 2539 4429 Fax: +49 (0)228 / 962 899-57 Skype: tilladams

[email protected] http://www.terrestris.de

Amtsgericht Bonn, HRA 6835

Komplementaerin:

terrestris Verwaltungs GmbH

vertreten durch: Hinrich Paulsen, Till Adams

tilladams avatar Jun 06 '14 06:06 tilladams