Ruby Abstraction

Open-source Ruby projects categorized as Abstraction

Top 23 Ruby Abstraction Projects

  • GitHub repo Trailblazer

    A High-Level Architecture for Ruby.

  • GitHub repo Cells

    View components for Ruby and Rails.

    Project mention: Cells - Introduction | dev.to | 2021-03-12

    GitHub has recently posted an article about view_component: https://github.blog/2020-12-15-encapsulating-ruby-on-rails-views/ Before it gets too popular I think I should share my experience with cells So that developers can have another chance to re-think and pick what to use for "encapsulated view components".

  • GitHub repo wisper

    A micro library providing Ruby objects with Publish-Subscribe capabilities

  • GitHub repo Interactor

    Interactor provides a common interface for performing complex user interactions.

    Project mention: When should you use callbacks? | reddit.com/r/rails | 2021-02-19

    There are lots of different libraries that you can use to organize/structure/enhance your "service objects", or you can just use plain old Ruby classes (as in the example above).

  • GitHub repo Responders

    A set of Rails responders to dry up your application

  • GitHub repo Decent Exposure

    A helper for creating declarative interfaces in controllers

  • GitHub repo ActiveInteraction

    :briefcase: Manage application specific business logic.

    Project mention: How can I ask the controller to ask another controller to call one of its actions? Without violating the SRP? | reddit.com/r/rails | 2021-01-22

    I prefer building "interactions" these days (specific, single-purpose "services" that are easily callable and composable), using https://github.com/AaronLasseigne/active_interaction

  • GitHub repo Mutations

    Compose your business logic into commands that sanitize and validate input.

  • GitHub repo Rails Event Store

    A Ruby implementation of an Event Store based on Active Record

  • GitHub repo dry-types

    Flexible type system for Ruby with coercions and constraints

  • GitHub repo Apotomo

    MVC Components for Rails.

  • GitHub repo Amoeba

    A ruby gem to allow the copying of ActiveRecord objects and their associated children, configurable with a DSL on the model

  • GitHub repo Waterfall

    A slice of functional programming to chain ruby services and blocks, thus providing a new approach to flow control. Make them flow!

  • GitHub repo Rectify

    Build maintainable Rails apps

  • GitHub repo Light Service

    Series of Actions with an emphasis on simplicity.

  • GitHub repo SimpleCommand

    A simple, standardized way to build and use Service Objects (aka Commands) in Ruby

  • GitHub repo Sequent

    CQRS & event sourcing framework for Ruby

  • GitHub repo dry-transaction

    Business transaction DSL

  • GitHub repo u-service

    Represent use cases in a simple and powerful way while writing modular, expressive and sequentially logical code.

  • GitHub repo Clowne

    A flexible gem for cloning models

  • GitHub repo PageletRails

    Improve perceived performance of your rails application with minimum effort

  • GitHub repo Surrounded

    Create encapsulated systems of objects and focus on their interactions

  • GitHub repo Smart Init - Simple service objects in Ruby

    A simple gem for eliminating Ruby initializers boilerplate code, and providing unified service objects API

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-03-12.

Index

What are some of the best open-source Abstraction projects in Ruby? This list will help you:

Project Stars
1 Trailblazer 3,151
2 Cells 2,978
3 wisper 2,921
4 Interactor 2,828
5 Responders 1,874
6 Decent Exposure 1,727
7 ActiveInteraction 1,559
8 Mutations 1,321
9 Rails Event Store 960
10 dry-types 683
11 Apotomo 662
12 Amoeba 631
13 Waterfall 595
14 Rectify 561
15 Light Service 561
16 SimpleCommand 496
17 Sequent 405
18 dry-transaction 336
19 u-service 286
20 Clowne 261
21 PageletRails 252
22 Surrounded 170
23 Smart Init - Simple service objects in Ruby 147