durusmail: quixote-users: q exports question
q exports question
2005-06-29
q exports question
David Driver
2005-06-29
I am relative new to Quixote and Druis. I have a question about
organizing URL's and code libraries. As an example say I want to build
an accounting system (this is my typical how can I arrange something
example) From the application root I want to split off into primary
domains with sub modules like:

AppRootDir\
    Model\
        AP\
            Vendor.py
    WebUI\
        SiteRoot.ptl
        AP\
            apRoot.ptl

In WebUI site root I have:


from quixote.directory import Directory
import model
import AR

class RootDirectory(Directory):

    _q_exports = ["","AR"]

    def _q_index [html] (self):
        '''blablabla'''

    AR = AR.getRootDir()

Is the above assignment (AR=AR.GetRootDir()) going to do weird things
ir is it just assigning an instance variable to the result get root
dir?



--

***********************************
See there, that wasn't so bad.
***********************************
reply