Giter Site home page Giter Site logo

teabo-logger's Introduction

LAO logger module

This is an example module for the [lao] - look ahead online project. It describes the best way to create a new module. This is only a recommendation for a possible implementation. You don't have to follow the structure exactly.

What it does

This module listen to all events on client- and serverside. Each event dispatcher object or WebSocket stream is registered and will be listed on the right side of the screen.

You can get all events on

http://localhost:3000/lao-logger/list

or view an specific event by ID on

http://localhost:3000/lao-logger/show/[event-id]

module structure:

yourmodulename/
   |-- module.js
   |-- rest.js
   |-- comet.js
   |-- public/
   |    |-- css/
   |    |    +-- main.css
   |    |-- images/
   |    |    +-- some-images.gif
   |    |-- js/
   |    |    |-- controller.js
   |    |    +-- views/
   |    |    |    +-- your-view.js
   |    +-- templates
   |    |    +-- template.html

Everythink in the public directory gets reachable for the client in the following scheme:

<domain>/<modulename>/css/
<domain>/<modulename>/images/
<domain>/<modulename>/js/
<domain>/<modulename>/images/
...
for this exampel module:
http://localhost:3000/lao-logger/css/main.css

how to install

This module is designed for lao (v.0.2beta). You have to download and install it first. Visit the GitHub Repository and get the zip of the current version of the backend-migration branch.

LookAheadOnline on GitHub

If the lao application starts successfully you can install this module. For that, go to the module directory and clone this repository.

$ cd /path/to/lao/modules
$ git clone git://github.com/christian-bromann/lao-logger.git

Restart the node app and you're done!

teabo-logger's People

Contributors

christian-bromann avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar  avatar

teabo-logger's Issues

attach module to toolbar

The module should attach itself to the toolbar. A possible functionality could be an alert printing the number of logs. The way to attach a module to the toolbar should be well documented.

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.