Forum OpenACS Development: File naming conventions ...

Collapse
Posted by Don Baccus on
Now that I've worked on the APM a bit I realize that it uses file
extensions and naming conventions to determine file semantic (data
model creation, dropping, tcl library files, etc).

Ben's first query files were named .sql but the APM likes to think of
all .sql files as being datamodel related.  I could kludge the APM to
recognize query files by their place in the tree, but rather than do
that we've tentatively chosen ".xql" as a unique extension to denote
XML+SQL query files.

Anyone have a problem with ".xql"?

Database-specific query files will be named [filename]-postgresql.xql
or [filename]-oracle.xql, etc.

Kapil's working on his "query puller" so Kapil take note!