Forum OpenACS Development: Re: named objects

Collapse
5: Re: named objects (response to 1)
Posted by Dirk Gomez on
Is sorting out the categories in a TCL really faster than doing it in a SQL query? Why not store the whole category tree per language then? You don't have the TCL proc overhead per call then.
Collapse
6: Re: named objects (response to 5)
Posted by Timo Hentschel on
Not that easy. Could be that a category just got added to a tree and it hasn't been translated in all languages yet, so you have to provide a default. But maybe I'm just thinking too much of scenarious that won't happen too often. And you certainly shouldn't create a seperate category_id for every translation, but I guess that's pretty evident. And I certainly prefer doing some fast tcl code over executing nasty slow queries.