0.4.1 • Published 3 years ago

is-blackrock v0.4.1

Weekly downloads
59
License
-
Repository
github
Last release
3 years ago

Blackrock Application Server

Introduction

Welcome to the Blackrock Application Server. Blackrock has a Reactive / Event-Driven Architecture, and contains all the functionality you need to build your next Node.JS application, whether it be a web app, web service or something else.

Installing Blackrock

As a Stand-Alone Application Server

Blackrock can be installed as a stand-alone application server on your system. All you need to do is to Install Node.JS and NPM and then open up a command-line prompt and type:

> npm install -g is-blackrock

As a Dependency For Your Own Application

Blackrock can be installed as a dependency within your own Node.JS application. All you need to do is to Install Node.JS and NPM, make sure you have a new or existing Node.JS application and then open up a command-line prompt and type:

> cd /path/to/your/node.js/application

> npm install --save is-blackrock

And then open up your project in your favourite IDE and (most likely in the Javascript file you launch with) include a reference to this dependency:

const blackrock = require('is-blackrock').init();

Note: If the application isn't new (more than just a scaffold) then you have to realise the Blackrock takes over the process and instantiates its own HTTP interface (and so on). As such you may very well have to re-engineer much of your application to work with Blackrock. Also - you may need to alter the server's configuration. See {@tutorial server-configuration} for more information.

Also: the is-blackrock node module has ZERO dependencies. So your risk of losing access to any of your packages is minimised.

Getting Started

See the Getting Started Tutorial for a quick and easy guide to help you get started building with Blackrock.

Modules Specifications

Below you can find the specifications for each Blackrock module:

ModuleDescription
CLI ModuleManages execution of server actions based on command-line arguments provided at startup
Configure ModuleProvides methods and command line tools to manage server and service configuration
Core ModulePrimary dependency (application server instance) that is exported to service routes and linked applications. Loads and provides access to all other modules and interfaces
Daemon ModuleProvides tools to instantiate the application server as a daemon and to manage the daemon
Data ModuleProvides a standard abstraction to third-party databases, and has a built-in filesystem JSON-based database that you can use to quickly build and prototype applications and services
ErrorHandler ModuleProvides the tools to intercept and handle application server exceptions and prevent the server from crashing
Farm ModuleProvides the tools to share state within a distributed compute cluster or farm. And to manage job processing without duplication of effort
Generator ModuleProvides methods and command line tools to generate your own services for use within Blackrock
i18n ModuleProvides support for internationalisation and localisation within your Blackrock services
Installer ModuleAllows you to install additional services in to your application server from the Blackrock marketplace
Jobs ModuleAllows you to create, manage and execute asynchronous jobs (from your services) - recurring and scheduled
Logger ModuleProvides a method (log) to log your service (or intra app server) events and distribute these to any one of a number of log sinks
Router ModuleRoutes requests and responses between interfaces and service routes
Sandbox ModuleProvides a sandbox environment to execute un-trusted Javascript code within your application server
Services ModuleLoads, manages and provides access to and between all services running on your application server
Universe ModuleProvides the Universe object to your services, giving you access to a world of real-time data. Make your service environmentally reactive!
Utilities ModuleProvides a collection of popular Utility methods that you can access within the application server (modules) or from your services

Interface Specifications

Below you can find the specifications for each Blackrock interface:

ModuleDescription
Axon InterfaceProvides an interface for the Axon protocol
HTTP InterfaceProvides an interface for the HTTP and HTTPS protocol
NanoMSG InterfaceProvides an interface for the NanoMSG protocol
SSH InterfaceProvides an interface for the SSH protocol
WebSockets InterfaceProvides an interface for the WebSockets protocol
ZeroMQ InterfaceProvides an interface for the ZeroMQ protocol

Gratitude

Thanks for downloading the Blackrock Framework. We look forward to seeing what you build with it.

0.4.1

3 years ago

0.4.0

3 years ago

0.3.8

3 years ago

0.3.7

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago