Welcome Guest, Not a member yet? Register   Sign In
Route Middleware
#2

(This post was last modified: 06-25-2016, 09:19 PM by ciadmin.)

Hmm - loaded question. By any conventional or enterprise definition, CodeIgniter *is* middleware.

There is, however, PSR-7 (HTTP message interfaces) and/or PSR-15 (HTTP middleware) from PHP-FIG.

These are not the same thing!

We have discussed this in the council, and do not feel that PSR-7 is consistent with CodeIgniter's goals of being lightweight. CodeIgniter is intended to be extensible, however, and there is nothing to stop a developer from adding a PSR-7 implementation or bridge to their application.

Bottom line: there are no plans to implement PSR-7 in CodeIgniter 4.
Reply


Messages In This Thread
Route Middleware - by albertleao - 06-25-2016, 09:01 PM
RE: Route Middleware - by ciadmin - 06-25-2016, 09:19 PM
RE: Route Middleware - by albertleao - 06-25-2016, 09:32 PM
RE: Route Middleware - by kilishan - 06-25-2016, 09:48 PM
RE: Route Middleware - by albertleao - 06-25-2016, 10:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB