Skip to content

Presenter

Medium — good to knowArchitecture

ELI5 — The Vibe Check

A presenter takes raw data from your use case and formats it for display. The use case returns a User object, the presenter turns it into { displayName: 'John D.', avatar: '...', memberSince: '3 years ago' }. It's the makeup artist before the camera.

Real Talk

In Clean Architecture, a component that transforms use case output into a view-specific format (view model). The presenter separates presentation logic from business logic, allowing the same use case to serve different UIs (web, mobile, CLI) with different presenters. In MVC/MVP, the presenter mediates between the model and view.

When You'll Hear This

"The presenter formats the date, truncates the name, and calculates the relative timestamp — the use case doesn't care about display." / "Different presenters for web and mobile let us share the same use case logic."

Made with passive-aggressive love by manoga.digital. Powered by Claude.