appmap-ruby
packwerk
Our great sponsors
appmap-ruby | packwerk | |
---|---|---|
8 | 16 | |
96 | 1,494 | |
- | 2.7% | |
7.0 | 7.6 | |
3 days ago | 13 days ago | |
Ruby | Ruby | |
GNU General Public License v3.0 or later | 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.
appmap-ruby
-
Automatically Generate and Update OpenAPI Documentation
AppMap currently supports Ruby, Java, Python, and Javascript projects and the libraries are MIT licensed.
-
Add Swagger to your Rails project, with no code, in 2 ¹/₂ minutes
Yes, sure. I've added a link to the docs above, and the repo is here - https://github.com/applandinc/appmap-ruby
-
what ruby or rails open source projects a beginner-to-intermediate developer can easily contribute to?
Well, I’m definitely biased, but we welcome devs at all XP levels at the appmap project. Take a look. If you can’t find a good first issue @ Dan, Dustin, Kevin, or Petr in the Discord and someone will hook you up. https://github.com/applandinc/appmap-ruby We have needs from doc to core features!
-
Observability of software design - What it is and why it matters
In order to help make this a reality, we have created the open source AppLand Framework. The AppLand Framework includes components to:
-
4 ways to accelerate JSON processing with Rails and PostgreSQL
AppLand is an open source framework that developers can use to record, analyze, and optimize end-to-end code and data flows. The framework provides client agents for Ruby, Java and Python (beta) that record running code and generate JSON files called AppMaps. Users can view and analyze AppMaps locally using the AppMap extension for VS Code, and also push AppMaps to the AppLand server for analytics, sharing, discussion etc.
-
Effective SQL - Indexing and denormalizing JSONB
Now, what if you want to be able to efficiently fetch a subset of JSONB data, without having to load and parse every object? At AppLand, we store AppMap data in the database. Each AppMap has a mandatory section called metadata, and we want to be able to efficiently pull out the metadata of selected rows without having to parse the entire JSONB column (the metadata is usually less than 1% of the total JSON object). Awesomely, since PostgreSQL 12, PostgreSQL has a feature called generated columns.
-
How to watch your code interact with the Rails framework (and other gems)
Install the appmap gem by following the instructions in the README. Here's a quick checklist:
-
Why modularity matters - lessons from maintaining monoliths at scale
[3] AppLand framework, a tool to record, display, and analyze end-to-end code and data flows.
packwerk
-
Must-have gems for mature Rails
gem "packwerk" - https://github.com/Shopify/packwerk | Allows modularising Ruby code, a must-have for growing projects.
-
Keep the Monolith, but Split the Workloads
Yep, that article is about very similar concepts but grounded in Spring as the framework.
I like what they do around package imports and it looks a lot like what we do at incident.io, with some rules about which packages can import what.
For people in the Ruby world who want a similar solution, Shopify provide an open-source framework called packwerk that is designed just for this:
https://github.com/Shopify/packwerk
-
All you need is Rails (Engines): Compartmentalising your Monolith
I’d probably go with packwerk before rails engines these days
-
How to break up a rails monolith
https://github.com/Shopify/packwerk allows you to make dependencies between components explicit
- Best way to go about fragmenting a Monolithic Rails application into Microservices.
-
OOP vs. services for organizing business logic: is there a third way?
Packwerk – to enforce boundaries and modularize Rails applications
-
Organizing Rails files by meaning
Take a look at Packwerk from some folks at Shopify - gets you the benefits of naming some components for organizing boundaries in your code, with each component having the usual rails folder structure, but without the hard isolation restrictions of doing so with Engines.
-
How to edit a model from another controller
Nothing is stopping you from doing so except you (and maybe packwerk, but you very likely don't have that installed).
-
The advent of tooling for Big Rails
For me, the most important aspect of a growing Rails app is handling of complexity and interdependencies and turns out Shopify's packwerk is just what the doctor ordered - it leverages zeitwerk loader to improve on Rails' vanilla file structure, allowing to group files by business concept or sub-domain and control visibility and ownership.
-
Exploring DryRB - Intuition of Results
Let's set the stage right quick. You happen to be in a large Rails application that follows along with something like Packwerk to clearly delineate different packages in your Rails monolith. Let's say you have 100 packs, which is not particularly unusual with larger applications.
What are some alternatives?
Pry - A runtime developer console and IRB alternative with powerful introspection capabilities.
Solidus - 🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
AppMap - AppMap is the ultimate code reviewer for issues that static analysis and AI code assistants cannot find.
django-rq - A simple app that provides django integration for RQ (Redis Queue)
Ruby on Rails - Ruby on Rails
whitehall - Publishes government content on GOV.UK
sample_app_6th_ed - The main sample app for the Ruby on Rails Tutorial, 6th Edition
suture - 🏥 A Ruby gem that helps you refactor your legacy code
appland-cli - Command line interface for https://app.land
gitlab
chatwoot - Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬
awesome-rails - A curated list of awesome things related to Ruby on Rails