framework test for larger websites.
* ELEMENTS
this framework consists of pages, libs and plugins.
a page is a php-files with the layout of the site. in here you can use plugins
to add functionality to the site. this is done by loading/rendering a plugin
using the global object framework of the class Framework.
plugins are php-classes derived from the class Plugin. they provide the funcionality
of the website, for example 'navigation' or 'poll'. in here libs can be used to
perform different, plugin-independend tasks.
libs are the 'backend' for this framework. they provide an api for the plugin-developers.
most common libs database-connectors or connectors to social-network-sites.
* OVERVIEW
** index.php
this script dispatches the requests.
** libs/
this is the directory for the libs.
** plugins/
php-classes represtenting plugins go here.
** pages/
the html-pages are in this directory.
** conf/
configurationfiles go here (database-connection, ...).
** styles/
directory for css-files.
* FLOW
the script index.php handles all the client-requests according to a link ($GET-variable).
index.php calls the correspoding page. in the page-code, the plugins are called.
plugins may or may not use libs to perform theyr tasks. after the page is successfully
rendered, index.php send back the html-file.