Re: Personal messages
Reply #15 –
Shouldn't topics be like the topics table which means is_new should be a separate, per user, table? I like keeping the first message as the topic id. Makes sense.
Also makes sense to not add another attachments table. I do think that there needs to be a "link" table or two. This would make the attachments table more robust at least. You would have a msg_attach table and a pm_attach table which would just be pm_id, attach_id and msg_id, attach_id. Though, that might be another topic for discussion.
Re: Personal messages
Reply #16 –
There is no need to have that level of denormalization in the pm conversation tables. In fact, should make it an item to remove said denormalization in the main messages table. It breaks, often. Would like it to stop breaking.
Re: Personal messages
Reply #23 –
Everybody needs some focusing. No need to fix something that ain't broken should help.
Re: Personal messages
Reply #26 –
Yep and yep, from me.
In particular the second one is a pain to deal with.
Also, another thing that is blocking me is the way the messages are rendered in the template. At the moment they are following the Display_Controller trick loading the request in a global and using a function to loop through the callback in the template. Aggravated by the fact that there are two: one for the "discussions" and one for the messages...
Re: Personal messages
Reply #27 –
After finding a problem, the next step in development is to break it down in to smaller problems. Tackle it as one small problem at a time and commit those. I think that will help your momentum.
Re: Personal messages
Reply #29 –
If dropping all at once helps, I'd say do it. I don't think typical email clients do that (and thats kind of what PM's realy are) where as conversation and one at a time are normal.