Giter VIP home page Giter VIP logo

web-widget-creator's Introduction

istSOS - Web Widget Creator

An Online Web Application for building feature­rich web widget that will be easily embeddable into existing web pages.


Usage instructions:

Important:

Chart creator tool depends on another framework called VistSOS - Data visualization framework, which can be downloaded or cloned here. Just clone istsos Web widget creator and VistSOS and put them as folders, next to each other, inside your Apache public folder (e.g. ./var/www/...). Inside VistSOS, you should find ./src/util/util.js and change the specPath from default to ../VistSOS-1/src/specs/.

Configuration:

Before, you can use istsos Web widget creator, next couple of things need to be configured:

  1. istSOS Web application - istsos Web widget creator is a "helper" application for istSOS, so you should set up istSOS at your local machine.
  2. Server configuration - there is a ./specs/server_config.json file, which needs to be populated with your local server data.
  3. Observed properties specifications - there are two files:
    • ./specs/observed_property_names.json - this file is used for mapping observed properties default names to user-defined names. Box widget uses this configuration for displaying user-defined names, instead of default ones.
    • ./specs/observed_property_spec.json - this file is used for specifying interval values and icon url for every observed property definition. This is important, because based on observation value, different icon is shown. Box and Map widgets use this configuration file.
  4. Chart types specification - Whenever VistSOS framework is updated with the new charts and attributes, this file needs to be updated too, because istsos Web widget creator uses this to generate chart specific input form

istsos Web widget creator usage steps:

Open ./index.html:

  1. Select one of the desired creator tools from the menu:

    • Map
    • Chart
    • Box
  2. On the left side, a coresponding creator inputs form will show, which contains:

    • Server dependent data for selection - services > offerings > procedures > observed properties
    • Common widget settings fields - target HTML element ID, target element CSS class, widget height and widget width
    • Widget dependent input form - charts > type (with type attribute fields), box > layout (horizontal or vertical)
    • Automatic update setup(optional) - user is offered to setup regular data update interval and startup update delay
    • Generate widget button - creates a widget preview and generates embedded code
  3. In the middle section, there are two output windows:

    • Preview - upper section, where the generated widget is shown
    • Code - lower section, where generated embedded code is shown

Note: Import generated embedded code into your Web site/page to display it.

web-widget-creator's People

Contributors

luka-glusica avatar mantonovic avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar Massimiliano Cannata avatar

Forkers

luka-glusica

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.