Forum OpenACS Q&A: Re: Some tips about XoTcl development best practices
The head version of nsf/nx/xotcl2 will be released quite soon.
There is something else that I still can't figure:
In apy doc, if i look at ::xo::db::sql::acs_attribute I get in the source code something that seems it has been auto-generated.
api-doc states that such method is defined in packages/xotcl-core/tcl/05-db-procs.tcl, but I can't grasp how: the code I can find there calls such proc, but the real definition seems to come from somewere else.
::xo::db::sqlnamespace is generated. By calling e.g.
one is calling actually in an postgres installation the stored procedure
This interface is much faster than the usual OpenACS interface and allows to handle defaults for attribtues, give error messages about expected attributes, etc.
btw, i've updated xotcl-core once more, it should be now more backwards compatible (not tested), so you might not have to update nsf/nx.
all the best