Content / help / dynamic-array .. concise-view << previous next >>

Dynamic Array

Multi-value databases store data in three-dimensional strings.
3D is the idea that there are three levels of delimiter. Values can be addressed and extracted from this dynamic array / string using syntax, where the delimiters are named as follows:
  1. Attributes - ASCII CHAR(254)
  2. Multi-values - ASCII CHAR(253)
  3. Sub-values - ASCII CHAR(252)

Example Dyamic array extractions on the web

Messages from the MV data will be sent as dynamic arrays and so the website CRUD class functions can extract dynamic array values from these messages: Note: Although a multi-valued database record could be translated into <XML> it doesn't really make things any easier, so we stick to the convention of sending raw Dynamic arrays .
These dynamic arrays can easily be formed into PHP or Java arrays and the values easily easily extracted by the remoteDynamic CLASS

Dynamic array - where <3,2> = "music" & <4,2,3> = "F-minor"



001 Leon
002 Wooldridge
003 chess [ music [ football
004 King / Bishop / Pawn / Queen / Knight [ G-major / Bb-minor / F-minor [ Kick / Foul / Penalty / Goal

PHP test code to extract these values

First convert the remote message from a dynamic array to a PHP/java array

$array3D = $remoteDynamicArray->make3D($dynamicArray);

Showing 3-dimensional array as a table

Using Biscuits PHP tableMethods CLASS

0Leon
1Wooldridge
2
1chess
2music
3football
3
1
1King
2Bishop
3Pawn
4Queen
5Knight
2
1G-major
2Bb-minor
3F-minor
3
1Kick
2Foul
3Penalty
4Goal




iBiscuits LOGO