SimpleCommand
Cells
SimpleCommand | Cells | |
---|---|---|
3 | 7 | |
622 | 3,058 | |
0.0% | -0.0% | |
0.0 | 0.0 | |
8 months ago | 8 months ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SimpleCommand
-
Floyd's E-Commerce: from Squarespace to Solidus
In 2014, Floyd was lesser known as The Floyd Leg. Our website was on Squarespace for both its e-commerce solution and web hosting. A large part of our current success was realized by choosing to invest in a custom web application that’s built with Solidus. With our website no longer abstracted by a WYSIWYG ("What You See Is What You Get") editor, we partnered with Nebulab to handle full-stack web development. Solidus (Spree, at the time, before it was acquired, forked, and renamed) was recommended to power the e-commerce part of our application. The decision to go custom came after a successful Kickstarter campaign back in 2015 for the Floyd Legs—a set of four steel table legs that fastened onto any flat surface to quickly put a table together. We proved a market need for adaptable and sustainable furniture design. The co-founders, Kyle Hoff and Alex O’Dell, knew there were more product offerings on the roadmap as they championed Floyd to be the furniture solution for all apartment essentials. Fast forward to 2019, Floyd is seeking to be the furniture solution for the entire home worldwide.
-
SolidService - A service pattern with a simple API
Isn’t this similar to simple command?
-
Simple Command
Link to library
Cells
-
The Admin Framework for Minimalist
It can be used with Ruby on Rails or other frameworks because I implemented with trailblazer/cells.
-
Is ViewComponent the Future of Rails?
I agree, though cells does still have a larger following.
Better official documentation for cells: https://trailblazer.to/2.1/docs/cells.html
-
From partials to ViewComponents: writing reusable front-end code in Rails
So what about the world outside Rails defaults? There are quite a few independent projects trying to help build components in the Rails view layer, among the more famous being Draper (utilizing the decorators pattern) or Cells (full-featured components in views). In the end, we decided to take a deeper look into a relatively new one – the ViewComponent framework.
-
Cells - Introduction
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".
-
Why being a developer is frustrating — and why we do it anyway
This, combined with the fact that we are using cells gem for some view components, resulted in another couple of hours of hunting for the problem (it takes some time to debug what exactly and how exactly changed in Rails internals) and then fixing this problem. At this moment, I already spent over 8 hours debugging Rails internals, different gem internals, fixing application, fixing tests, screaming internally.
What are some alternatives?
Interactor - Interactor provides a common interface for performing complex user interactions.
Trailblazer - The advanced business logic framework for Ruby.
dry-transaction - Business transaction DSL
Amoeba - A ruby gem to allow the copying of ActiveRecord objects and their associated children, configurable with a DSL on the model
Mutations - Compose your business logic into commands that sanitize and validate input.
wisper - A micro library providing Ruby objects with Publish-Subscribe capabilities
Sequent - CQRS & event sourcing framework for Ruby
simple_active_link_to - Simple rails view helper to manage "active" state of a link
Decent Exposure - A helper for creating declarative interfaces in controllers
Responders - A set of Rails responders to dry up your application
Apotomo - MVC Components for Rails.