Digging Deeper
Digging Deeper
The Digging Deeper section covers Wheels’ advanced features — the ones you reach for after the tutorial and The Basics have you building working apps. Each page is a task-oriented how-to, not a reference. Pick whichever topic matches what you need right now.
You’ll find:
- Authentication strategies and authorization filters
- Background jobs, caching, and email
- File uploads, server-sent events, internationalization
- Multi-tenancy, packages, CORS, rate limiting
- Advanced use of the dependency injection container and route model binding
All Digging Deeper guides
Section titled “All Digging Deeper guides” Authentication Patterns Session auth, JWT, and API tokens — rolling your own vs using built-in strategies.
Authorization & Filters Filters for access control — authentication gates, ownership checks, role rules, policies.
Background Jobs Queue work for asynchronous processing — retries, priorities, and the worker process.
Caching Action, fragment, view, and query caching — stores, keys, and invalidation.
Sending Email SMTP config, multi-part bodies, attachments, and async sends via background jobs.
File Uploads & Downloads Multipart uploads, storage backends, validation, and serving downloads safely.
Server-Sent Events Stream updates to the browser over plain HTTP — one-shot responses and long-lived streams.
Internationalization Locale detection, translation files, and formatting — the manual pattern and the roadmap.
Multi-tenancy Serve multiple tenants — three strategies, the TenantResolver middleware, per-request isolation.
Packages Activating first-party packages, writing your own, and the package.json manifest.
Debug Panel The built-in dev debug bar — request details, timing, params, packages, and developer tool links.
Route Model Binding Load records from the URL automatically — opt-in, global, and scope-level.
CORS Configure cross-origin requests — allowed origins, preflight, credentials, per-route.
Rate Limiting Throttle requests — three strategies, memory vs database storage, custom keying.
Dependency Injection Usage Practical DI patterns — test-double swapping, per-request resolvers, factories.
See also
Section titled “See also”- Core Concepts — the explanations behind what these guides show you how to do
- The Basics — the prerequisite how-tos for routing, controllers, models, views
- Testing — test each of these features