Cool, something similar without passing the db instance to a class
constructor is done by gui2py. It also converts the helper objects to
wxPython

http://code.google.com/p/gui2py

gui2py aims to give a complete interface to run web2py applications on
wxPython desktop environment. I am using it in an ERP open source
project, http://code.google.com/p/gestionlibre

On Mar 10, 7:55 pm, Bruce Wade <bruce.w...@gmail.com> wrote:
> For anyone who is interested attached is a standalone class using DAL. It
> using a singleton for the database connection not sure if this is good or
> bad for all applications. However I am working on classes that will remain
> in memory.
>
> As long as gluon is in your python path you can test this file with: python
> body.py
> PS: Make sure to edit the database connection string
> --
> --
> Regards,
> Bruce 
> Wadehttp://ca.linkedin.com/in/brucelwadehttp://www.wadecybertech.comhttp://www.warplydesigned.comhttp://www.fitnessfriendsfinder.com
>
>  body.py
> 6KViewDownload

Reply via email to