Ruby
Web frameworks and tools for Ruby developers, from Rails to minimalist options
Considerações Importantes
- ✓ Convention over configuration preference
- ✓ Monolith vs microservices architecture
- ✓ Active Record vs other ORM patterns
- ✓ Frontend integration (Hotwire, React, etc.)
- ✓ Deployment and hosting options
ActionCable
ActionCable is Rails' integrated WebSocket framework that seamlessly adds real-time features to Ruby on Rails applications. It provides both server-side Ruby and client-side JavaScript frameworks for channels-based communication, with support for Redis and PostgreSQL adapters for multi-server deployments.
Grape
An opinionated framework for creating REST-like APIs in Ruby. Designed to run on Rack or complement existing frameworks like Rails and Sinatra.
Hanami
Modern Ruby web framework that is fast, testable, and follows clean architecture principles. Modular design with explicit dependencies.
Hotwire
HTML-over-the-wire approach combining Turbo and Stimulus. Build modern web apps without writing much JavaScript by sending HTML instead of JSON.
Roda
Routing tree web toolkit with a simple plugin system. Fastest Ruby web framework with tree-based routing for efficient request handling.
Ruby on Rails
Full-stack web application framework following MVC and convention over configuration. The original 'startup in a weekend' framework that pioneered modern web development patterns.
Sinatra
Lightweight DSL for quickly creating web applications in Ruby with minimal effort. Simple, flexible microframework for APIs and small apps.