monument

What the heck is monument?

lightweight

Secure

granular

event—Driven

Application Server

Fast

Sorry.

I Know that was lame.

Demeters law

Law of Demeter: Principle of Least Knowledge. The Law of Demeter(LoD) is a simple style rule for designing object-oriented systems. "Only talk to your friends" is the motto.

loose coupling,

high cohesion

High Cohesion: degree to which the elements of a module belong together

Loose Coupling: the manner and degree of interdependence between software modules

const moduleOfCode = {
    store: {},
    getData() {
        return fetch('/some-data/123').then((result) => {
            store['data'] = result;
        });
    },

    renderView() {
        console.log(store);
    }
};

moduleOfCode.getData().then(() => {
    moduleOfCode.renderView();
});
const getData() {
        return fetch('/some-data/123');
    }

    , renderView(result) {
        console.log(result);
    };

getData().then((result) => {
    renderView(result);
});

backbone...

wasn't this about a new app server?

events are a good abstraction for encouraging good code.

and they are the core of monument

so what does developing in monument look like?

¿Preguntas?

monument.ansble.com@daniel_sellersDesignfrontier.netdaniel@designfrontier.net

Getting Started with MonumentJS

By Daniel Sellers

Getting Started with MonumentJS

  • 1,210