osCommerce Page Flow

December 6, 2007 by hejian


1. include application_top.php
1.1 Set the local configuration parameters
1.2 include server parameters
1.3 include the list of project filenames
1.4 include the list of project database tables
1.5 make a connection to the database.
1.6 set the application parameters
1.7 set the HTTP GET parameters manually if search_engine_friendly_urls is enabled
1.8 define general functions used application-wide
1.9 include shopping cart class
1.10 include navigation history class
1.11 check if sessions are supported, otherwise use the php3 compatible session class
1.12 start the session
1.13 create the shopping cart & fix the cart if necesary
1.14 include currencies class and create an instance
1.15 include the mail classes
1.16 set the language
1.17 Process shopping cart actions
1.18 auto expire special products
1.19 calculate category path
1.20 include the breadcrumb class and start the breadcrumb trail
1.21 initialize the message stack for output messages
2. include the page specific language definition file
3. output the page

Leave a Reply

You must be logged in to post a comment.

Wordpress template made by HeJian