You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by "seba.wagner@gmail.com" <se...@gmail.com> on 2013/03/16 05:45:49 UTC
rename mail queue table
Hi Maxim,
I would propose to rename the table "email". I think it would make more
sense to call that table for example "message_queue" or "mail_queue" or
something like that.
A table "email" suggests to me that this table contains all emails of the
system. But actually its just the queue.
What do you think?
--
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com
Re: rename mail queue table
Posted by Maxim Solodovnik <so...@gmail.com>.
done:
the table is renamed to be "email_queue";
"last_error" field is added
On Sat, Mar 16, 2013 at 11:53 AM, seba.wagner@gmail.com <
seba.wagner@gmail.com> wrote:
> But I think its working really nice with that queuing.
> I just have not yet been able to test it on a server with working mail
> settings,
> but I can at least confirm that the errorCount works :))
>
> Sebastian
>
>
> 2013/3/16 seba.wagner@gmail.com <se...@gmail.com>
>
> And I would propose to write the last error/exception not only to the log
>> but also to a field in the database.
>> So for example "last_error".
>> For "non geeks" it might be easier to have a look in the database then to
>> read log files.
>> And for database columns I would propose that we stick to the standard
>> database naming pattern.
>>
>> In Java and JavaScript the naming pattern is
>> CamelWritingAlwaysFirstLetterBig
>> in C#, PHP, scripts, databases you would normally translate that to:
>> camel_writing_always_first_letter_big
>>
>> I think we have such tables and columns already, its not 100% consistent
>> but I would suggest that at least for new tables and columns we use that
>> naming convention.
>>
>> Sebastian
>>
>>
>> 2013/3/16 seba.wagner@gmail.com <se...@gmail.com>
>>
>> Hi Maxim,
>>>
>>> I would propose to rename the table "email". I think it would make more
>>> sense to call that table for example "message_queue" or "mail_queue" or
>>> something like that.
>>> A table "email" suggests to me that this table contains all emails of
>>> the system. But actually its just the queue.
>>>
>>> What do you think?
>>>
>>> --
>>> Sebastian Wagner
>>> https://twitter.com/#!/dead_lock
>>> http://www.webbase-design.de
>>> http://www.wagner-sebastian.com
>>> seba.wagner@gmail.com
>>>
>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com
>>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>
--
WBR
Maxim aka solomax
Re: rename mail queue table
Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
But I think its working really nice with that queuing.
I just have not yet been able to test it on a server with working mail
settings,
but I can at least confirm that the errorCount works :))
Sebastian
2013/3/16 seba.wagner@gmail.com <se...@gmail.com>
> And I would propose to write the last error/exception not only to the log
> but also to a field in the database.
> So for example "last_error".
> For "non geeks" it might be easier to have a look in the database then to
> read log files.
> And for database columns I would propose that we stick to the standard
> database naming pattern.
>
> In Java and JavaScript the naming pattern is
> CamelWritingAlwaysFirstLetterBig
> in C#, PHP, scripts, databases you would normally translate that to:
> camel_writing_always_first_letter_big
>
> I think we have such tables and columns already, its not 100% consistent
> but I would suggest that at least for new tables and columns we use that
> naming convention.
>
> Sebastian
>
>
> 2013/3/16 seba.wagner@gmail.com <se...@gmail.com>
>
> Hi Maxim,
>>
>> I would propose to rename the table "email". I think it would make more
>> sense to call that table for example "message_queue" or "mail_queue" or
>> something like that.
>> A table "email" suggests to me that this table contains all emails of the
>> system. But actually its just the queue.
>>
>> What do you think?
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com
>>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com
Re: rename mail queue table
Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
And I would propose to write the last error/exception not only to the log
but also to a field in the database.
So for example "last_error".
For "non geeks" it might be easier to have a look in the database then to
read log files.
And for database columns I would propose that we stick to the standard
database naming pattern.
In Java and JavaScript the naming pattern is
CamelWritingAlwaysFirstLetterBig
in C#, PHP, scripts, databases you would normally translate that to:
camel_writing_always_first_letter_big
I think we have such tables and columns already, its not 100% consistent
but I would suggest that at least for new tables and columns we use that
naming convention.
Sebastian
2013/3/16 seba.wagner@gmail.com <se...@gmail.com>
> Hi Maxim,
>
> I would propose to rename the table "email". I think it would make more
> sense to call that table for example "message_queue" or "mail_queue" or
> something like that.
> A table "email" suggests to me that this table contains all emails of the
> system. But actually its just the queue.
>
> What do you think?
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com