3liz / lizmap-rfc

Lizmap Request For Comment
2 stars 0 forks source link

Access to Lizmap projects as a SPA #5

Open nboisteault opened 5 years ago

nboisteault commented 5 years ago

Lizmap RFC: [UI] Access to Lizmap projects as a SPA

Date 2019/08/08

Author Nicolas Boisteault (@nboisteault )

maintainer @nboisteault

Version Lizmap-Web-Client 4

Summary

Here we discuss the UI for Lizmap project access as a SPA (Single Page Application)

Proposed Solution

The actual projects page (http://www.domain.com/index.php/view/) would instead load the actual map page but the projects list would be shown as :

  1. a modal screen
  2. or the left menu would be open on the projects list tab

Then the user click on a project and all its configuration is loaded to initialize the JS components.

Performance Implications

It will be faster to navigate between projects as it avoids to completely reload the page (of course actually cache helps us here). The time spent will be Ajax load of configuration + GetCapabilities and a new JS modules initialization

Votes

(required)

mdouchin commented 5 years ago

Some comments: