User Tools

Site Tools


mai_object_model

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mai_object_model [2022/09/23 22:43] – created jhagstrandmai_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();  // instantiation, lower-case object, proper-case class \\ 
-(new voyc.Sam).method();  // same as voyc.sam.method().  this is used for subcomponents 
- 
-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.  instantiated on windows.load event 
-  * 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

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki