Skip to content

Seed App

Robert de Forest edited this page Jan 28, 2019 · 1 revision

We need a starting point

I want to come up with something I can throw together in an evening.

Features (what, not how)

Phase 1

  • REST/CRUD persistence interface

    • See StrongLoop.com
  • stdio interface

    • commands 'hard'-coded, not in db
    • create/list/destroy object

Phase 2

  • new commands
    • add/edit/remove properties

Phase ?

  • Active objects
    • Commands implemented on in-DB objects
    • Implementation objects conform to NPM interface

Goals

  • Well isolated architecture
  • Contextual object model

Next

  • Domain negotiation

Phases

Phase Components
1 persistence
1 interface
2 domain something something

Musing (AGAIN?!)

What is an object without programming?

  • relationships
    • behavioral
    • historical
  • strings
  • numbers

Engine Object model

  • Domains need a UID
  • Objects
    • a domain-unique ID
    • Object's GID is Domain's UID + object's domain-level ID
    • relations
      • GID of other object or its proxy
      • GID of object describing the relationship
      • Relations at this level have no context, observer or other modifiers.

Things to persist

  • Config
  • Domain connections
  • Engine Objects

Core Object model

  • Observations are a kind of object which have multiple relationships implementing our model

Clone this wiki locally