Skip to content

Unify different technical terms - #880

Merged
shadowhand merged 1 commit into
php-fig:masterfrom
schnittstabil:tweak-wording
Feb 13, 2017
Merged

Unify different technical terms#880
shadowhand merged 1 commit into
php-fig:masterfrom
schnittstabil:tweak-wording

Conversation

@schnittstabil

@schnittstabil schnittstabil commented Feb 7, 2017

Copy link
Copy Markdown
Contributor

In my opinion, a standard should use as few technical terms as possible to not confuse implementers (this PR supersedes http-interop/http-middleware/pull/59).

It unifies different technical terms (process, handle, execute and dispatch):

  1. requests and responses are processed
  2. middleware dispatchers and delegates (of dispatchers) dispatch middlewares
process aligns with the method names and the wording introduced by @weierophinney at middleware-meta.md (#878):

Why the term "delegate"?

[…] the delegate then processes the request […]

dispatch aligns with the wording chosen at middleware.md:

1.1 Dispatchers

An HTTP middleware dispatcher is an object […]


@weierophinney I've replaced some of the wording you've recently introduced, please take a look.

- Requests and responses are processed.
- Middleware dispatchers dispatch middlewares.
@michaelcullum

michaelcullum commented Feb 11, 2017

Copy link
Copy Markdown
Member

@php-fig/psr-15

@shadowhand

shadowhand commented Feb 13, 2017

Copy link
Copy Markdown
Contributor

👍

Approved with PullApprove

@shadowhand
shadowhand merged commit 1ec9751 into php-fig:master Feb 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants