Hello all I am working on a website and at this point it has gotten (relatively) large. Large enough to warrant separating main.py into several different files for easy management.
Additionally I am sharing a site with my friend who also will be using the comment system we developed (based heavily off of the Skeleton Code on webpy.org). I mention this because I want a comments.py module, so I can give it to anybody along with the appropriate templates and they could have a comment system (nearly) out of the box. Basically I would like to separate my huge main.py file into many others. In the example code, it is done rather elegantly, but all the applications are relatively simple and easy to separate. I am pretty experience in python itself, but creating modules is one of my weak points that I find hard to understand. I do have some experience with MVC but again, my understanding of that is limited and the few times I tried to use it I implemented it incorrectly/in a weird way/inefficiently. My main.py file is located at http://milogert.com/static/main.py.zip If anybody can direct me to a good resource for this or just post help directly (I realize it is a relatively involved subject), anything at all would be appreciated. -- You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en.
