Hi,

I'm making a CRUD system that depending on the URL you access the
system, it uses different models.

For example, if you go to http://www.addressbook.com/ it uses the class
Address, and Person.
If you go to http://www.autoshop.com/ it uses Car, Customer, Sale, for
example.

What's the best way of doing this? In model.py? In controllers.py? Can
I have the classes ready (maybe with a controller for each URL)?

I could keep the classes in a dictionary in model.py and check for each
in controller.py, but I'm concerned about the speed issue.

Thanks,

Bernardo


--~--~---------~--~----~------------~-------~--~----~
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