Cells

screenshot of Cells

View components for Ruby and Rails.

Overview:

CellsView Components is a part of the Trailblazer framework in Ruby and Rails, allowing users to encapsulate parts of their UI into components called view models or cells. These cells offer various features beyond just template rendering, including proper OOP, polymorphic builders, nesting, view inheritance, Rails helpers integration, asset packaging, distribution via gems, encapsulated testing, and caching.

Features:

  • Encapsulation: Parts of UI can be encapsulated into components.
  • Proper OOP: Supports Object-Oriented Programming principles.
  • Rails Integration: Works seamlessly with Rails helpers and functionalities.
  • Asset Packaging: Ability to bundle JS, CSS, or images.
  • Distribution: Can be distributed via gems or Rails engines.
  • Caching: Supports caching for improved performance.
  • Testing: Allows for easy testing of components.