Skip to content
Herbert Poul edited this page Jan 6, 2014 · 9 revisions

Definition of what node types can define about nodes.

/:nodetypes/...

  • // NOT YET super node types
  • properties
    • name
    • type of the property (boolean, long, double, string, name-path reference?)
    • required (t/f)
    • index (t/f)
    • // NOT YET: unique?
  • allow additional properties (?)
  • allowed child node types

Core hierarchy

  • / (nodetype = RootNode)
    • XXX (nodetype = NodeTypesFolder) (beinhaltet die core oder alle node typen)
      • Node (nodetype = NodeType)
        • properties: nodetype (type = string (reference to /:nodetypes/[name=xxx] ?))
      • NodeType (nodetype = NodeType)
        • properties: name (type = string, required = true), required (type = boolean)

Beispiel für einen node & typ:

  • /:nodetypes/com.dc2f.blog.BlogEntry

    • properties: title (type = string), body (type = string), slug (index = true)
  • properties:

    • nodetype: com.dc2f.blog.BlogEntry
    • title: My great blog entry
    • body: blah blah

Clone this wiki locally