Demimot uses:
- Smarty Template Engine - http://www.smarty.net
- Zurb Foundation responsive CSS - http://foundation.zurb.com/
How it's done:
- index.php - 'pré' front controller
- header.php - front controller
- css/pub_css.php - Load custom css from DB
- .htaccess - translate filename###.css into a call to pub_css.php?pub=###
- config/dmm_config.php - functions library and default donfiguration initialization vars
- smarty/templates/* - templates to be rendered by smarty
- smarty/libs/plugins/* - template functions
- Migrate to Symfony - Twig, etc?
- Remove data retrieving from template functions - must be handled by controllers
- define article object - article sections and componnents
- article components blocks, order, priority, mandatory... etc
- define article pubs relationships
$example = 3 + 2;