Changeset 7 for trunk/docs


Ignore:
Timestamp:
Aug 30, 2005 9:14:12 PM (19 years ago)
Author:
scdev
Message:

updated rev hist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/revision_history.txt

    r6 r7  
    11--------------------------------------------------------------------------------
    2 Strangecodebase branch 2.0 dev
     2Strangecode codebase 2.0
    33--------------------------------------------------------------------------------
    44
     
    1313remove interdependencies:
    1414    - App() is the only dependency for other classes. It includes Utilities.inc.php silently.
    15     - admin_id vs. user_id
    16     - libs requiring external files, such as html templates and email templates, make classes self-contained.
     15    - Update libs requiring external files, such as html templates and email templates, classes now self-contained.
    1716   
    18 App object:
    19     - object belongs to a realm, keeping messages and session data within specific site/app.
    20     - uses the singleton pattern so only one instance of App exists for each app.
    21     - app object can be accessed globally without reference to object name by calling methods statically, e.g. App:logMsg()
    22     - seperate application and codebase parameters from site configuration variables.
    23       Use $app->getParam('var') or App::getParam('var') to get app params and for site configurations do whatever you want
    24       I'm using $cfg['node']['features'] format for configurations
    25    
    26 Application configuration vars
    27     - defaults part of the app class
    28     - do not need to be set in any specific order
     17Things with modified interfaces:
     18    - App
     19    - Auth_SQL
     20    - DB
     21    - DBSessionHandler
     22    - RecordLock
     23    - RecordVersion
     24    - SessionCache
    2925
    3026One application will always have distinct:
     
    3430        - debugging
    3531        - charset
    36         - maybe sessions
     32        - session data
    3733    - Objects:
    38         - auth object
    39         - security roster
     34        - auth
     35        - db
    4036    - Environment:
    41         - even seperate codebase installs if necessary
    42         - include path
     37        - seperate codebase installs if necessary for each app
     38        - unique include path
    4339        - site/doc/web root
    4440        - lang
    4541    - $dbh database handler
     42   
     43App object:
     44    - object belongs to a realm, keeping messages and session data within specific site/app.
     45    - uses the singleton pattern so only one instance of App exists for each app.
     46    - app object can be accessed globally without reference to object name by calling methods statically, e.g. App:logMsg()
     47    - seperate application and codebase parameters from site configuration variables.
     48      Use $app->getParam('var') or App::getParam('var') to get app params.
     49      F or site configurations do whatever you want (I'm using $cfg['node']['features'] format for configurations)
     50   
     51App configuration parameters
     52    - defaults part of the app class
     53    - do not need to be set in any specific order
     54    - missing vars are dynamically accounted for.
    4655     
    4756DB object:
    4857    - Self contained class for DB functions. db::query is the only necessary function. Maintains connections and state independent of App.
    49    
    50 Things with modified interfaces:
    51     - App
    52     - Auth_SQL
    53     - DB
    54     - DBSessionHandler.inc.php
    55     - RecordLock
    56     - RecordVersion
    57     - SessionCache.inc.php
    5858
    5959Full test suite for all codebase libraries. Run from the command line: "codebase/tests/run_tests.sh;"
     
    6161Classes that access database tables have a function initDB() that will setup the basic schema necessary to run. This includes Auth_SQL, RecordVersion, RecordLock, and DBSessionHandler.
    6262
     63And much much more still to document...
     64
     65
     66
    6367--------------------------------------------------------------------------------
    64 Strangecodebase branch 1.0 release
     68Strangecode codebase 1.0.0 release
    6569--------------------------------------------------------------------------------
    6670
Note: See TracChangeset for help on using the changeset viewer.