Subject: Developers of Sympa
List archive
Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools
- From: David Verdin <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools
- Date: Thu, 11 Jul 2013 18:00:27 +0200
Le 11/07/13 17:09, Guillaume Rousse a
écrit :
address@concealed">Le 11/07/2013 11:27, David Verdin a écrit ::-P I must have written too much java in my life... address@concealed">First of all: I love the way you named these modules. it's so much clearer than how I would have done it. Next time I create a module, i'll make sure to write to the list for organization / naming advice. Now my vote goes to B2 and B1. both. :-D I explain. We need to maintain both filesystem and SQL spools because we want to maintain bulk.pl on the filesystem. This mechanism works well since several years now, so I see no reason to get rid of it. B1 could then do the trick. But... We want to maintain a certain level of capability to query files from the spools. That means we need informations from these files. We obtain them through two mechanisms: 1- parse the file name 2- parse the file content For subscription requests, for example, the name of the subscription sender, as well as his gecos and custom attributes are locate in the file content, not its name. That means that we need to parse the file content if we want to search subscription requests from a praticular address. That's why I want to have different classes for different spools: they don't deal with the files waiting in spool exactly the same way, and I thought we could use subclasses to handle this disparity. So we could have that kind of hierarchy: Sympa::Spool::SQL Sympa::Spool::File::Task Sympa::Spool::File::Message Sympa::Spool::File::Key etc. Back to you! Cheers, David address@concealed"> |
Attachment:
smime.p7s
Description: Signature cryptographique S/MIME
-
[sympa-developpers] A designe discussion regarding the rool back to filesystem spools,
David Verdin, 07/11/2013
-
Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools,
Guillaume Rousse, 07/11/2013
- Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools, David Verdin, 07/11/2013
-
Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools,
IKEDA Soji, 07/12/2013
-
Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools,
David Verdin, 07/12/2013
- Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools, IKEDA Soji, 07/16/2013
-
Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools,
IKEDA Soji, 07/16/2013
-
Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools,
David Verdin, 07/17/2013
-
Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools,
IKEDA Soji, 07/18/2013
- Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools, David Verdin, 07/18/2013
- Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools, David Verdin, 07/18/2013
- Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools, David Verdin, 07/18/2013
-
Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools,
IKEDA Soji, 07/18/2013
-
Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools,
David Verdin, 07/17/2013
-
Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools,
David Verdin, 07/12/2013
- Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools, IKEDA, Soji, 07/12/2013
-
Re: [sympa-developpers] A designe discussion regarding the rool back to filesystem spools,
Guillaume Rousse, 07/11/2013
Archive powered by MHonArc 2.6.19+.