[SoC] Report 12 (Final report) - Improving IstSOS Web API and finalizing IstSOS Javascript Core Library

Luka Glusica luka.glusica89 at gmail.com
Sun Aug 20 15:51:34 PDT 2017


Hello everyone,

Here is the final report for this year:

1) TITLE: *Improving IstSOS Web API and finalizing IstSOS Javascript Core
Library*
    SOFTWARE COMMUNITY: *IstSOS*, under OSGeo.

2) ABSTRACT: Idea was to modernize and improve IstSOS Javascript core
library following the best practices, so that users/developers could use it
like any other modern JavaScript library. Also, one of the tasks was to
rewrite IstSOS Web Widget Creator using React JS.

3) STATE BEFORE: Library build logic was poorly written and with every fix,
update or change, build had to be done manually. There were also some
crucial issues with event handling system and authentication support. As
for Web Widget Creator, anyone who have had tried to install it, had
troubles understanding usage instructions. A too much procedures and manual
configuration were needed in order for app to work as expected.

4) STATE AFTER:
- Library is modernized and rewritten using ES6. Build processes were
automated using Webpack, Closure Compiler plugin for Webpack and Babel
transpiler. Event handling problem is resolved with new class called
istsos.EventEmitter and also the basic authentication support is enabled
with login configuration object. Library was published to *npm *as
"istsos-javascript-core".

- IstSOS Web Widget Creator is rewritten using React JS. Component based
architecture has proven itself very useful in improving the logic of the
Web Widget Creator. Although, there are still some things left to do
concerning Chart widget.

5) LEFT TO DO:
- Finish Box widget - not much has left, just some bug fixes
- Chart widget is an issue - this widget depends on another project called
VistSOS, which is not functioning as expected, so this will be left to deal
with in later contributions to the project.
- Update documentation
- Do some testing

6) LINKS :

*IstSOS JavaScript core commits* - https://github.com/Luka-G/
javascript-core/commits/new-js-core?author=Luka-g

*IstSOS Web Widget Creator commits* - https://github.com/Luka-G/
web-widget-creator/commits/new-wwc?author=Luka-G

*IstSOS JavaScript core API documentation* - https://luka-g.github.io/
javascript-core/#/

*Wiki* - https://wiki.osgeo.org/wiki/IstSOS_Web_API/

*Example Map widget tool* - https://raw.githubusercontent.com/Luka-G/
web-widget-creator/44d5587e1fd122dac08ec4a8e915665af78d88bf/wwc.png

Thanks for support

Best regards,

Luka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/soc/attachments/20170821/15061e2e/attachment.html>


More information about the SoC mailing list