Code Monkey home page Code Monkey logo

concordia's Introduction

Concordia

wercker status NPM version

Concordia is a tiny framework helping you write modular applications. Start your project in a single file, then scale upwards as needed. No refactoring needed.

Features

Focus on writing code - not organising code

Build your application out of actions, small functions with a specific responsibility. Move your actions about the project as development progresses without having to wory about having to refactor. Use namespaces to oranise your actions, and rest save in the knowledge that they will always return a promise.

Extend it in any way you like

At less than a 100 lines of actual code, the main library is tiny and we aim to keep it that way. Additional functionality goes into extensions, which you are free to use or not use as you see fit. Mix Concordia-extensions with your own favourite libraries any way you want.

Getting Started

Get Concordia from npm.

npm install concordia

Then start defining actions.

Concordia = require('concordia');
var concordia = new Concordia();
concordia.defineAction$('number.add', function add(num1, num2) {
    return num1 + num2;
});

Concordia.number.add(3, 6).then(function(result) {
    console.log(result);    //=> 9
});

More tags

Code Climate Test Coverage Dependency Status

We dedicate this Library to the ServiceRegistrar, the EigenServices and the PuppetDresser.

concordia's People

Contributors

bbtx0 avatar jwoudenberg avatar lucamaraschi avatar ninjatux avatar rolfkoenders avatar

Watchers

 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.