Hi Alex,
>> we have different xml files, translated to php and used only during make
>> (i.e. the language or image repository). These files are
>compiled to php and
>> stored in the build tree (regarding to the docs).
>
> First, because I can see the need potentially for admin
> tools that would need access to those arrays.
Hmm, thats a good point.
>Second, because I don't want to incur the overhead of
>re-parsing a set of _big_ xml files on every make -
>reading native php structures is _much_
>faster and I want make to be as fast as possible.
A even better point :-)
>> Ok, it's not pain in the a** to have them there and the only
>>advantage I see is for debugging purposes.
>
>How would there be an advantage for debugging if those
>files we not in the tree?
I meant the other way around. They can be used for debugging (i.e. look if
keys were translated right etc.) if they are there.
Ok, I learned it's better to have 'em :-)
Andi
|