Forum OpenACS Development: Porting Question

Collapse
Posted by Charles Mok on
I'm completely new to openAcs. Please correct me if I am wrong. Thanks

I'm trying to port a package.
By reading the documentation for openAcs 4, query extractor will
extract all the queries found in the tcl files to either
-oracle.xql or -postgreSQL.xql or the generic xql. In load time, the
query dispatcher will load up the most "specific" xql to the cache.

I've look at some of the ported packages, and noticed the queries
were still in the tcl file (and they are exist in the xql file as
well), so can somebody explain?

And finally, as mention above all query should keep in xql and NOT in
tcl. If I am correct on this, how do I invoke the query kept in the
xql file.

Thanks

Collapse
Posted by Don Baccus on
If you're trying to port a package, you should e-mail me and let me know what you're working on.  I'm coordinating the porting effort and we need to communicate in order to avoid duplicate effort.

We aren't removing queries from the Tcl files at this point in time, though we probably will later.  The query dispatcher is invoked by the  database api routines causing the queries in the Tcl files to be ignored.

Collapse
Posted by Charles Mok on
Thanks for your answer.

My supervisor have already notify you the package I would be porting.

Collapse
Posted by Don Baccus on
Obviously I'm missing something - who's your supervisor?
Collapse
Posted by Charles Mok on
Rafael Calvo