Subject: Developers of Sympa
List archive
Re: [sympa-developpers] database connection pooling
- From: IKEDA Soji <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-developpers] database connection pooling
- Date: Wed, 12 Mar 2014 00:17:20 +0900
On Tue, 11 Mar 2014 12:38:10 +0100
Guillaume Rousse <address@concealed> wrote:
<<snip: discuss later again>>
> > BTW: The naming "Sympa::DatabaseManager" feels too long for me.
> > March of such as many "Sympa::DatabaseManager::quote(...)" can be
> > hard to read. I prefer to "Sympa::DBM", at least "Sympa::DBManager".
> Don't use cryptic abbreviation you're the only one to understand just
> for cosmetic reasons.
>
> A better solution is to simplify and rationalise the names currently
> used. It seems silly to have a 'DatabaseManager' concept, when you don't
> have a 'Database' one...
>
> And even better, use instance methods instead of functions:
> my $manager = Sympa::DatabaseManager::WhateverNameYouWant->new();
> $manager->quote();
I got it! With instantiation, my concern is groundless.
Regards,
--- Soji
--
株式会社 コンバージョン セキュリティ&OSSソリューション部 池田荘児
〒231-0004 神奈川県横浜市中区元浜町3-21-2 ヘリオス関内ビル7F
e-mail address@concealed TEL 045-640-3550
http://www.conversion.co.jp/
-
Re: [sympa-developpers] [sympa-commits] sympa[10373] branches/sympa-6.2-branch/src/lib: [bug] sympa. pl and other daemons crash when database access is gone, instead of keeping retry.,
IKEDA Soji, 03/06/2014
-
[sympa-developpers] database connection pooling,
Guillaume Rousse, 03/10/2014
-
Re: [sympa-developpers] database connection pooling,
IKEDA Soji, 03/11/2014
-
Re: [sympa-developpers] database connection pooling,
Guillaume Rousse, 03/11/2014
- Re: [sympa-developpers] database connection pooling, IKEDA Soji, 03/11/2014
-
Re: [sympa-developpers] database connection pooling,
Guillaume Rousse, 03/11/2014
-
Re: [sympa-developpers] database connection pooling,
IKEDA Soji, 03/11/2014
-
[sympa-developpers] database connection pooling,
Guillaume Rousse, 03/10/2014
Archive powered by MHonArc 2.6.19+.