mai_object_model
Differences
This shows you the differences between two versions of the page.
| mai_object_model [2022/09/23 22:43] – created jhagstrand | mai_object_model [2023/01/12 10:57] (current) – removed jhagstrand | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Mai object model ====== | ||
| - | |||
| - | every class is a global singleton \\ | ||
| - | all objects instantiated in voyc.mai.setup() \\ | ||
| - | voyc.sam = new voyc.Sam(); | ||
| - | (new voyc.Sam).method(); | ||
| - | |||
| - | Specialists | ||
| - | * voyc.sam | ||
| - | * voyc.lee - public methods drill() and respond() called by Sam | ||
| - | * voyc.noam - public methods parse...() used by sam, editor, story | ||
| - | * voyc.sengen - sentence generator, used within noam | ||
| - | * voyc.numgen - number generator, used within noam | ||
| - | |||
| - | Data Model | ||
| - | * voyc.story - used by sam and storyview | ||
| - | * voyc.dictionary | ||
| - | * voyc.alphabet | ||
| - | * voyc.vocab - represent user's vocabulary, used by Lee and Noam | ||
| - | * voyc.grammar | ||
| - | * voyc.translit | ||
| - | * voyc.vowelpatterns | ||
| - | |||
| - | View | ||
| - | * voyc.storyview - drives storyview, list, insert, view | ||
| - | * voyc.editor - drives editor page | ||
| - | * voyc.chat - drives the chat window on the home page, used by sam and lee | ||
| - | * voyc.keyboard2 | ||
| - | |||
| - | Controller | ||
| - | * voyc.mai - starting point. | ||
| - | * voyc.view - drives home page, left-nav, settings-dropdown | ||
| - | * voyc.browserhistory - public method nav() called by mai, storyview, sam, editor, view | ||
| - | |||
| - | Utilities | ||
| - | * voyc.observer - called by sam, view, story, vocab, dictionary | ||
| - | * voyc.comm - called by the four "model classes" | ||
| - | * voyc.speech - public method speak() called by Sam and Editor | ||
| - | |||
| - | User Management | ||
| - | * voyc.user | ||
| - | * voyc.account | ||
| - | * voyc.accountview | ||
| - | |||
mai_object_model.1663987434.txt.gz · Last modified: 2022/09/23 22:43 by jhagstrand