On 3/7/06, Jeff Marshall <[EMAIL PROTECTED]> wrote:
>
> +1 for the controllers/ and models/ subdirectory hierarchy.  Every time
> I create a new TG project, the first thing I do is create a
> controllers/ subdirectory.  I've only had one project that was small
> enough that I stayed within the single controllers.py file.

For a contrast: the reason quickstart looks the way it does is that I
figured that one would likely start organizing on application terms as
they expand beyond one controllers file. So, rather than creating a
controllers package, one might add an "admin.py" or the like to their
main project package... then, if that starts to get to be a bit much,
refactor into some other set of packages that makes sense for the app.

I bring that up for background, not to convince people or say that I'm
set on that.

When you create a controllers package, what's the name of the module
inside that package that you use when you start writing your actual
controllers classes?

Kevin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to