Aaron Swartz wrote: > Yes. cirfu wrote: > does webpy support model-view-controller design? > well if I can disagree with the author, I'll say mostly. code.py acts like the controller and template files (under /templates) are the views. There is no "model" per say - I've had to create my own model.py file since webpy doesn't provide one (although webpy allows you to add an ORM or just a model.py). In the model.py file I add the db connection and create a class for each table - in each class I add the CRUD type methods
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
