Open iontom opened 10 years ago
The trouble I had in splitting methods out of app.py is access to the "global" variables like GAMES. I know there is a way around this though.
A significant portion of app.py was gutted with latest merge. Consider revisiting this issue to see if it is still needed.
https://github.com/srackham/bottle-mongodb-example
Similar to that example, we already have the same design but it's almost all contained within app.py
Having separate files for the controller(routing) vs the Model (globals), and view (templating and functions that call the templating - ie pagemaker)
Not sure if this improvement is needed any time soon. But if team expands it may help make the code more organized