You shoudn't have a 'Thread' table. The first Comment is the start of
the Thread :-)


Martin wrote:
> > I'll probably be putting something reasonabley generic together over
> > the next couple months as I need it for a website I'm working on.  I
> > love metametaframeworks ;)
> >
> > If you can wait that long I'll release it, or be happy to discuss it
> > with you when I start going (and would love to see what you've got so
> > far in any case).
>
> What I have is not much more sophisticated than what is in the 20min
> wiki tutorial. My implementation is very raw! I will probably extend it
> a little just to make it good enough. I never created message group
> before by the way. My database schema looks a bit like:
>
> Group
>     id
>     name
>
> Thread
>     id
>     subject
>     group (many to one)
>
> Comment
>     id
>     subject
>     created
>     thread (many to one)
>     comment_body
>
> I am thinking that I may not use the TurboTinyMCE because perhaps it is
> easier to just use plain text. I stopped when i didn't know how to
> implement "repply with quote" with HTML data. By the way there is a
> flaw in the schema because the thread and the comment both have a
> subject string.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to