Git Product home page Git Product logo

unitas's Introduction

Unitas

Prototypes for the “dynamic pages” project

⚠️ This project is discontinued, and not being actively maintained.
For alternatives, see related projects on GitHub.

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

⚠️ 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

  • w3c-api: the W3C API.
    • node-w3capi: a JS client for the W3C API.
    • apiary: a simple JS library to use the W3C API in a declarative way.
  • About [re]design:
    • mailing-list-archives: modernising W3C's mailing list archives.
    • wbs-design: pretiffy the WBS UI (polls and surveys).
    • tr-design: new style sheets used by W3C technical reports in 2016.
    • design: templates, mockups, proposals and design-related material.
  • midgard: dashboard for the dwellers of our world.

Other resources

Credits

Copyright © 2016–2018 World Wide Web Consortium.

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

unitas's People

Contributors

deniak avatar guibbs avatar tripu avatar

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.