Global Heritage Network Site Architecture Documentation
Overview This document provides a detailed understanding of the code structure of the GHN site. Credentials to login, backup and modify the code will be provided by GHF. For further questions on any of these topics please contact oguzolcay@gmail.com.
A. Environment The GHN site is built on the LAMP stack. Version of the Linux environment can be obtained from the hosting account. We’re using Apache 2.1.2, and mod_rewrite is turned on to structure some of the KML urls. MySQL is version 5.1. The database is being backed up by the hosting company daily. PHP is version 5. For details around the PHP setup, please check: http://ghn.globalheritagefund.org/sys.php The php.ini file, which contains all the php environment settings, is located at at the web root (/ php.ini)
B. Database The database can be accessed through the hosting control panel. All the tables for the GHN website are stored under globamu1_ghn schema. Database connection parameters can be found under the /config folder. The following are the tables that are used for the codebase (dated 12-31-2011): Table name
Description
countries
Contains the standardized list of all countries. Developing countries are marked by the is_developing flag.
library_category
List of all categories for the document library. Categories are nested using the parent_id field.
library_document
List of all documents in the library, including the links. Some documents are mapped to site_ids.