Difference between revisions of "Fed Website Architecture"

From Wikili
Jump to: navigation, search
Line 16: Line 16:
 
* categories
 
* categories
 
* buds
 
* buds
stored in /arthur/own/desk/MenuBarBora.php.  
+
stored as html file with ul and li in /arthur/own/desk/MenuBarBora.php.  
  
 
A page corresponds to the display of a section/categorie/bud.
 
A page corresponds to the display of a section/categorie/bud.
  
 
* All buds of the displayed category are clickable
 
* All buds of the displayed category are clickable
* All categories of a section are clickable
+
* All categories of the displayed section are clickable
* All sections are always available.
+
* All sections are allways available.
 +
 
 +
===a page is displayed by a centralized .php program===
 +
FedHTMLDocument.php (aujoud'hui encore GenoretHTMLDocument) according to the CSS stored in /arthur/own/css/bora/Bora.css.php

Revision as of 19:30, 22 March 2009

Fed Federating Data is a unique set of PHP programs displaying concurrently several websites (Fed instances).

We describe here the architecture of ONE website. Let's call it "arthur".

Main concepts

a relational SQL database

one database for our Fed instance (by default let's call it "arthur")

the fed shared php programs are in following directories

    • /arthur/Project
    • /arthur/phpRR
    • /arthur/phpLP

a hierarchical 3 levels tree organisation

  • sections
  • categories
  • buds

stored as html file with ul and li in /arthur/own/desk/MenuBarBora.php.

A page corresponds to the display of a section/categorie/bud.

  • All buds of the displayed category are clickable
  • All categories of the displayed section are clickable
  • All sections are allways available.

a page is displayed by a centralized .php program

FedHTMLDocument.php (aujoud'hui encore GenoretHTMLDocument) according to the CSS stored in /arthur/own/css/bora/Bora.css.php