Skip to content

Files

Latest commit

5106897 · Nov 5, 2013

History

History
28 lines (21 loc) · 2.29 KB

whats_wrong_with_other_gems.md

File metadata and controls

28 lines (21 loc) · 2.29 KB

←   documentation

What's wrong with other gems?

Just look at Ruby-Toolbox. What we can see?

  • Acts as commentable with threading - so, guys, where is the render helper for the tree? There is no helper! Should I make render helper for tree by myself? Nooooo!!! I'm so sorry, but I can't use this gem.
  • acts_as_commentable - so, I can see code for models. But I can't see code for controllers and views. Unfortunately, there is no threading. It's not enough for me.
  • opinio - looks better, but there is no threading. I want to have more!
  • has_threaded_comments - Nice work! Nice gem! Models, controllers, views, view helper for tree rendering! But, last activity 2 years ago, I need few features, I think - I can make it better.

Why TheComments is better than others gems?

  1. TheComments allows for threaded comments
  2. Only TheComments has special helper for tree rendering (based on TheSortableTree).
  3. TheComments designed to reduce requests to database. I say about useful cache counters.
  4. TheComments has solution for building of Recent Comments (for polymorphic relations)
  5. TheComments designed for text preprocessors (Textile, Markdown, Sanitize, Coderay etc.)
  6. TheComments has admin UI based on bootstrap 3
  7. TheComments is "all-in-one" solutions.
    It has: Models and Controllers logic (via concerns), Generators, Views, Helper for fast Tree rendering and Admin UI.
  8. I'll try to help you via skype: ilya.killich, if you have problems with TheComments

TheComments based on:

  1. AwesomeNestedSet - for comments threading
  2. TheSortableTree - for fast rendering of comments tree
  3. State Machine - to provide easy and correct recalculation cache counters on states transitions