w3c/Unitas

Name: Unitas

Owner: World Wide Web Consortium

Description: Prototypes for the ?dynamic pages? project

Created: 2016-03-18 04:18:30.0

Updated: 2017-12-17 02:07:47.0

Pushed: 2017-10-26 08:38:02.0

Homepage: https://w3c.github.io/Unitas/

Size: 96

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Unitas

Prototypes for the “dynamic pages” project

Examples
“Root” view

With no arguments (or with wrong arguments): /

Lists of entities that are “listable”
  1. All functions: /?f=all
  2. All groups: /?g=all
  3. All specs: /?s=all
  4. All affiliations: /?a=all
Examples of particular Entities
  1. A function: /?f=109
  2. A group: /?g=68239
  3. A charter: /?g=46300&c=155
  4. A spec: /?s=dwbp
  5. A version: /?s=2dcontext&v=20110525
  6. A user: /?u=ggdj8tciu9kwwc4o4ww888ggkwok0c8
  7. A service: /?x=2279
  8. A participation: /?p=1503
  9. An affiliation: /?a=52794
Contributing
How to test locally
  1. Clone this repository and check out the desired branch.
  2. Edit this couple of lines at the beginning of behaviour.js to use your own API key (and, optionally, to enable debugging, so that useful messages are printed on the JavaScript console of your browser).
  3. Serve the page (index.html and related resources) locally, setting up your web server appropriately.
  4. Use Unitas by visiting http://localhost/unitas/ (assuming that's where it's being served). As all items are inter-linked, you can start anywhere and pretty much navigate your way to any other valid page in the system. But the root page / is a useful entry point.
About the API key

:warning: the W3C API key embedded in this project will work from the domain w3c.github.io only, as it is for demonstration purposes on GitHub pages. Make sure you replace it with your own API to use it with localhost:// or other origins.

Dependencies

Resources are loaded this way:

This cascading is far from optimal, of course. It is useful during development and for debugging, though.

In production, resources will be concatenated and loaded in parallel, and minified/compressed versions of CSS/JS libraries will be used instead.

Related projects on GitHub
Other resources
Credits

Copyright © 2016–2017 World Wide Web Consortium.

This project is licensed under the terms of the MIT license.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.