Re: Vardirlayout scenario
| Newsgroups | gmane.comp.cms.xaraya.devel |
|---|---|
| Organization | Xaraya |
| Message-ID | <[email protected]> |
jojodee wrote: > Hi Marc > > We have also been working on this for some time a... Thanks to Marcel's work the Jamaica codebase has few and easily identifiable entry points which makes shuffling the directory structure quite easy. In the scenario the location of the core and modules code is no longer relevant because configurable. At that point the question becomes: what else can we remove from the html dir. My own preference is to move everything I can out of the web root on the one hand, but on the other I don't like the idea of having site specific stuff in 2 places, one under the web root and one not. So my bent would be to move the remaining common stuff out, at least as a first step. From my pov that would mean locales and other "data" for one, which might lead to a "data" directory somewhere. I shied away from the issue in the scenario for now because it is an issue that comes into full play once there are more modules available for jamaica, giving us a bit more time to think about its structure. Useful procrastination, at least for me. On the other hand, I don't think I would move the themes directory out from html. There is nothing so site specific as a theme in my view. As to the code remaining in html: just as index.php is conceptually the "front controller" for Xaraya, bootstrap.php is the "backend controller", and to the degree that the backend is configurable, it seems to me that something like it (the sys class is the minimum) needs to be there. For the record the file is less than 15K, so it wouldn't be taking uo a lot of space. Marc