On 20 Nov 2005, at 19:47, James Bennett wrote:
I particularly like this example code for a Django app contained in a
single file:
I don't like this at all, mostly because I don't think it can scale;
the "single-file app" organization might work well for very simple
applications, especially if all they use is generic views, but
anything much more complex (e.g., an application with several custom
views, models with several extra functions and attributes each, custom
templatetags, etc.) could quickly become unmanageable.
I see it as an indicator of good architectural design rather than
something people should regularly use. The real reason it captured my
interest was that it reminded me of this post by Sam Ruby back when
he started getting interested in Rails:
http://www.intertwingly.net/blog/2005/08/09/Rails-Confidence-Builder
Cheers,
Simon