---
title: "Discussion on \"B2C Commerce SFRA Controllers and Middleware: Request Shape\" | Hashnode"
description: "Discussion on \"B2C Commerce SFRA Controllers and Middleware: Request Shape\". SFRA controllers replace SiteGenesis pipelines. Middleware composes the request lifecycle. The patterns are familiar from Express but the SFCC specifics decide whether your controller is two lines or two hundred."
url: "https://hashnode.com/posts/b2c-commerce-sfra-controllers-and-middleware-request-shape/6a53c61aeb47841d58ddabe2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [B2C Commerce SFRA Controllers and Middleware: Request Shape](https://sapotacorpvn.hashnode.dev/b2c-commerce-sfra-controllers-and-middleware-request-shape?utm_source=hashnode&utm_medium=feed)

SFRA controllers replace SiteGenesis pipelines. Middleware composes the request lifecycle. The patterns are familiar from Express but the SFCC specifics decide whether your controller is two lines or two hundred.

Jul 12 · 7 min read · sapotacorpvn.hashnode.dev  
Read the article

-   [#salesforce](https://hashnode.com/tag/salesforce)
-   [#b2c-commerce](https://hashnode.com/tag/b2c-commerce)
-   [#sfcc](https://hashnode.com/tag/sfcc)
-   [#sfra](https://hashnode.com/tag/sfra)
-   [#controllers](https://hashnode.com/tag/controllers)

## Written by

[SapotaCorp](https://hashnode.com/@sapotacorpvn)

@sapotacorpvn · Hanoi, Vietnam

  
[View profile](https://hashnode.com/@sapotacorpvn)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
