Per Site Configuration & Data Repository
2005.10.06 12:32
The central data repository model was chosen to support an environment where templation could run on multiple domains from a single installation. An added benefit was the Templation-wide includes directory that means all your sites can share common elements.
There is also something confusing about having only one directory for all your templates, widgets and actions. The first idea was to be able to have per-directory data repositories, but that would incur a negative performance hit. I decided that one data repository per site would make a good compromise. So now Templation will search for a _data directory in the DOCUMENT_ROOT of every site.
This new data repository is entirely optional, and will only be used for templates, widgets, actions, and settings.php. The cache is still maintained in the central repository, and an includes folder would be redundant.
This improvement is complete and has already been checked into subversion.


