Where must i initialize a mongo connection in a Seaside application when I use Voyage ?
My application use the singleton mode of Voyage.�� What is the good place to create the singleton ?
�� * in the initialize class method of mySeaside root WAComponent (It will called one time when Seaside initialize the hosted applications)��
�� * in the instance method initialize of my Seaside root WAComponent (It will called each time that's a user start to use the application)
The second case seems to be better because the connection time is probably limited by Mongo or the connection could be broken.��
Someone have experimented good practices at this problematic ?
Best regards
Olivier ;-)