Nick, On Jul 28, 2009, at 5:13 AM, Nick Johnson (Google) wrote:
> Hi Federico, > > I'm not sure I see the problem. Obviously each handler you write is > going to be imported and mapped somewhere. If you want to minimize > the size of your handler script, you can have an __init__.py module > in app.controllers that imports all controllers. You can also create > a custom metaclass for your handlers that automatically registers > them, if you wish. I was wondering if someone was doing something like auto-mapping of handler -> route like "ClientsHandler -> /clients, UsersHandler -> / users" and so on, that way you don't have to write routes for every handler (which feels like a lot of repetition to me). As far as the __init__.py part, I'll take a look. So far I don't have a good understanding of how that works but I'll give it a try. -- Federico --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
