Hi all I want to write a FileStorage service object with following features - should be configured on the start of the application - should be accessible from the any controller - have only one instance
What is the best way to do that? >From the top of my head I can create some singleton and init it in load_environment, but due to my little experience with python/pylons frameworks I believe that there should exist better strategies. In Java I always used IoC [http://en.wikipedia.org/wiki/ Inversion_of_control] that does the job. Would like to hear about something similar with pylons --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
