On Jun 10, 3:44 pm, Doug Warren <doug.war...@gmail.com> wrote: > On Thu, Jun 10, 2010 at 10:53 AM, Yarko Tymciurak > > <resultsinsoftw...@gmail.com> wrote: > > > More discussion, thoughts? > > > (maybe this should move to the web2py developer's thread?) > > As my request is still 'pending' I'd ask to keep the discussion here > so I can contribute.
...sounds good (errata: I think I should have written: ...feel like an old tête à tête ) SO - let me re-frame, return to something like a problem statement (since we've veered off into solutions, alternate solution proposals, critique of solution proposals, etc. etc. etc.) NOTE: Nature of the problem is that it is not changeable (so as to differentiate from solution). Here is what I think are the problem components, stated in this thread (please add any I may have missed): TOPIC: web2py models PROBLEM: - controlling loading order; - loading too many models at each request (e.g. - performance issue) - loading unneeded models at a request (i.e. want to be able to express controller dependencies) - backward compatibility Some proposed solution strategies: - exceptions used to load missing models; - a global dependency registry (several variations) - controller-local dependency declarations; ------ have I missed anything? - Yarko