O7 ECO

N2O as Ecosystem

As ecosystem N2O provides a set of techniques applicable and useful for ML languages and Erlang, but it seems that N2O discipline is helpful in other programming languages too. As an enterprise protocol federation N2O provides solid XMPP/WS/CORBA replacement, defining the following services that could run in a distributed environment: business process management, distributed data storage, application framework, publish/subscribe broker, messaging and chat services, etc.

Picture 1. Protocol Modules

N2O as Application Server

O7 ECO is an Erlang N2O implementation of application services run inside Erlang virtual machine. Each service implemented as protocol module that can be injected to N2O accept looper. Developing application for N2O means writing your application protocol modules that handle pure logic.

As Erlang/OTP application N2O is an embeddable message protocol loop library for WebSocket, MQTT, and TCP servers, it provides basic features, such as process management; virtual nodes ring for request processing; session, encoding, MQ, cache and log services.

Picture 2. N2O WS and N2O TT versions

The main two usages of N2O: 1) live in client connection processes of server; 2) live in server workers and handle all requests from client processes. You can add you own feature-set versions of N2O with different Github repositories. N2O is distributed by modules not as monolith application, so you can pick and pack different fiature combinations.

1. {n2o, ".*", {git, "git://github.com/synrc/n2o", []}}, 2. {n2o, ".*", {git, "git://github.com/synrc/mqtt", []}},

NITRO as Web Framework

Web logic should be as much declarative as possible at the same time the language should be readable by Java, .NET engineers. NITRO protocol is what we called Web Framework inside N2O ecosystem. If you plug the NITRO module, you automatically enable web framework for all devices. It resembles Nitrogen API, well known Erlang Web Framework.

Here is example of Application powered by N2O Application Server. You may read more in articles/web.

Picture 3. NITRO sample application

You can read N2O Book: No Bullshit Web Framework for Wild Web   N2O.PDF

CONTRIBUTORS



ARTICLES