Changeset 42 for trunk/docs/revision_history.txt
- Timestamp:
- Dec 18, 2005 12:16:03 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/revision_history.txt
r41 r42 10 10 - will still run if info missing: db creds, log dir, session info. 11 11 - can be located in /usr/local/lib/php if necessary, so accessible by all sites. 12 12 13 13 remove interdependencies: 14 14 - App() is the only dependency for other classes. It includes Utilities.inc.php silently. 15 15 - Update libs requiring external files, such as html templates and email templates, classes now self-contained. 16 16 17 17 Things with modified interfaces: 18 18 - App … … 41 41 - lang 42 42 - $dbh database handler 43 43 44 44 App object: 45 45 - object belongs to a realm, keeping messages and session data within specific site/app. 46 46 - uses the singleton pattern so only one instance of App exists for each app. 47 47 - app object can be accessed globally without reference to object name by calling methods statically, e.g. App:logMsg() 48 - seperate application and codebase parameters from site configuration variables. 48 - seperate application and codebase parameters from site configuration variables. 49 49 Use $app->getParam('var') or App::getParam('var') to get app params. 50 50 F or site configurations do whatever you want (I'm using $cfg['node']['features'] format for configurations) 51 51 52 52 App configuration parameters 53 53 - defaults part of the app class
Note: See TracChangeset
for help on using the changeset viewer.