Skip to content

thegameofcode/hero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

----DEPRECATED----

Hero.js

##What is?

Hero is a NodeJS library that give supports to a methodology, is not a framework, Hero works well with any NodeJS framework as Express, Hapi, Connect or any other.

Hero allows direct connection with MongoDB and Redis databases and with the queue management system RabbitMQ and ZeroMQ, but you can connect with any other database and queue management system coding your own DTO (Data Transfer Object) or QTO (Queue Transfer Object).

##What are the pieces?

Hero provides 4 different architectural pieces to simplify and organize the relationships between the code.

####DTO (Data Transfer Object)

Provides abstraction about the asynchronous starting databases connection pooling. Helps to organize the access through methods and specify a concrete collections, tables or hashes.

####QTO (Queue Transfer Object)

Provides abstraction about the asynchronous start connections. Helps to send and drain messages.

####Worker

Provides abstraction about the interconnection with the rest of pieces including other Workers, this is the place where the business logic must be.

####End-point

Provides abstraction about the publish interfaces to provide http/s services. End-points communicates synchronous or asynchronous with Wrokers to start the logic behind the service.

###Communications architecture

About

Lightweight NodeJs

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •