Changes between Version 4 and Version 5 of BluePrint/GIS/2.0


Ignore:
Timestamp:
02/02/22 15:30:21 (4 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/GIS/2.0

    v4 v5  
    66- no need to maintain the old one for browser changes (Just 1 instance of that so far: )
    77- we can take advantage of new features & performance upgrades (like [https://openlayers.org/en/latest/examples/tilejson.html TileJSON])
    8 At the core this isn't too hard and [https://github.com/sahana/eden/blob/master/modules/s3/s3gis.py#L7396 much progress has already been made] (& UCCE already uses OL5 within the DC Editor)
     8At the core this isn't too hard and [https://github.com/sahana/eden/blob/master/modules/s3/s3gis.py#L7396 much progress has already been made] (& UCCE already uses OL6 within the DC Editor)
    99The big issue is the User Interface, especially for the main map.
    10 This is currently built on [https://geoext.org/v1/ GeoExt 1.1] & !ExtJS 3.4.
     10This is currently built on [https://geoext.org/v1/ GeoExt 1.1] & ExtJS 3.4.
    1111The obvious solution would be to upgrade to the [https://geoext.github.io/geoext/ current GeoExt], and hence [https://docs.sencha.com/extjs/6.2.0/index.html ExtJS 6.2], however that version of ExtJS is no longer available and has [https://www.sencha.com/legal/gpl/ strict GPL licensing] around it, which doesn't really make it suitable for us.[[BR]]
    1212!GeoExt are also not moving very fast and a dependency on that seems unwise if we're making a big change anyway.[[BR]]
     
    1414So what UI toolkit should we use instead?[[BR]]
    1515An obvious option would be [https://jqueryui.com/ jQueryUI], since we already use that extensively for custom widgets in Eden, and we already use the widget factory for our [https://github.com/sahana/eden/blob/master/static/scripts/S3/s3.ui.gis.js OL6-version of the Map][[BR]]
    16 Although it hasn't received many upgrades recently, it is still maintained with a [https://blog.jqueryui.com/2021/09/jquery-ui-1-13-0-rc-2-released/ new release coming soon].
    17 It has limited Widgets available: Buttons, Dialog, Menus, Tabs all there, but no Toolbar (we can probably use Controlgroup for this) Panels or Tree (using [https://www.jstree.com/ JSTree] seems the right approach here, as we already use this elsewhere & it's well-maintained).
     16Although it is in [https://blog.jqueryui.com/2022/01/jquery-ui-1-13-1-released/ maintenance mode].
     17It has limited Widgets available: Buttons, Dialog, Menus, Tabs all there, but no Toolbar (we can probably use Controlgroup for this) Panels or Tree (we can either use the separate [https://github.com/walkermatt/ol-layerswitcher LayerSwitcher] or else use [https://www.jstree.com/ JSTree], as we already use this elsewhere & it's well-maintained).
    1818We can also see about bringing in components from [https://github.com/primefaces/primeui PrimeUI]...that isn't maintained, however the Apache 2 license means we can take anything we want from there.
    1919
    2020There are other options which we could consider:
    21 * !VueJS
     21* VueJS
     22 * Several Components: https://vue3openlayers.github.io/
    2223 * Basic Tree example: https://v3.vuejs.org/examples/tree-view.html
    2324 * !PrimeVue has widgets: https://primefaces.org/primevue/
     
    3132* Lit (lightweight web components)
    3233* React
     34 * https://terrestris.github.io/react-geo/docs/latest/
    3335 * https://react-md.dev/packages/tree/demos
    3436* [https://webix.com Webix]