funcbox

0.0.1 • Public • Published

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");

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.10latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.10

Package Sidebar

Install

npm i funcbox

Weekly Downloads

0

Version

0.0.1

License

BSD

Last publish

Collaborators

  • brighthas