On Friday, January 8, 2016 at 6:58:11 PM UTC-5, Alessio Varalta wrote:
>
> Ok. I love web2py and i create a big managment program for a client. I 
> think that the best point is that is simple. Only this last point for me is 
> not so good because for example now I use the module and class but i have a 
> controller with 10 functions and if i think in future to add new functions 
> is not so good and create another file without folder for separate a part 
> of these functions is not so good. This last part is not so intuitive but I 
> understand.
>

Not sure how many ways to say this, but you *can* organize your controller 
code into modules if you like. Then just create a basic controller that 
acts as a router, importing the relevant modules as needed. You could even 
skip the web2py controllers altogether and put your router in a model file.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to