Hi, first of all I have to say that web2py is the most easy to learn and understand python framework. Its all very intuitive and logical. Thanks a lot for that great piece of software!
I'm trying to use web2py with my existing mongoDB setup. I have read that the DAL rewrite for noSQL databases still need some time. Therefor I would like to know, what would be the best way to use a datastore like mongoDB with web2py? I'm know that all the cool auto generating forms will not work but where could be a hook to use another database? Basically I need to do the following: 1) On a new request open the DB connection 2) let all models use this connection for transactions 3) after the last model was called, close the connection Where would be a good place for opening and closing the connections? I would appreciated any help. Thanks a lot!