Updated: 26 Aug 2005 14:37:42 ====================================================================================== Codebase can be located anywhere, as long as it is in the application's include path. ====================================================================================== codebase/ bin/ (generic command-line scripts and applications) file_importer.php install.sh pedit_permissions.sh module_maker/ (scripts for generating modules) _config.inc.php form_template.cli.php list_template.cli.php module.cli.php skel/ (templates for generating modules) adm_form.ihtml adm_list.ihtml admin.php public_list.ihtml public.ihtml public.php sql.cli.php validation.cli.php docs/ codebase_script_template.php coding_standards.txt example_virtualhost_directive.txt file_layout.txt software_licence.txt todo.txt lib/ App.inc.php (functions dealing with sessions, href/url/IP manipulation, directories.) Auth_File.inc.php (file-based authentication system.) Auth_SQL.inc.php (sql-based authentication system.) AuthorizeNet.inc.php (routines for connection to authorize.net's advanced processing interface) CSS.inc.php DB.inc.php (database abstraction layer.) DBSessionHandler.inc.php (database session handler.) FormValidator.inc.php (validation routines used to test incoming user data.) Google_API.inc.php (class for connecting to, querying, and dealing with data of the Google API) ImageThumb.inc.php (automated image thumbnailing routines.) MCVE.inc.php Nav.inc.php (navigation element management class)) NodeHeirarchy.php (class for manipulation of node heirarchies.) PageNumbers.inc.php (class for managing and printing various elements of page numbers and pagenation) PageSequence.inc.php (manage a sequence of steps and data from step form elements, like order checkout or signup) PayPal.inc.php PEdit.inc.php (page-by-page file-based content management system) Prefs.inc.php (class for semi-permenent storage of values) RecordLock.inc.php (db record locking system) RecordVersion.inc.php (db record versioning system) ScriptTimer.inc.php (timer for scripts) SessionCache.inc.php (class for accessing a cache in a users session, stores any variables for quick retreival) SortOrder.inc.php (class dealing with sorting of columns in database generated lists) SpellCheck.inc.php TemplateGlue.inc.php (functions that generating html.) Upload.inc.php (class that manages uploading of files.) Utilities.inc.php (functions for general utility: setting defaults, num/string functions, etc.) services/ (codebase scripts that are only useful when web accessible, i.e. to be used in a doc root) admins.php css.php lock.php login.php logout.php logs.php password.php phpinfo.php templates versions.php ====================================================================================== Group of applications and related files, usually installed at /home/user/www.domain.com/ ====================================================================================== global/ (global level configuration and libraries for a group of sites/apps) config.inc.php (system-wide configuration) db_auth.inc.php (db-authentication for CLI scripts. chown'ed by user executing cron, NOT apache). docs/ (documents specific to a group of sites/apps) tei_db.mysql (db schema) bin/ (global level command-line scripts) admin/ (DocumentRoot for the admin application) _config.inc.php _templates/ (templates used for the admin docroot) _widgets/ (graphic elements used by the admin docroot) admins.php (list, view, edit, delete administrators) css.php (style sheets loader) index.php lock.php (manage locked db records) login.php (login to the admin system) logout.php (accessing logs-out an admin) logs.php (view logs) password.php (change password of currently logged-in admin) phpinfo.php versions.php (manage db record versions) html/ (DocumentRoot of main site application) _config.inc.php (configuration options and defaults specific to this site. included first in each script.) _templates/ (site specific templates. templates here override global codebase templates with same name) css.php (style sheets loader)