Changeset 334 for trunk/docs


Ignore:
Timestamp:
May 13, 2008 4:14:53 AM (16 years ago)
Author:
quinn
Message:

Fixed lots of misplings. I'm so embarrassed! ;P

Location:
trunk/docs
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/codebase_v1-to-v2_upgrade_checklist.txt

    r256 r334  
    2323   
    2424   
    25 3. $CFG-> variables are gone. Most of these should be converted into their $app and $auth equivelents. If a $CFG variable is NOT something used by the codebase but is still needed by the website application, I suggest converting these values to a $cfg array. For example, this:
     253. $CFG-> variables are gone. Most of these should be converted into their $app and $auth equivalents. If a $CFG variable is NOT something used by the codebase but is still needed by the website application, I suggest converting these values to a $cfg array. For example, this:
    2626
    2727    $CFG->gallery_images_url = '/gallery_images';
     
    3535    "{$cfg['gallery_images_url']}/my/path".
    3636   
    37 If the value used is now to be retreived from a $object->getParam(...) method call, youll need to do this:
     37If the value used is now to be retrieved from a $object->getParam(...) method call, you'll need to do this:
    3838
    3939    $object->getParam('gallery_images_url') . '/my/path'
     
    4848    <a href="<?php echo $app->ohref("/my/file.php"); ?>">
    4949   
    50 (In otherwords, the URL should be a not-fully-qualified URL starting with a slash.)
    51 
    52 
    53 // 5. Expect formatting incosistencies! When doing global search-replace expect whitespace to be erratic, variable names to change, and lines to be otherwise inconsistent. Here's a good example of a safe way to match a line:
     50(In other words, the URL should be a not-fully-qualified URL starting with a slash.)
     51
     52
     53// 5. Expect formatting inconsistencies! When doing global search-replace expect whitespace to be erratic, variable names to change, and lines to be otherwise inconsistent. Here's a good example of a safe way to match a line:
    5454
    5555Searching for "$CFG->ssl_domain = 'www.example.com';":
  • trunk/docs/coding_standards.txt

    r293 r334  
    234234            return true;
    235235        } else {
    236             // To be valid email address must match regex and fit within the lenth constraints.
     236            // To be valid email address must match regex and fit within the length constraints.
    237237            if (preg_match($this->getParam('regex'), $email, $e_parts) && mb_strlen($e_parts[2]) < 64 && mb_strlen($e_parts[3]) < 255) {
    238238                return true;
  • trunk/docs/examples/db_auth.inc.php

    r316 r334  
    33* The credentials here are to be loaded only by command-line scripts executed
    44* on the command line or via cron. This script should be not be readable by apache.
    5 * Ownershipt should be the web owner, with only user-readbility, such as:
     5* Ownership should be the web owner, with only user-readability, such as:
    66* -rw-------@  1 bob  bob   416 Mar 10 16:59 global/db_auth.inc.php
    77*/
  • trunk/docs/examples/virtualhost_directive.conf

    r288 r334  
    88    SetEnv DB_USER user_asdf
    99    SetEnv DB_PASS pass_asdf
    10     SetEnv SIGNING_KEY wekgbb92e2397g3r293gh
     10    SetEnv SIGNING_KEY kjhu3hf4gpoh2p9fgh8223t8h120
    1111    <Directory "/home/user/www.example.com">
    1212        php_admin_value open_basedir "/home/user/www.example.com:/usr/local/lib/php:/tmp"
  • trunk/docs/file_layout.txt

    r214 r334  
    11Updated: 11 Dec 2006 16:25:10
     2(This document is probably out-of-date.)
    23=====================================================================
    34
     
    4243        Auth_SQL.inc.php (sql-based authentication system)
    4344        AuthorizeNet.inc.php (routines for connection to authorize.net's advanced processing interface)
    44         Cache.inc.php (provides session-based caching functionality for quick retreival of all PHP data types)
     45        Cache.inc.php (provides session-based caching functionality for quick retrieval of all PHP data types)
    4546        CSS.inc.php (manage and deliver CSS data)
    4647        DB.inc.php (minimal database abstraction layer)
     
    4950        FormValidator.inc.php (validation routines used to test incoming user data)
    5051        Google_API.inc.php (class for connecting to, querying, and dealing with data of the Google API)
    51         Heirarchy.php (class for manipulation of heirarchies)
     52        Heirarchy.php (class for manipulation of hierarchies)
    5253        Image.inc.php (manage printing of images related to db records)
    5354        ImageThumb.inc.php (automated image thumbnailing routines)
     
    5556        MCVE.inc.php
    5657        Navigation.inc.php (navigation element management class))
    57         PageNumbers.inc.php (class for managing and printing various elements of page numbers and pagenation)
     58        PageNumbers.inc.php (class for managing and printing various elements of page numbers and pagination)
    5859        PageSequence.inc.php (manage a sequence of steps and data from step form elements, like order checkout or signup)
    5960        PayPal.inc.php
    6061        PEdit.inc.php (page-by-page file-based content management system)
    61         Prefs.inc.php (class for semi-permenent storage of values)
     62        Prefs.inc.php (class for semi-permanent storage of values)
    6263        ScriptTimer.inc.php (timer for scripts)
    6364        SortOrder.inc.php (class dealing with sorting of columns in database generated lists)
     
    109110    versions.php (manage db record versions)
    110111
    111 html/(DocumentRoot of main site application)
     112html/ (DocumentRoot of main site application)
    112113    _config.inc.php (configuration options and defaults specific to this site. included first in each script)
    113114    _templates/ (site specific templates. templates here override global codebase templates with same name)
  • trunk/docs/version.txt

    r246 r334  
    1 2.1.2dev
     12.1.3dev
Note: See TracChangeset for help on using the changeset viewer.