Close Sidebar

What is middleware in Slim Framework?

+1 vote
3,226 views

It says

The Slim Framework implements a version of the Rack protocol. As a result, a Slim application can have middleware that may inspect, analyze, or modify the application environment, request, and response before and/or after the Slim application is invoked.

which means "something" to me. Like, it makes something to some things. Like middle in nowhere. Also it states that it is implementation of Rack protocol, something I have never heard in PHP.

Is there any practical use other than onions? What is the proper name of "middleware" in PHP?

asked Jul 6, 2013 by ugochimbo (860 points)

Please log in or register to answer this question.

  1. Login or Register

    Click to open login box. Login or register from here

  2. Search Box

    Click to open the search box. You can search within the site content here

  3. Hello Admin!

    You can reach to admin section by clicking on this navigation item

  4. Ask A Question

    Start asking a question by clicking on this navigation item

  5. Find All Recent Activities

    Here you can find all recent activities recent question, answer, comment etc

  6. Vote Question or Answer

    You can give up or down vote to the question or answer by clicking on respective arrow button

  7. Give Your Answer

    Click this button to give your answer to the question

  8. Add Comment

    To post comment click on the button

  9. Select Best Answer

    Consider the answer as the best answer for your question by clicking one to the tick

  10. Congratulations!!!

    Now you learn how to use site. Why don't you start to ask a question or provide some answer to the community!

...