{{item}}
InstallClose
A Javascript framework that uses behaviour-driven objects for building use cases.

Node

npm install objy

Browser

<script src="https://cdn.jsdelivr.net/npm/objy/dist/browser.js" />
EXAMPLES:
{{item.name}}
+ more

Quick start


npm i objy <script src="https://cdn.jsdelivr.net/npm/objy/dist/browser.js" />
1. Install

Get OBJY for your javascript environment. Use it in Node or in the browser.

2. Define object wrappers

Define, where your objects are stored, how they are processed and observed using an open and extendable mapper ecosystem.
OBJY.define({
    name: "object",
    pluralName: "objects",
    storage: new MongoMapper('localhost'),
    processor: new vmMapper(),
    observer: new intervalMapper()
})


OBJY.object({
    ...
    expires: {
       date: "2020-10-10",
       action: "this.remove()"
    }
})

3. Build objects that live

Represent anything with dynamic objects. Define behaviours to make them alive. OBJY will do the rest.

4. Use the simple interface

Create, Read, Update, Delete. That's all it takes, the rest is handled by OBJY
OBJY.object({name: 'Anakin'}).add()

OBJY.object("123")
    .setName('Luke')
    .save()

OBJY.object("123").remove()


powerful, yet simple features
Inheritance, User management, Acces-control, Pluggable mappers (MDB, InMem, Redis), Custom actions and more
OBJY is open source and released under the MIT License. Copyright (c) OBJY collaborators