Taylor J
Well-known member
I'm currently stuck on choosing how to implement comments into my blog addon and I'm stuck on two different implementations but I'm not sure what would be best for users/scale and decided to open up a discussion about it.
Implementation 1:
I can create my comments from scratch and insert them into a blog post while having them paginated (hopefully without page reloads) with a tiny editor at the top. I think with this way I would also have to implement quotes into the editor so users could quote each other just like normal, which while typing this up I believe I would as the quote bb code can only currently lead to posts so I would need to extend off of that / create a new quote bbcode to link to blogPost comments.
Implementation 2:
I take this the XFRM route and have each blogPost create a thread in a designated forum set in the addons options so that users can have a thread to comment with instead. With this way I would be also copying how Invision has their blogs setup currently where it will have a notice at the bottom saying "join the discussion on this blogPost" or something along those lines. If I go down this route I don't have to setup the logic for handling tags on blog posts as I could just have the saving process create a thread with tags and pull the tags from there.
How would other developers handle this? Users, which way works best for you? Or does anyone else have another idea by chance.
Implementation 1:
I can create my comments from scratch and insert them into a blog post while having them paginated (hopefully without page reloads) with a tiny editor at the top. I think with this way I would also have to implement quotes into the editor so users could quote each other just like normal, which while typing this up I believe I would as the quote bb code can only currently lead to posts so I would need to extend off of that / create a new quote bbcode to link to blogPost comments.
Implementation 2:
I take this the XFRM route and have each blogPost create a thread in a designated forum set in the addons options so that users can have a thread to comment with instead. With this way I would be also copying how Invision has their blogs setup currently where it will have a notice at the bottom saying "join the discussion on this blogPost" or something along those lines. If I go down this route I don't have to setup the logic for handling tags on blog posts as I could just have the saving process create a thread with tags and pull the tags from there.
How would other developers handle this? Users, which way works best for you? Or does anyone else have another idea by chance.