Net Possibility Multiplier
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    funcboxpublic

    Domain development , DDD-CRS framework for node.js .

    Install

    	npm install crs
    

    Example

    	var crs = require("crs");
    	var Domain = crs.Domain;
    	var Builder = crs.Builder;
    	
    	var builder = new Builder();
    	
    	builder.bindService( ... )
    			   .bindAggreType( ... )
    			   .bindCommandHandle( ... )
    			   .bindEventHandle( ... )
    			   .bindEventHandle( ... ) 
    			   .bindDB( ... )
    	
    	var domain = new Domain(builder);
    	
    	domain.on("event01",function(){ ... });
    	domain.once("event02",function(){ ... });
    	domain.exec(" command");
    

    Keywords

    none

    install

    npm i funcbox

    Downloadsweekly downloads

    2

    version

    0.0.1

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar