Giter Club home page Giter Club logo

www.concertjs.com's Introduction

Table of Contents


Introduction


What is Concert.js?

Concert.js is a JavaScript component for easily defining sequences of changes to CSS styles, DOM objects, or anything else that can be manipulated with JavaScript, and playing these sequences or synchronizing them with media playback, user interaction, or your own components. In short, it animates things, and if you want, it will precisely synchronize those animations with other things.

How do I get and use Concert.js?

Visit https://www.concertjs.com/ for information on Concert.js itself. The project you are looking at right now is the code for the Concert.js web site.

Bug Reports and Suggested Enhancements


Contributing to this web site


  • Prerequisites

  • Setup

    1. First, fork this project and then git clone from GitHub:
    2. Next, to get all the dependencies, move inside the newly created project directory and run npm install.
  • Folder structure:

    • vendor directory contains third-party components included in the web site.
    • design directory has some design notes files.
    • src directory contains all the source code.
  • Additional folders (not tracked by git):

    • An assembly directory is created when building as a place where intermediate files are deposited for use by the build process itself.
    • A dist directory is created by the build process, and contains the assembled web site ready for publication. Both a Dev directory and a Prod directory are created there. The two are identical except that the Prod version has minified versions of JavaScript and CSS files, whereas Dev has full versions to make debugging easier.
    • node_modules is created by npm, and contains tools used in the build process.
  • Building:

    • This project is built using Grunt. Building Concert.js does not require installing any npm packages globally.

    • Move to the project directory and run:

      node node_modules/grunt-cli/bin/grunt
      

      This will kick off a Grunt script that will:

      1. Clean up prior build output files.
      2. Assemble the full web site into the dist folder.

      Further details about how the build process works are listed in Gruntfile.js.

  • Understanding the code:

    www.concertjs.com is built into essentially a static web site, using a simple, custom templating language where commonly used page components are only defined in one place and are inserted into each individual page by the build process. src/ConcertJSPage.template.html contains the primary master layout for the site, and each other template generates content that fits within that layout. The main exception is the reference documentation portion of the site, which is built by jsdoc (presently the documentation pages are actually part of the Concert.js project and are included as a third-party component here).

  • Running the site:

    Because all the dynamic portions of this site are generated at build time, rather than at run time, there is no need for anything other than a very simple HTTP server for running and testing the site. You can use any server you want, but here are a couple simple, quick (low-or-no-configuration) ones you can just run and point to a path to serve up:

  • Contributing changes:

    There is not presently a formal document describing contributions to this project. If you want to add functionality or fix bugs, please at least pay attention to the coding style that is evident in the existing source. Thanks.

Authors


Trajan McGill

Version History


See releases page for version notes and downloadable assets.

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.