/acis-component-examples

Examples of ACIS Webservices Components

Primary LanguageJavaScript

A repository for example ACIS Web Services components.

This builds on several javascript tools

  • Node.js for server-side javascript
  • Component as a client-side package manager
  • Reactive templating and view components via Vue.js: vuejs.org
  • The project layout and gulp usage from a vue.js example on github
  • Gulp as a build tool

A working example here

Usage

First, get and install a recent version of node. I have been using both 0.10.26 and 0.11.12.

Next, familiarize yourself with Component. The wiki lists hundreds of components for various uses.

Finally checkout and build the ACIS components. The following builds on the Vue.js component example

To get started, install Gulp and Component globally, then clone this repo and install local dependencies:

$ npm install -g gulp component
$ git clone https://github.com/bnoon/acis-component-examples.git
$ cd acis-component-examples
$ npm install && component install

Build

$ gulp

Open one of the examples:

  • examples/fixed_stn_table/index.html
  • examples/geo_list/index.html

to see the result.

Development

$ gulp watch

This will watch files for change and re-build automatically.