Forum OpenACS Development: Re: xotcl and xql files

2: Re: xotcl and xql files (response to 1)
Posted by Gustaf Neumann on
the xql naming is not object orientation aware. xql was designed and implemented based with functions/procs, not with methods. if you want to use xql for now, the easiest thing is to use a small "classic oacs" ad_proc layer. It might also be possible to use manually constructed fully qualified query names (i.e. starting with "dbqd.").

btw., the upvar statements do not look like good oo style to me. From an oo point of view, one would create an quote object in memory with the appropriate instance variables bound to the returned variables from SQL.