[commits] [Wiki] changed: Doc/Dev/HordeHttpServer

Ralf Lang (B1 Systems GmbH) lang at b1-systems.de
Fri Jul 16 19:32:51 UTC 2021


rlang  Fri, 16 Jul 2021 19:32:51 +0000

Modified page: https://wiki.horde.org/Doc/Dev/HordeHttpServer
New Revision:  2
Change log:  Unsmash wikiwords

@@ -3,16 +3,16 @@
  Horde_Http_Server is the Horde 6 successor to  
((Doc/Dev/HordeController|Horde_Controller)) and the Horde Rampage MVC  
framework of Horde 5.
-It uses the PSR-compatible ServerRequest and Response implementations  
from ((Doc/Dev/HordeHttp|Horde_Http)).
+It uses the PSR-7 compatible !ServerRequest and Response  
implementations from ((Doc/Dev/HordeHttp|Horde_Http)).

  ++ Upgrading

-PreFilters and PostFilters have been redesigned to be PSR-15 Middleware.
-PreFilters are middleware which either returns their own response or  
modifies a request before returning it to the handler.
-PostFilters are middleware which modifies a Response created by a  
deeper layer of middleware or by the handler.
+!PreFilters and !PostFilters have been redesigned to be PSR-15 Middleware.
+!PreFilters are middleware which either returns their own response or  
modifies a request before returning it to the handler.
+!PostFilters are middleware which modifies a Response created by a  
deeper layer of middleware or by the handler.

  Controllers can be implemented either as Payload Request Handlers or  
as Middleware intended to be called last in the queue.

-The RequestConfiguration and SettingsExporter from the Controller  
Framework wired together Prefilters, Postfilters and Controller.
+The !RequestConfiguration and !SettingsExporter from the Controller  
Framework wired together !PreFilters, !PostFilters and Controller.
  They are now replaced by a special Request Handler, the  
!RampageRequestHandler. It holds a stack of Middlewares and optionally  
a single payload request handler.
  The middleware stack can be extended by processing layers of  
middleware. This allows us to delay initialisation of portions of the  
Horde framework which may be needed only later.

  ++ Understanding Middleware and Handler



More information about the commits mailing list