书栈网 · BookStack 本次搜索耗时 0.014 秒,为您找到 889 个相关结果.
  • Last Modified

    372 2019-09-21 《Slim 2 Document》
    A Slim application provides built-in support for HTTP caching using the resource’s last modified date. When youspecify a last modified date, Slim tells the HTTP client the d...
  • Rendering

    553 2019-09-21 《Slim 2 Document》
    Rendering Rendering You can use the Slim application’s render() method to ask the current view object to render a template with agiven set of variables. The Slim application’s...
  • PSR-7

    481 2019-09-21 《Slim 3 Document》
    PSR-7 and Value Objects Value objects PSR-7 and Value Objects Slim supports PSR-7 interfaces forits Request and Response objects. This makes Slim flexible because it canuse a...
  • Middleware

    1111 2019-09-21 《Slim 4 Documentation》
    Middleware What is middleware? How does middleware work? How do I write middleware? Closure middleware example. Invokable class middleware example How do I add middleware? App...
  • HTTP Caching

    665 2019-09-21 《Slim 3 Document》
    HTTP Caching Installation Usage ETag Expires Last-Modified HTTP Caching Slim 3 uses the optional standalone slimphp/Slim-HttpCache PHP componentfor HTTP caching. You can ...
  • Environment

    499 2019-09-21 《Slim 2 Document》
    Overview What is the Environment? Environment Variables Overview The Slim Framework implements a derivation of the Rack protocol . Whenyou instantiate a Slim application, it ...
  • Output

    408 2019-09-21 《Slim 2 Document》
    Output Output The Slim application’s environment will always contain a key slim.errors with a value that is a writableresource to which log and error messages may be written. ...
  • Flash Messages

    447 2019-09-21 《Slim 3 Document》
    Flash Messages Install Usage Flash Messages Install Via Composer $ composer require slim / flash Requires Slim 3.0.0 or newer. Usage // Start PHP session ses...
  • Headers

    421 2019-09-21 《Slim 2 Document》
    Headers Headers The HTTP response returned to the HTTP client will have a header. The HTTP header is a list of keys and values thatprovide metadata about the HTTP response. You...
  • 405 Not Allowed

    574 2019-09-21 《Slim 3 Document》
    405 Not Allowed Handler Default Not Allowed handler Custom Not Allowed handler 405 Not Allowed Handler If your Slim Framework application has a route that matches the current...