Monday 07 July 2008 8:20:09 am
Hi I can't answer to all your annoyances, but i'll reply to a few. After working with ez for nearly two years, I still have a similar list .. some of these are questions in the order of "why did they end up doing it like this" ? I'm afraid some of the answer will be historical - legacy - growing codebase - running apps - etc ..
> 2. There are additional location for the design folder under certain extension (e.g. the web
> interface)! This I think if not at all, at least not pay much attention in the docs. An extension
> as complex as the web interface can include packages, design, modules, settings...; but
> when install extension, the design are not copied into the main design folder, but as a sub
> folder under the extension. And, the template override system can recognize the design
> folder under activated extensions. Why not keep all the design in one place, after all we > can create sub folder for each design? This is actually a feature I like. Even for less experienced users, I would advice to build your whole site in an extension, right from the start. In the long run, this will give you much more rope to play with - you can eventually add php-logic (modules,views,etc) - right next to your templates. And that makes upgrading an extension, like the "webin" one, much easier. Just replace the old folder with a new one. Everything is in there. In which case, you can reverse the question, ofcourse; why are all those subfolders in the central 'design' folder not just nice, clean extensions ?
>3. Another is also regarding the "un-centralized" configuration file. Since extension can >have settings folder which also includes ini files. Will be a time that I need to modify >multiple files in different places but I forget one. Will this result hard to find configuration >"bug"? Same response; I like having the configuration of one extension inside the extension itself. But yes, it does result in the 'hard to find configuration bug' :-) However, you should only add settings specific to your extension inside those ini files, ofcourse - so they wouldn't be hard to find.
good luck .. *-pike
---------------
The class eZContentObjectTreeNode does.
|