Tables versus Trees

The Tree is the defining structure of the internal data in ShofarNexus, as well as how data is stored, and how it is identified over the network.

A Tree structure is based on a Root (“@”) with one or more Branches built on that Root. Each Branch can have zero or more Branches built on it. A Branch can be normally considered as a file. The Tree continues within a Branch with Leaves. Like branches, each Leaf can have zero or more Leaves built on it.

In the program’s memory there is a single Root Object, and numerous Branch Objects built on it. This part of the Tree directly corresponds to the Internet in the sense that a Site, such as “ShofarNexus.com” is found by starting at the Root, then the “Com” Branch, then the “ShofarNexus” child Branch, and finally the “@” Branch which identifies we have moved from the Host to the Site itself.

This process can continue from the Site Branch to a specific Branch in the Site. For example “/_Help,Tree” would be found by continuing from the Site Branch to the “_Help” child Branch and then the “Tree” Branch.

To specify a specific Leaf Object within a Branch is done by a Leaf pointer in the Branch Object. Therefore the “Glob,Stuff” Leaf is found from a Branch by looking for a Leaf Object of Kind Glob, then a child of a Kind Glob with a key of “Stuff”. The full identity of this object is “ShofarNexus.com/_Help,Tree~Glob,Stuff”

ShofarCity™ShofarCity.Com
Help Library

Core

Dev

Kind

Kit

Leaf

Map

Message

Net

Overview

Packet

Primitives

Run

Secure

Session

Site

Socket

Sprint

Stack

Tool

The Tree

The Tree ● The heart of ShofarNexus
URL

URL Scheme

URL Host (Domain)

URL Port

URL Path (Segments)

URL Query

URL Fragment

Object
Branch
Host
Site
Leaf
Layer

Tables versus Trees