[web2py] Why multiple controllers, models, and what to do with them?

2011-09-08 Thread Luca
I am new to web2py (I've been using Django), and I am confused about a couple of things. First, the presence of multiple controllers. I am trying to build a main app, called (say) www.example.com. So I would like to have something like www.example.com/index.html But if I use the default.py

Re: [web2py] Why multiple controllers, models, and what to do with them?

2011-09-08 Thread Kenneth Lundström
I am new to web2py (I've been using Django), and I am confused about a couple of things. Welcome to web2py. First, the presence of multiple controllers. Every time a function in the controller is called the whole file is compiled. By having smaller controller you get an faster application.

Re: [web2py] Why multiple controllers, models, and what to do with them?

2011-09-08 Thread Luca
Thank you, this is very helpful indeed. Luca