> > I don't know if MVC is the best approach. I'm more interested in DCI.
My understanding is that DCI is not an alternative to MVC but a complement. > With MVC your view and controller have to know how the data is stored, and > that's why we're in this mess in the first place with loading the models > every time. With DCI, you don't need the "models" loaded every time. > In web2py (and MVC in general), you don't need all the models loaded every time either. The way web2py works, it happens to execute all the model files on every request by default, but this is not essential. Model files can be executed conditionally depending on the controller/function, and they can be put in modules and imported as needed as well. Anthony