Admun's NUDN

admun

  • San Francisco, CA

Navigation

Navigation

Categories

In the Beginning, there is index.php...

When Nucleus receives a request, here's what it went through:

  • index.php
    • set $CONF['Self']
    • include config.php
      • setup MySQL and path env variables
      • include globalfunctions.php
        • setup global variables
        • defined various global/utility functions
        • setup PHP error reporting
        • include vars functions (vars4.*.php)
        • initialize various in-coming HTTP variables (ie $blogid, $catid, etc.)
        • sent HTTP header for Generator
        • load and initialize core classes: MANAGER, MEMBER, ACTIONLOG, PLUGIN
        • load optional classes (only if needed): XML-RPC, ADMIN
        • setup MySQL connection
        • perform login/authenication
        • trigger PostAuthentication event
        • include more core classes: PARSER, SKIN, TEMPLATE, BLOG, COMMENTS, COMMENT, ITEM, NOTIFICATION, BAN, PAGEFACTORY, SEARCH
        • set lastVisit cookie
        • load lang file
        • update various in-coming HTTP variables
        • initialize ItemURL, ArchiveURL, ArchiveListURL, MemberURL, SearchURL, BlogURL, CategoryURL with $CONF['Self']
        • set URLMode (either normal or pathinfo)
    • call selector()
      • handle site disable
      • setup $skintype and related variables based on HTTP Var exists
      • setup $blogid, $catid, $skinid
      • call SKIN::parse()

13:58:39 on 07/13/04 by Admun - Category: Code Traces - tags: none - print

Comments

hcgtv wrote:

Awesome insight, I like it.

Backup your database smile

07/13/04 16:32:53

Admun wrote:

will do. cool

07/13/04 19:08:59

karma wrote:

nice!

07/14/04 13:54:00

Add Comments