bulkhead
v0.0.7
Published
Bulkhead is a library that helps programmers embrace service-oriented programming by allowing NPM packages to act as SailsJS plugins.
Downloads
25
Maintainers
Readme
Bulkhead
Bulkhead is a library for SailJS that allows a developer to compartmentalize the functionality of their web application into individual service-oriented components.
Traditionally, MVC patterns tend to make developers stuff as much business logic into the controller...
However, this significantly reduces the extendability and scalability of a web application as business logic frequently needs to be accessed in an agnostic fashion. (Web API, CLI, unit testing, reporting/mapReducing, cron, application components, etc.)
But with Bulkhead, developers can modularize services and NPM packages to perform a specific task and easily install it into a SailsJS project.
So, how would you like to get started? :D
- Put all of my code into reusable services
- Utilize dependency injection for plugins and services
- Setup a unit testing harness with database access, fixtures, and REST testing
- Create a brand new SailsJS application with Bulkhead and Bulkhead-Test already integrated
- Create a brand new SailsJS plugin
- Convert an NPM package into a SailsJS plugin
- Learn more about Bulkhead